Skip to content

Create Vpn Connection Route

ec2_create_vpn_connection_route R Documentation

Creates a static route associated with a VPN connection between an existing virtual private gateway and a VPN customer gateway

Description

Creates a static route associated with a VPN connection between an existing virtual private gateway and a VPN customer gateway. The static route allows traffic to be routed from the virtual private gateway to the VPN customer gateway.

For more information, see Amazon Web Services Site-to-Site VPN in the Amazon Web Services Site-to-Site VPN User Guide.

Usage

ec2_create_vpn_connection_route(DestinationCidrBlock, VpnConnectionId)

Arguments

DestinationCidrBlock

[required] The CIDR block associated with the local subnet of the customer network.

VpnConnectionId

[required] The ID of the VPN connection.

Value

An empty list.

Request syntax

svc$create_vpn_connection_route(
  DestinationCidrBlock = "string",
  VpnConnectionId = "string"
)