View a markdown version of this page

Create a transit gateway policy table in Amazon Transit Gateway - Amazon VPC
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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
  1. Open the Amazon VPC console at https://console.amazonaws.cn/vpc/.

  2. In the navigation pane, under Transit gateways, choose Transit Gateway Policy Tables.

  3. Choose Create transit gateway policy table.

  4. For Transit gateway ID, select your transit gateway from the dropdown list.

  5. (Optional) Under Tags, add tags to help identify the policy table.

  6. 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" } }