Skip to content

LaunchTemplateTagSpecificationRequest

Structure Class

LaunchTemplateTagSpecificationRequest dataclass

Bases: _SerdeShape

The tags specification for the resources that are created during instance launch.

Attributes

resource_type class-attribute 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 class-attribute instance-attribute
tags: list[Tag] | None = ...

The tags to apply to the resource.