Create a transit gateway policy table in Amazon Transit Gateway
Create a policy table and associate it with your transit gateway.
To create a transit gateway policy table using the console
Open the Amazon VPC console at https://console.amazonaws.cn/vpc/
. -
In the navigation pane, under Transit gateways, choose Transit Gateway Policy Tables.
-
Choose Create transit gateway policy table.
-
For Transit gateway ID, select your transit gateway from the dropdown list.
-
(Optional) Under Tags, add tags to help identify the policy table.
-
Choose Create transit gateway policy table.
The policy table enters a Pending state. Wait for the state to change to Available before proceeding.
To create a transit gateway policy table using the Amazon CLI
Use the create-transit-gateway-policy-table command. Replace
tgw-0bc994abffEXAMPLE with your transit gateway ID.
aws ec2 create-transit-gateway-policy-table \ --transit-gateway-id tgw-0bc994abffEXAMPLE
Example response:
{ "TransitGatewayPolicyTable": { "TransitGatewayPolicyTableId": "tgw-ptb-0ca78a549EXAMPLE", "TransitGatewayId": "tgw-0bc994abffEXAMPLE", "State": "pending" } }