Container for the parameters to the DetachInternetGateway operation.
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.
Inheritance Hierarchy
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public class DetachInternetGatewayRequest : AmazonWebServiceRequest IRequestEvents
The DetachInternetGatewayRequest type exposes the following members
Constructors
Name | Description | |
---|---|---|
![]() |
DetachInternetGatewayRequest() |
Properties
Name | Description | |
---|---|---|
![]() |
InternetGatewayId | The ID of the Internet gateway to detach. |
![]() |
VpcId | The ID of the VPC. |
Version Information
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8
.NET for Windows Phone:
Supported in: Window Phone 8