ec2_delete_vpc: Deletes the specified VPC

View source: R/ec2_operations.R

ec2_delete_vpcR Documentation

Deletes the specified VPC

Description

Deletes the specified VPC. You must detach or delete all gateways and resources that are associated with the VPC before you can delete it. For example, you must terminate all instances running in the VPC, delete all security groups associated with the VPC (except the default one), delete all route tables associated with the VPC (except the default one), and so on.

See https://www.paws-r-sdk.com/docs/ec2_delete_vpc/ for full documentation.

Usage

ec2_delete_vpc(VpcId, DryRun = NULL)

Arguments

VpcId

[required] The ID of the VPC.

DryRun

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.


paws.compute documentation built on Sept. 12, 2023, 1:28 a.m.