Deletes a customer gateway.
             
 Declaration Syntax
 Declaration Syntax| C# | 
public class DeleteCustomerGatewayRequest : EC2Request
 Members
 Members| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description | 
|---|---|---|
|  | DeleteCustomerGatewayRequest()()()() | Initializes a new instance of the DeleteCustomerGatewayRequest class | 
|  | CustomerGatewayId | 
            The ID of the customer gateway you want to
            delete.
             | 
|  | Equals(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.) | 
|  | IsSetCustomerGatewayId()()()() | 
            Checks if CustomerGatewayId property is set
             | 
|  | ToString()()()() | Returns a string that represents the current object.(Inherited from Object.) | 
|  | WithCustomerGatewayId(String) | Obsolete. 
            Sets the ID of the customer gateway you want to delete.
             | 
 Remarks
 Remarks
             You must delete the VPN connection before deleting
             the customer gateway.
            
             AWS might delete any customer gateway if you leave
             it inactive for an extended period of time (inactive
             means that there's no VPN connection in use with the
             customer gateway).
             
 Inheritance Hierarchy
 Inheritance Hierarchy| Object | ||
|  | EC2Request | |
|  | DeleteCustomerGatewayRequest | |