Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
Specifies a route table for a specified VPC. After you create a route table, you can add routes and associate the table with a subnet.
For more information, see Route Tables in the Amazon Virtual Private Cloud User Guide.
To declare this entity in your AWS CloudFormation template, use the following syntax:
TagsAny tags assigned to the route table.
Required: No
Type: List of Tag
Update requires: No interruption
VpcIdThe ID of the VPC.
Required: Yes
Type: String
Update requires: Replacement
When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the ID of the route table.
For more information about using the Ref function, see Ref.
The following example uses the VPC ID from a VPC named myVPC that was declared elsewhere in the same template.
"myRouteTable" : { "Type" : "AWS::EC2::RouteTable", "Properties" : { "VpcId" : { "Ref" : "myVPC" }, "Tags" : [ { "Key" : "foo", "Value" : "bar" } ] } }
myRouteTable: Type: AWS::EC2::RouteTable Properties: VpcId: Ref: myVPC Tags: - Key: foo Value: bar
CreateRouteTable in the Amazon EC2 API Reference
Route Tables in the Amazon VPC User Guide
Using Tags in the Amazon Elastic Compute Cloud User Guide