disable_vgw_route_propagation
¶
disable_vgw_route_propagation(
*,
config_overrides: Optional[EC2ClientConfig] = None,
gateway_id: Optional[VpnGatewayId] = None,
route_table_id: Optional[RouteTableId] = None,
dry_run: Optional[Boolean] = None,
) -> None
Disables a virtual private gateway (VGW) from propagating routes to a specified route table of a VPC.
Parameters:
-
gateway_id(Optional[VpnGatewayId], default:None) –The ID of the virtual private gateway.
-
route_table_id(Optional[RouteTableId], default:None) –The ID of the route table.
-
dry_run(Optional[Boolean], default:None) –Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To disable route propagation This example disables the specified virtual private gateway from propagating static routes to the specified route table.
Source code in docs_src/capo_ec2/_services/ec2.py
39561 39562 39563 39564 39565 39566 39567 39568 39569 39570 39571 39572 39573 39574 39575 39576 39577 39578 39579 39580 39581 39582 39583 39584 39585 39586 39587 39588 39589 39590 39591 39592 39593 39594 39595 39596 39597 39598 39599 39600 39601 39602 39603 39604 39605 39606 39607 39608 39609 39610 39611 39612 39613 39614 39615 | |