Class: Aws::EC2::Types::LaunchTemplateTagSpecificationRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::LaunchTemplateTagSpecificationRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
Note:
When making an API call, you may pass LaunchTemplateTagSpecificationRequest data as a hash:
{
resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
tags: [
{
key: "String",
value: "String",
},
],
}
The tags specification for the launch template.
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. Currently, the resource types that support tagging on creation are ‘instance` and `volume`. To tag a resource after it has been created, see CreateTags.
24796 24797 24798 24799 24800 |
# File 'lib/aws-sdk-ec2/types.rb', line 24796 class LaunchTemplateTagSpecificationRequest < Struct.new( :resource_type, :tags) include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
The tags to apply to the resource.
24796 24797 24798 24799 24800 |
# File 'lib/aws-sdk-ec2/types.rb', line 24796 class LaunchTemplateTagSpecificationRequest < Struct.new( :resource_type, :tags) include Aws::Structure end |