CmdID

CmdID / aws / aws ec2

aws ec2 delete-vpn-connection

Deletes the specified VPN connection. AWS CLI reference

1 example 2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To delete a VPN connection

The following delete-vpn-connection example deletes the specified VPN connection.

aws ec2 delete-vpn-connection --vpn-connection-id vpn-40f41529Identify
--vpn-connection-idThe ID of the VPN connection.

This command produces no output.

For more information, see Delete an AWS Site-to-Site VPN connection in the AWS Site-to-Site VPN User Guide.

Options

2 in the AWS CLI reference
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.
--vpn-connection-idThe ID of the VPN connection.