ScopeProperty Struct Added in v2.278.0
The global tag scope of the managed conformance pack.
If specified, only resources with this tag key and value pair are in scope of the conformance pack.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_config as config } from 'aws-cdk-lib';
const scopeProperty: config.CfnConformancePack.ScopeProperty = {
tagKey: 'tagKey',
// the properties below are optional
tagValue: 'tagValue',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_config as config
scope_property = config.CfnConformancePack.ScopeProperty(
tag_key="tagKey",
# the properties below are optional
tag_value="tagValue"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.config.*;
ScopeProperty scopeProperty = ScopeProperty.builder()
.tagKey("tagKey")
// the properties below are optional
.tagValue("tagValue")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Config;
var scopeProperty = new ScopeProperty {
TagKey = "tagKey",
// the properties below are optional
TagValue = "tagValue"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
scopeProperty := &ScopeProperty{
TagKey: jsii.String("tagKey"),
// the properties below are optional
TagValue: jsii.String("tagValue"),
}
Properties
The tag key of the tag scope.
Only resources with this tag key are in scope of the conformance pack.
tagValueoptionalstringtag_valueoptionalstrtagValueoptionalStringTagValueoptionalstringTagValueoptional*string #The tag value of the tag scope.
If omitted, resources are in scope based on the presence of the tag key alone, regardless of its value.