AWS CloudFormation
User Guide (API Version 2010-05-15)

Amazon EC2 EC2Fleet TagSpecification

The TagSpecification property type specifies the tags to apply to a resource when the resource is being created for an EC2 Fleet.

TagSpecification is a property of the AWS::EC2::EC2Fleet resource.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "ResourceType" : String, "Tags" : [ Resource Tag, ... ] }

YAML

ResourceType: String Tags: - Resouce Tag

Properties

ResourceType

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

Required: No

Type: String

Update requires: No interruption

Tags

One or more tags. The value parameter is required, but if you don't want the tag to have a value, specify the parameter with no value, and we set the value to an empty string.

Required: No

Type: List of Resource Tag property types

Update requires: No interruption

See Also

On this page: