AWS::EC2::PlacementGroup Tag - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::EC2::PlacementGroup Tag

Specifies a tag. For more information, see Resource tags.

Syntax

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

JSON

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

YAML

Key: String Value: String

Properties

Key

The tag key.

Required: Yes

Type: String

Minimum: 1

Maximum: 128

Update requires: Replacement

Value

The tag value.

Required: Yes

Type: String

Minimum: 0

Maximum: 256

Update requires: Replacement

Examples

This example specifies two tags for the placement group.

JSON

"Tags" : [ { "Key" : "key1", "Value" : "value1" }, { "Key" : "key2", "Value" : "value2" } ]

YAML

Tags: - Key: "key1" Value: "value1" - Key: "key2" Value: "value2"