Deletes a customer gateway.
public class DeleteCustomerGatewayRequest : EC2Request
Initializes a new instance of theclass
The ID of the customer gateway you want to delete.
Serves as a hash function for a particular type.(Inherited from Object.)
Gets the type of the current instance.(Inherited from Object.)
Checks if CustomerGatewayId property is set
Returns a string that represents the current object.(Inherited from Object.)
Sets the ID of the customer gateway you want to delete.
AWSSDK (Module: AWSSDK) Version: 184.108.40.206 (220.127.116.11)
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).