AWS SDK for .NET Documentation
DeleteCustomerGateway Method (request)
AmazonAmazon.EC2AmazonEC2DeleteCustomerGateway(DeleteCustomerGatewayRequest) Did this page help you?   Yes   No    Tell us about it...
Deletes a customer gateway.
Declaration Syntax
request (DeleteCustomerGatewayRequest)
Delete Customer Gateway request
Return Value
Delete Customer Gateway Response from the service
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).

Assembly: AWSSDK (Module: AWSSDK) Version: (