|« PreviousNext »|
|Did this page help you? Yes | No | Tell us about it...|
Deletes a VPN connection. Use this if you want to delete a VPC and all its associated components. Another reason to use this operation is if you believe the tunnel credentials for your VPN connection have been compromised. In that situation, you can delete the VPN connection and create a new one that has new keys, without needing to delete the VPC or virtual private gateway. If you create a new VPN connection, you must reconfigure the customer gateway using the new configuration information returned with the new VPN connection ID.
If you're deleting the VPC and all its associated parts, we recommend you detach the virtual private gateway from the VPC and delete the VPC before deleting the VPN connection.
For more information about VPN connections, see Adding an IPsec Hardware Virtual Private Gateway to Your VPC in the Amazon Virtual Private Cloud User Guide.
The ID of the VPN connection.
The following elements are returned in an
The ID of the request.
true if the request succeeds. Otherwise, returns an error.
This example deletes the VPN connection with ID vpn-44a8938f.
https://ec2.amazonaws.com/?Action=DeleteVpnConnection &vpnConnectionId=vpn-44a8938f &AUTHPARAMS
<DeleteVpnConnectionResponse xmlns="http://ec2.amazonaws.com/doc/2013-02-01/"> <requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId> <return>true</return> </DeleteVpnConnectionResponse>