deleteCustomerGateway

Deletes the specified customer gateway. You must delete the VPN connection before you can delete the customer gateway.

Samples

// This example deletes the specified customer gateway.
ec2Client.deleteCustomerGateway {
    customerGatewayId = "cgw-0e11f167"
}