AWS::EC2::InternetGateway Tag
Specifies a tag. For more information, see Resource tags.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
Properties
Key
-
The tag key.
Required: Yes
Type: String
Minimum:
1
Maximum:
128
Update requires: No interruption
Value
-
The tag value.
Required: Yes
Type: String
Maximum:
256
Update requires: No interruption
Examples
This example specifies two tags for the internet gateway.
JSON
"Tags" : [ { "Key" : "key1", "Value" : "value1" }, { "Key" : "key2", "Value" : "value2" } ]
YAML
Tags: - Key: "key1" Value: "value1" - Key: "key2" Value: "value2"