Attaches an Internet gateway to a VPC, enabling connectivity between the Internet and the VPC. For more information about your VPC and Internet gateway, go to the Amazon Virtual Private Cloud User Guide.
Namespace: Amazon.EC2
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public virtual AttachInternetGatewayResponse AttachInternetGateway( AttachInternetGatewayRequest attachInternetGatewayRequest )
Parameters
- attachInternetGatewayRequest
-
Type: Amazon.EC2.Model.AttachInternetGatewayRequest
Container for the necessary parameters to execute the AttachInternetGateway service method on AmazonEC2.
Version Information
.NET Framework:
Supported in: 4.5, 4.0, 3.5