Class: Aws::EC2::Types::LaunchTemplateTagSpecificationRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::LaunchTemplateTagSpecificationRequest
- Defined in:
- gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb
Overview
The tags specification for the resources that are created during instance launch.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#resource_type ⇒ String
The type of resource to tag.
-
#tags ⇒ Array<Types::Tag>
The tags to apply to the resource.
Instance Attribute Details
#resource_type ⇒ String
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.
57398 57399 57400 57401 57402 57403 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57398 class LaunchTemplateTagSpecificationRequest < Struct.new( :resource_type, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
The tags to apply to the resource.
57398 57399 57400 57401 57402 57403 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57398 class LaunchTemplateTagSpecificationRequest < Struct.new( :resource_type, :tags) SENSITIVE = [] include Aws::Structure end |