amazonka-ec2-1.3.1: Amazon Elastic Compute Cloud SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <>
Portabilitynon-portable (GHC extensions)
Safe HaskellNone




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 about VPN connections, see Adding a Hardware Virtual Private Gateway to Your VPC in the Amazon Virtual Private Cloud User Guide.

See: AWS API Reference for CreateVPNConnectionRoute.


Creating a Request

createVPNConnectionRoute Source

Creates a value of CreateVPNConnectionRoute with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

cvcrDestinationCIdRBlock :: Lens' CreateVPNConnectionRoute Text Source

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

Destructuring the Response

createVPNConnectionRouteResponse :: CreateVPNConnectionRouteResponse Source

Creates a value of CreateVPNConnectionRouteResponse with the minimum fields required to make a request.