AWS::EC2::TransitGatewayPeeringAttachment Tag - AWS CloudFormation

AWS::EC2::TransitGatewayPeeringAttachment Tag

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

Syntax

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

JSON

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

YAML

Key: String Value: String

Properties

Key

The tag key.

Required: No

Type: String

Update requires: No interruption

Value

The tag value.

Required: No

Type: String

Update requires: No interruption

Examples

This example specifies two tags for the transit gateway peering attachment.

JSON

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

YAML

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