CmdID

CmdID / aws / aws ec2

aws ec2 delete-vpc

Deletes the specified VPC. 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 VPC

The following delete-vpc example deletes the specified VPC.

aws ec2 delete-vpc --vpc-id vpc-a01106c2Identify
--vpc-idThe ID of the VPC.

This command produces no output.

For more information, see Delete your VPC in the Amazon VPC 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.
--vpc-idThe ID of the VPC.