Skip to content

CloudFront  >  Structures  >  Tag

Tag

Structure Class

Tag dataclass

Bases: _SerdeShape

A complex type that contains Tag key and Tag value.

Attributes

key instance-attribute
key: str

A string that contains Tag key.

The string length should be between 1 and 128 characters. Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + @.

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

A string that contains an optional Tag value.

The string length should be between 0 and 256 characters. Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + @.