aws ec2 enable-transit-gateway-route-table-propagation
Enables the specified attachment to propagate routes to the specified propagation route table. AWS CLI reference
1 example 4 options Its page in the AWS CLI reference
Examples
To enable a transit gateway attachment to propagate routes to the specified propagation route table
The following enable-transit-gateway-route-table-propagation example enables the specified attachment to propagate routes to the specified propagation route table.
aws ec2 enable-transit-gateway-route-table-propagation --transit-gateway-route-table-id tgw-rtb-0a823edbdeEXAMPLE --transit-gateway-attachment-id tgw-attach-09b52ccdb5EXAMPLEIdentify--transit-gateway-route-table-idThe ID of the propagation route table.--transit-gateway-attachment-idThe ID of the attachment.Its output
{
"Propagation": {
"TransitGatewayAttachmentId": "tgw-attach-09b52ccdb5EXAMPLE",
"ResourceId": "vpc-4d7de228",
"ResourceType": "vpc",
"TransitGatewayRouteTableId": "tgw-rtb-0a823edbdeEXAMPLE",
"State": "disabled"
}
}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.--transit-gateway-attachment-idThe ID of the attachment.--transit-gateway-route-table-announcement-idThe ID of the transit gateway route table announcement.--transit-gateway-route-table-idThe ID of the propagation route table.