aws-cdk-lib.TagType
enum TagType
Language | Type name |
---|---|
![]() | Amazon.CDK.TagType |
![]() | github.com/aws/aws-cdk-go/awscdk/v2#TagType |
![]() | software.amazon.awscdk.TagType |
![]() | aws_cdk.TagType |
![]() | aws-cdk-lib » TagType |
Example
class MyConstruct extends Resource implements ITaggable {
public readonly tags = new TagManager(TagType.KEY_VALUE, 'Whatever::The::Type');
constructor(scope: Construct, id: string) {
super(scope, id);
new CfnResource(this, 'Resource', {
type: 'Whatever::The::Type',
properties: {
// ...
Tags: this.tags.renderedTags,
},
});
}
}
Members
Name | Description |
---|---|
STANDARD | |
AUTOSCALING_GROUP | |
MAP | |
KEY_VALUE | |
NOT_TAGGABLE |