AWS CloudFormation
User Guide (API Version 2010-05-15)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Go to the Kindle Store to download this guide in Kindle format.Did this page help you?  Yes | No |  Tell us about it...

AWS CloudFormation Resource Tags Type

The AWS CloudFormation Resource Tags property is used to apply user-defined tags to supported resource types in AWS CloudFormation. Tags can be used to help you identify and categorize resources for various purposes.

In addition to any tags you define, AWS CloudFormation automatically creates the following stack-level tags with the prefix "aws:":

  • aws:cloudformation:logical-id

  • aws:cloudformation:stack-id

  • aws:cloudformation:stack-name

All stack-level tags, including automatically created tags, are propagated to resources that support tagging. However, currently, tags are not propagated to Amazon EBS volumes that are created from block device mappings.

AWS CloudFormation supports tags for resources that support it. For more information, see individual resources in AWS Resource Types Reference.

Note

Tagging implementations might vary by resource. For example, AWS::AutoScaling::AutoScalingGroup provides an additional, required PropagateAtLaunch property as part of its tagging scheme.

Syntax

{
   "Key" : String,
   "Value" : String
}     

Properties

Key

The key name of the tag.

Required: Yes

Type: String

Value

The value for the tag.

Required: Yes

Type: String