HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/doc/awscli/examples/ec2/create-transit-gateway-route-table.rst
**To create a Transit Gateway Route Table**

The following ``create-transit-gateway-route-table`` example creates a route table for the specified transit gateway. ::

    aws ec2 create-transit-gateway-route-table \
        --transit-gateway-id tgw-0262a0e521EXAMPLE

Output::

    {
        "TransitGatewayRouteTable": {
            "TransitGatewayRouteTableId": "tgw-rtb-0960981be7EXAMPLE",
            "TransitGatewayId": "tgw-0262a0e521EXAMPLE",
            "State": "pending",
            "DefaultAssociationRouteTable": false,
            "DefaultPropagationRouteTable": false,
            "CreationTime": "2019-07-10T19:01:46.000Z"
        }
    }

For more information, see `Create a transit gateway route table <https://docs.aws.amazon.com/vpc/latest/tgw/tgw-route-tables.html#create-tgw-route-table>`__ in the *Transit Gateways Guide*.