Reference

CLI commands and EC2 API actions for transit gateway policy tables — quick lookup for scripts and troubleshooting.

On this page


PBR operations

Operation AWS CLI Command EC2 API Action Documentation
Create policy table aws ec2 create-transit-gateway-policy-table CreateTransitGatewayPolicyTable API reference
Delete policy table aws ec2 delete-transit-gateway-policy-table DeleteTransitGatewayPolicyTable API reference
Describe policy tables aws ec2 describe-transit-gateway-policy-tables DescribeTransitGatewayPolicyTables API reference
Associate policy table aws ec2 associate-transit-gateway-policy-table AssociateTransitGatewayPolicyTable API reference
Disassociate policy table aws ec2 disassociate-transit-gateway-policy-table DisassociateTransitGatewayPolicyTable API reference
Get policy table entries aws ec2 get-transit-gateway-policy-table-entries GetTransitGatewayPolicyTableEntries API reference
Get policy table associations aws ec2 get-transit-gateway-policy-table-associations GetTransitGatewayPolicyTableAssociations API reference

These API actions require appropriate IAM permissions. See the Walkthrough prerequisites for the minimum permission set.

Further reading

For a complete guide to Transit Gateway policy tables including limits, quotas, and feature updates, see the AWS Transit Gateway policy tables documentation.

Next: Overview →


Back to top

Walkthrough for jajera/tgw-policy-based-routing. AWS feature availability, limits, and behaviour can change — verify against current AWS documentation before relying on any claim here.

TGW PBR lab walkthrough