AWS::EC2::TransitGatewayVpcAttachment 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::TransitGatewayVpcAttachment 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

Update requires: No interruption

Value

The tag value.

Required: Yes

Type: String

Update requires: No interruption

Examples

This example specifies two tags for the VPC attachment.

JSON

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

YAML

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