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

Amazon EC2 LaunchTemplate TagSpecification

The TagSpecification property type specifies the tags specification for an Amazon EC2 launch template.

TagSpecification is a property of the Amazon EC2 LaunchTemplate LaunchTemplateData property type.

Syntax

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

JSON

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

YAML

ResourceType: String Tags: - Tag

Properties

ResourceType

The type of resource to tag. Currently, the resource types that support tagging on creation are instance and volume.

For a list of valid values, see LaunchTemplateTagSpecificationRequest in the Amazon EC2 API Reference

Required: No

Type: String

Update requires: No interruption

Tags

The tags to apply to the resource.

Required: No

Type: List of AWS CloudFormation Resource Tags

Update requires: No interruption

See Also

On this page: