Kinesis > Structures > Tag Tag¶ Structure Class¶ Tag dataclass ¶ Bases: _SerdeShape Metadata assigned to the stream or consumer, consisting of a key-value pair. Attributes¶ key instance-attribute ¶ key: str A unique identifier for the tag. Maximum length: 128 characters. Valid characters: Unicode letters, digits, white space, _ . / = + - % @ value class-attribute instance-attribute ¶ value: str | None = ... An optional string, typically used to describe or define the tag. Maximum length: 256 characters. Valid characters: Unicode letters, digits, white space, _ . / = + - % @