CfnTagOptionProps Struct
Properties for defining a CfnTagOption.
| Source |
|---|
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_servicecatalog as servicecatalog } from 'aws-cdk-lib';
const cfnTagOptionProps: servicecatalog.CfnTagOptionProps = {
key: 'key',
value: 'value',
// the properties below are optional
active: false,
};
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_servicecatalog as servicecatalog
cfn_tag_option_props = servicecatalog.CfnTagOptionProps(
key="key",
value="value",
# the properties below are optional
active=False
)
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.servicecatalog.*;
CfnTagOptionProps cfnTagOptionProps = CfnTagOptionProps.builder()
.key("key")
.value("value")
// the properties below are optional
.active(false)
.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.Servicecatalog;
var cfnTagOptionProps = new CfnTagOptionProps {
Key = "key",
Value = "value",
// the properties below are optional
Active = false
};
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"
cfnTagOptionProps := &CfnTagOptionProps{
Key: jsii.String("key"),
Value: jsii.String("value"),
// the properties below are optional
Active: jsii.Boolean(false),
}
Properties
activeoptionalboolean | IResolvableactiveoptionaltyping.Union[bool, IResolvable]activeoptionalBooleanActiveoptionalboolActiveoptionalinterface{} #The TagOption active state.
The TagOption key.
The TagOption value.