CmdID

CmdID / aws / aws ec2

aws ec2 get-transit-gateway-route-table-propagations

Gets information about the route table propagations for the specified transit gateway route table. AWS CLI reference

1 example 5 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To display information about the route table propagations for the specified transit gateway route table

The following get-transit-gateway-route-table-propagations example returns the route table propagations for the specified route table.

aws ec2 get-transit-gateway-route-table-propagations --transit-gateway-route-table-id tgw-rtb-002573ed1eEXAMPLEIdentify
--transit-gateway-route-table-idThe ID of the transit gateway route table.
Its output
{
    "TransitGatewayRouteTablePropagations": [
        {
            "TransitGatewayAttachmentId": "tgw-attach-01f8100bc7EXAMPLE",
            "ResourceId": "vpc-3EXAMPLE",
            "ResourceType": "vpc",
            "State": "enabled"
        },
        {
            "TransitGatewayAttachmentId": "tgw-attach-08e0bc912cEXAMPLE",
            "ResourceId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
            "ResourceType": "direct-connect-gateway",
            "State": "enabled"
        },
        {
            "TransitGatewayAttachmentId": "tgw-attach-0a89069f57EXAMPLE",
            "ResourceId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
            "ResourceType": "direct-connect-gateway",
            "State": "enabled"
        }
    ]
}

For more information, see Transit gateway route tables in the Transit Gateways Guide.

Options

5 in the AWS CLI reference
--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-route-table-idThe ID of the transit gateway route table.