Deletes a VPN gateway. Use this when you want to delete a VPC and all its associated components because you no longer need them. We recommend that before you delete a VPN gateway, you detach it from the VPC and delete the VPN connection. Note that you don't need to delete the VPN gateway if you just want to delete and re-create the VPN connection between your VPC and data center. AWS might delete any VPN gateway if you leave it inactive for an extended period of time (inactive means that there's no VPN connection in use with the VPN gateway).

Namespace: Amazon.EC2.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class DeleteVpnGatewayRequest
Public Class DeleteVpnGatewayRequest
public ref class DeleteVpnGatewayRequest

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
DeleteVpnGatewayRequest()()()()
Initializes a new instance of the DeleteVpnGatewayRequest class
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.)
IsSetVpnGatewayId()()()()
Checks if VpnGatewayId property is set
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
VpnGatewayId
Gets and sets the VpnGatewayId property. The ID of the VPN gateway you want to delete.
WithVpnGatewayId(String)
Sets the VpnGatewayId property

Inheritance Hierarchy

System..::..Object
  Amazon.EC2.Model..::..DeleteVpnGatewayRequest

See Also