GetTransitGatewayRouteTableAssociations
In this article:
GetTransitGatewayRouteTableAssociations#
Description#
Request to get the list of all existing transit gateway route table associations and their descriptions. One or more filters by parameters of a transit gateway route table association can be applied.
Request Parameters#
Required parameters#
TransitGatewayRouteTableId — The ID of the transit gateway route table.
Type: String
Required: Yes
Optional parameters#
Filter.N — One or more filters.
Type: List of Filter objects
Required: No
Supported Filters#
resource-id — The resource ID.
resource-type — The resource type (
vpc
).transit-gateway-attachment-id — The ID of the transit gateway attachment.
Response Elements#
requestId — The request ID.
Type: String
associations — Information about the transit gateway route table associations.
Type: List of TransitGatewayRouteTableAssociation objects
Examples#
c2-ec2 GetTransitGatewayRouteTableAssociations TransitGatewayRouteTableId tgw-rtb-12345678
c2-ec2 GetTransitGatewayRouteTableAssociations TransitGatewayRouteTableId tgw-rtb-12345678 Filter.0.Name resource-id Filter.0.Value vpc-12345678