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.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class DetachInternetGatewayRequest
Public Class DetachInternetGatewayRequest
public ref class DetachInternetGatewayRequest

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
DetachInternetGatewayRequest()()()()
Initializes a new instance of the DetachInternetGatewayRequest class
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
InternetGatewayId
Gets and sets the InternetGatewayId property. The ID of the Internet gateway to attach.
IsSetInternetGatewayId()()()()
Checks if InternetGatewayId property is set
IsSetVpcId()()()()
Checks if VpcId property is set
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
VpcId
Gets and sets the VpcId property. The ID of the VPC.
WithInternetGatewayId(String)
Sets the InternetGatewayId property
WithVpcId(String)
Sets the VpcId property

Inheritance Hierarchy

System..::..Object
  Amazon.EC2.Model..::..DetachInternetGatewayRequest

See Also