DescribeTransitGatewayRouteTables
In this article:
DescribeTransitGatewayRouteTables#
Description#
Request to get the list of all existing transit gateway route tables and their descriptions. One or more filters by transit gateway route table parameters can be applied.
Request Parameters#
Filter.N — One or more filters.
Type: List of Filter objects
Required: No
TransitGatewayRouteTableIds.N — The IDs of the transit gateway route tables.
Type: Array of strings
Required: No
Supported Filters#
state — The state of the transit gateway route table (
available
|deleting
).transit-gateway-id — The ID of the transit gateway.
transit-gateway-route-table-id — The ID of the transit gateway route table.
Response Elements#
requestId — The request ID
Type: String
transitGatewayRouteTables — Set of the transit gateway route tables.
Type: List of TransitGatewayRouteTable objects
Examples#
c2-ec2 DescribeTransitGatewayRouteTables
c2-ec2 DescribeTransitGatewayRouteTables Filter.0.Name state Filter.0.Value available
c2-ec2 DescribeTransitGatewayRouteTables Filter.0.Name default-association-route-table Filter.0.Value False