aws ec2 disable-vgw-route-propagation
Disables a virtual private gateway (VGW) from propagating routes to a specified route table of a VPC. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To disable route propagation
The following disable-vgw-route-propagation example disables the specified virtual private gateway from propagating static routes to the specified route table.
aws ec2 disable-vgw-route-propagation --route-table-id rtb-22574640 --gateway-id vgw-9a4cacf3Identify--route-table-idThe ID of the route table.--gateway-idThe ID of the virtual private gateway.This command produces no output.
For more information, see Enable or disable route propagation in the Amazon VPC User Guide.
Options
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--gateway-idThe ID of the virtual private gateway.--route-table-idThe ID of the route table.