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

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.CreateVpnGateway

Contents

Description

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.

http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-CreateVpnGateway.html

Synopsis

Request

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.

cvgDryRun :: Lens' CreateVpnGateway (Maybe Bool) Source

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.

cvgType :: Lens' CreateVpnGateway GatewayType Source

The type of VPN connection this virtual private gateway supports.

Response

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.