AWS SDK for .NET Documentation
DeleteCustomerGatewayRequest Class
AmazonAmazon.EC2.ModelDeleteCustomerGatewayRequest Did this page help you?   Yes   No    Tell us about it...
Deletes a customer gateway.
Declaration Syntax
C#
public class DeleteCustomerGatewayRequest : EC2Request
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
DeleteCustomerGatewayRequest()()()()
Initializes a new instance of the DeleteCustomerGatewayRequest class

CustomerGatewayId
The ID of the customer gateway you want to delete.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
IsSetCustomerGatewayId()()()()
Checks if CustomerGatewayId property is set

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithCustomerGatewayId(String) Obsolete.
Sets the ID of the customer gateway you want to delete.

Remarks
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).
Inheritance Hierarchy
Object
EC2Request
 DeleteCustomerGatewayRequest

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)