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

Safe HaskellNone




Creates a virtual private gateway. A virtual private gateway is the endpoint on the VPC side of your VPN connection. You can create a virtual private gateway before creating the VPC itself.

For more information about virtual private gateways, see Adding a HardwareVirtual Private Gateway to Your VPC in the Amazon Virtual Private Cloud UserGuide.



Request constructor

createVpnGateway Source

CreateVpnGateway constructor.

The fields accessible through corresponding lenses are:

Request lenses

cvgAvailabilityZone :: Lens' CreateVpnGateway (Maybe Text) Source

The Availability Zone for the virtual private gateway.

cvgType :: Lens' CreateVpnGateway GatewayType Source

The type of VPN connection this virtual private gateway supports.


Response constructor

createVpnGatewayResponse :: CreateVpnGatewayResponse Source

CreateVpnGatewayResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

cvgrVpnGateway :: Lens' CreateVpnGatewayResponse (Maybe VpnGateway) Source

Information about the virtual private gateway.