Deletes a customer gateway. You must delete the VPN connection before deleting the customer gateway.
You can have a single active customer gateway per AWS account (active means that you've created a VPN connection with that customer gateway). AWS might delete any customer gateway you leave inactive for an extended period of time.
Namespace: Amazon.EC2
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public virtual DeleteCustomerGatewayResponse DeleteCustomerGateway( DeleteCustomerGatewayRequest deleteCustomerGatewayRequest )
Parameters
- deleteCustomerGatewayRequest
-
Type: Amazon.EC2.Model.DeleteCustomerGatewayRequest
Container for the necessary parameters to execute the DeleteCustomerGateway service method on AmazonEC2.
Version Information
.NET Framework:
Supported in: 4.5, 4.0, 3.5