Class: Aws::EC2::Types::TagSpecification
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::TagSpecification
- Defined in:
- gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb
Overview
The tags to apply to a resource when the resource is being created. When you specify a tag, you must specify the resource type to tag, otherwise the request will fail.
Valid Values
lists all the resource types that can be tagged.
However, the action you're using might not support tagging all of
these resource types. If you try to tag a resource type that is
unsupported for the action you're using, you'll get an error.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#resource_type ⇒ String
The type of resource to tag on creation.
-
#tags ⇒ Array<Types::Tag>
The tags to apply to the resource.
Instance Attribute Details
#resource_type ⇒ String
The type of resource to tag on creation.
63521 63522 63523 63524 63525 63526 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 63521 class TagSpecification < Struct.new( :resource_type, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
The tags to apply to the resource.
63521 63522 63523 63524 63525 63526 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 63521 class TagSpecification < Struct.new( :resource_type, :tags) SENSITIVE = [] include Aws::Structure end |