Skip to content

/AWS1/CL_EC2=>CREATEVPNCONNECTIONROUTE()

About CreateVpnConnectionRoute

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.

Method Signature

IMPORTING

Required arguments:

IV_DESTINATIONCIDRBLOCK TYPE /AWS1/EC2STRING /AWS1/EC2STRING

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

IV_VPNCONNECTIONID TYPE /AWS1/EC2VPNCONNECTIONID /AWS1/EC2VPNCONNECTIONID

The ID of the VPN connection.