Learn R Programming

paws.compute (version 0.7.0)

ec2_create_local_gateway_route: Creates a static route for the specified local gateway route table

Description

Creates a static route for the specified local gateway route table. You must specify one of the following targets:

See https://www.paws-r-sdk.com/docs/ec2_create_local_gateway_route/ for full documentation.

Usage

ec2_create_local_gateway_route(
  DestinationCidrBlock = NULL,
  LocalGatewayRouteTableId,
  LocalGatewayVirtualInterfaceGroupId = NULL,
  DryRun = NULL,
  NetworkInterfaceId = NULL,
  DestinationPrefixListId = NULL
)

Arguments

DestinationCidrBlock

The CIDR range used for destination matches. Routing decisions are based on the most specific match.

LocalGatewayRouteTableId

[required] The ID of the local gateway route table.

LocalGatewayVirtualInterfaceGroupId

The ID of the virtual interface group.

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.

NetworkInterfaceId

The ID of the network interface.

DestinationPrefixListId

The ID of the prefix list. Use a prefix list in place of DestinationCidrBlock. You cannot use DestinationPrefixListId and DestinationCidrBlock in the same request.