Menu
Amazon Elastic Compute Cloud
API Reference (API Version 2016-11-15)

TagSpecification

The tags to apply to a resource when the resource is being created.

Contents

ResourceType

The type of resource to tag. Currently, the resource types that support tagging on creation are fleet, instance, snapshot, and volume. To tag a resource after it has been created, see CreateTags.

Type: String

Valid Values: customer-gateway | dhcp-options | image | instance | internet-gateway | network-acl | network-interface | reserved-instances | route-table | snapshot | spot-instances-request | subnet | security-group | volume | vpc | vpn-connection | vpn-gateway

Required: No

Tags

The tags to apply to the resource.

Type: Array of Tag objects

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: