CreateTransitGatewayRouteTable
In this article:
CreateTransitGatewayRouteTable#
Description#
Request to create a transit gateway route table.
Request Parameters#
Required parameters#
TransitGatewayId — The ID of the transit gateway.
Type: String
Required: Yes
Optional parameters#
TagSpecifications.N — Tags assigned to the transit gateway route table to be created.
Type: List of TagSpecification objects
Required: No
Response Elements#
requestId — The request ID.
Type: String
transitGatewayRouteTable — Information about the transit gateway route table.
Type: TransitGatewayRouteTable object
Examples#
c2-ec2 CreateTransitGatewayRouteTable TransitGatewayId tgw-12345678 TagSpecifications.0.ResourceType transit-gateway-route-table \
TagSpecifications.0.Tag.0.Key tag_key TagSpecifications.0.Tag.0.Value tag_value