AWS SDK for .NET Documentation
CreateVpnGateway Method (request)
Amazon ► Amazon.EC2 ► AmazonEC2 ► CreateVpnGateway(CreateVpnGatewayRequest)
Did this page help you? Yes No Tell us about it...
Creates a new VPN gateway.
Declaration Syntax

C#

    CreateVpnGatewayResponse CreateVpnGateway(
    	CreateVpnGatewayRequest request
    )

Parameters

request (CreateVpnGatewayRequest)
  Create Vpn Gateway request

Return Value
Create Vpn Gateway Response from the service
Remarks
A VPN gateway is the VPC-side endpoint for your VPN connection. You can create a VPN gateway before creating the VPC itself. AWS might delete any VPN gateway that you create with this operation if you leave it inactive for an extended period of time (inactive means that there's no VPN connection in use with the VPN gateway)
Exceptions

Exception | Condition
--- | ---
WebException |
AmazonEC2Exception |

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)