aws ec2 get-transit-gateway-attachment-propagations
Lists the route tables to which the specified resource attachment propagates routes. AWS CLI reference
1 example 5 options Its page in the AWS CLI reference
Examples
To list the route tables to which the specified resource attachment propagates routes
The following get-transit-gateway-attachment-propagations example lists the route table to which the specified resource attachment propagates routes.
aws ec2 get-transit-gateway-attachment-propagations --transit-gateway-attachment-id tgw-attach-09fbd47ddfEXAMPLEIdentify--transit-gateway-attachment-idThe ID of the attachment.Its output
{
"TransitGatewayAttachmentPropagations": [
{
"TransitGatewayRouteTableId": "tgw-rtb-0882c61b97EXAMPLE",
"State": "enabled"
}
]
}For more information, see Transit gateway route tables in the Transit Gateways Guide.
Options
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--filtersOne or more filters.--max-resultsThe maximum number of results to return with a single call.--next-tokenThe token for the next page of results.--transit-gateway-attachment-idThe ID of the attachment.