Skip to content

Disable Vgw Route Propagation

ec2_disable_vgw_route_propagation R Documentation

Disables a virtual private gateway (VGW) from propagating routes to a specified route table of a VPC

Description

Disables a virtual private gateway (VGW) from propagating routes to a specified route table of a VPC.

Usage

ec2_disable_vgw_route_propagation(GatewayId, RouteTableId, DryRun)

Arguments

GatewayId

[required] The ID of the virtual private gateway.

RouteTableId

[required] The ID of the route table.

DryRun

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 is UnauthorizedOperation.

Value

An empty list.

Request syntax

svc$disable_vgw_route_propagation(
  GatewayId = "string",
  RouteTableId = "string",
  DryRun = TRUE|FALSE
)

Examples

## Not run: 
# This example disables the specified virtual private gateway from
# propagating static routes to the specified route table.
svc$disable_vgw_route_propagation(
  GatewayId = "vgw-9a4cacf3",
  RouteTableId = "rtb-22574640"
)

## End(Not run)