TagSpecification

data class TagSpecification(val resourceType: String? = null, val tags: List<LaunchTemplateTag>? = null)

Specifies the tags to apply to resources that are created during instance launch. `TagSpecification` is a property type of TagSpecifications. TagSpecifications is a property of AWS::EC2::LaunchTemplate LaunchTemplateData.

Constructors

Link copied to clipboard
constructor(resourceType: String? = null, tags: List<LaunchTemplateTag>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val resourceType: String? = null

The type of resource to tag. 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.

Link copied to clipboard

The tags to apply to the resource.