Deletes a VPC.
public class DeleteVpcRequest : EC2Request
Initializes a new instance of theclass
Serves as a hash function for a particular type.(Inherited from Object.)
Gets the type of the current instance.(Inherited from Object.)
Checks if VpcId property is set
Returns a string that represents the current object.(Inherited from Object.)
The ID of the VPC you want to delete.
Sets the ID of the VPC you want to delete.
AWSSDK (Module: AWSSDK) Version: 184.108.40.206 (220.127.116.11)
You must terminate all running instances and delete all subnets before deleting the VPC, otherwise Amazon VPC returns an error. AWS might delete any VPC if you leave it inactive for an extended period of time (inactive means that there are no running Amazon EC2 instances in the VPC).