C# Class Amazon.EC2.Model.AttachVpnGatewayRequest

Container for the parameters to the AttachVpnGateway operation. Attaches a virtual private gateway to a VPC. For more information, see Adding a Hardware Virtual Private Gateway to Your VPC in the Amazon Virtual Private Cloud User Guide.
Inheritance: AmazonEC2Request
Show file Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
AttachVpnGatewayRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

AttachVpnGatewayRequest ( string vpnGatewayId, string vpcId ) : System

Instantiates AttachVpnGatewayRequest with the parameterized properties

Private Methods

Method Description
IsSetVpcId ( ) : bool
IsSetVpnGatewayId ( ) : bool

Method Details

AttachVpnGatewayRequest() public method

Empty constructor used to set properties independently even when a simple constructor is available
public AttachVpnGatewayRequest ( ) : System
return System

AttachVpnGatewayRequest() public method

Instantiates AttachVpnGatewayRequest with the parameterized properties
public AttachVpnGatewayRequest ( string vpnGatewayId, string vpcId ) : System
vpnGatewayId string The ID of the virtual private gateway.
vpcId string The ID of the VPC.
return System