deleteCustomerGateway

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

Samples


fun main() { 
   //sampleStart 
   // This example deletes the specified customer gateway.
ec2Client.deleteCustomerGateway {
    customerGatewayId = "cgw-0e11f167"
} 
   //sampleEnd
}