EC2 > Dictionaries > TagDict TagDict¶ Dictionary Type¶ TagDict ¶ Bases: TypedDict Dictionary form of Tag. Attributes¶ key instance-attribute ¶ key: str | None The key of the tag. Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:. value instance-attribute ¶ value: str | None The value of the tag. Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.