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 |