Deletes a customer gateway.

C# |
public class DeleteCustomerGatewayRequest : EC2Request

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.
|

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).

Object | ||
![]() | EC2Request | |
![]() | DeleteCustomerGatewayRequest |