EC2.Client.
disable_vgw_route_propagation
(**kwargs)¶Disables a virtual private gateway (VGW) from propagating routes to a specified route table of a VPC.
See also: AWS API Documentation
Request Syntax
response = client.disable_vgw_route_propagation(
GatewayId='string',
RouteTableId='string',
DryRun=True|False
)
[REQUIRED]
The ID of the virtual private gateway.
[REQUIRED]
The ID of the route table.
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.None
Examples
This example disables the specified virtual private gateway from propagating static routes to the specified route table.
response = client.disable_vgw_route_propagation(
GatewayId='vgw-9a4cacf3',
RouteTableId='rtb-22574640',
)
print(response)
Expected Output:
{
'ResponseMetadata': {
'...': '...',
},
}