TagType

class aws_cdk.TagType(value)

Bases: Enum

ExampleMetadata:

infused

Example:

@jsii.implements(ITaggable)
class MyConstruct(Resource):

    def __init__(self, scope, id):
        super().__init__(scope, id)

        CfnResource(self, "Resource",
            type="Whatever::The::Type",
            properties={
                # ...
                "Tags": self.tags.rendered_tags
            }
        )

Attributes

AUTOSCALING_GROUP = 'AUTOSCALING_GROUP'
KEY_VALUE = 'KEY_VALUE'
MAP = 'MAP'
NOT_TAGGABLE = 'NOT_TAGGABLE'
STANDARD = 'STANDARD'