Skip to content

LaunchTemplateTagSpecificationRequestDict

Dictionary Type

LaunchTemplateTagSpecificationRequestDict

Bases: TypedDict

Dictionary form of LaunchTemplateTagSpecificationRequest.

Attributes

resource_type instance-attribute
resource_type: str | None

The type of resource to tag.

Valid Values lists all resource types for Amazon EC2 that can be tagged. When you create a launch template, you can specify tags for the following resource types only: instance | volume | network-interface | spot-instances-request. If the instance does not include the resource type that you specify, the instance launch fails. For example, not all instance types include a volume.

To tag a resource after it has been created, see CreateTags.

tags instance-attribute
tags: Sequence[Tag | TagDict] | None

The tags to apply to the resource.