TagType

class aws_cdk.core.TagType(value)

Bases: enum.Enum

Example:

import aws_cdk.core as cdk


class MyConstruct(cdk.Resourcecdk.ITaggable):

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

        cdk.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'