Class: Aws::EC2::Types::LaunchTemplateTagSpecificationRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::LaunchTemplateTagSpecificationRequest
- Includes:
- Structure
- Defined in:
- 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].
[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
45547 45548 45549 45550 45551 45552 |
# File 'lib/aws-sdk-ec2/types.rb', line 45547 class LaunchTemplateTagSpecificationRequest < Struct.new( :resource_type, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
The tags to apply to the resource.
45547 45548 45549 45550 45551 45552 |
# File 'lib/aws-sdk-ec2/types.rb', line 45547 class LaunchTemplateTagSpecificationRequest < Struct.new( :resource_type, :tags) SENSITIVE = [] include Aws::Structure end |