AmazonEC2Client.DetachInternetGateway Method (DetachInternetGatewayRequest)

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...

Detaches an Internet gateway from a VPC, disabling connectivity between the Internet and the VPC. The VPC must not contain any running instances with elastic IP addresses. For more information about your VPC and Internet gateway, go to Amazon Virtual Private Cloud User Guide.

For more information about Amazon Virtual Private Cloud and Internet gateways, go to the Amazon Virtual Private Cloud User Guide.

Namespace: Amazon.EC2
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public virtual DetachInternetGatewayResponse DetachInternetGateway(
         DetachInternetGatewayRequest request
)

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5