Skip to content

Tag

Structure Class

Tag dataclass

Bases: _SerdeShape

The Tag type enables you to specify a key-value pair that can be used to store information about an CloudFormation stack.

Attributes

key class-attribute instance-attribute
key: str | None = ...

A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services have the reserved prefix: aws:.

value class-attribute instance-attribute
value: str | None = ...

A string that contains the value for this tag. You can specify a maximum of 256 characters for a tag value.