AWS SDK for .NET Documentation
AttachVpnGateway Method (request)
Amazon ► Amazon.EC2 ► AmazonEC2 ► AttachVpnGateway(AttachVpnGatewayRequest)
Did this page help you? Yes No Tell us about it...
Attaches a virtual private gateway to a VPC.
Declaration Syntax

C#

    AttachVpnGatewayResponse AttachVpnGateway(
    	AttachVpnGatewayRequest request
    )

Parameters

request (AttachVpnGatewayRequest)
  Attach Vpn Gateway request

Return Value
Attach Vpn Gateway Response from the service
Remarks
This is the last step required to get your VPC fully connected to your data center before launching instances in it.
Exceptions

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

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