DeleteVpc
In this article:
DeleteVpc#
Description#
Request to delete a virtual private cloud.
Note
Executing the request removes the VPC, Internet Gateway, and VPN Gateway.
Request Parameters#
VpcId — The ID of the VPC.
Type: String
Required: Yes
Response Elements#
requestId — The request ID.
Type: String
return —
True
is returned if the request succeeds and an error otherwise.Type: Boolean
Examples#
c2-ec2 DeleteVpc <vpc_id>