Deletes a subnet from a VPC.
public class DeleteSubnetRequest : 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 SubnetId property is set
The ID of the subnet you want to delete.
Returns a string that represents the current object.(Inherited from Object.)
Sets the ID of the subnet you want to delete.
AWSSDK (Module: AWSSDK) Version: 188.8.131.52 (184.108.40.206)
You must terminate all running instances in the subnet before deleting it, otherwise Amazon VPC returns an error. AWS might delete any subnet if you leave it inactive for an extended period of time (inactive means that there are no running Amazon EC2 instances in the subnet).