AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
If you attempt to delete a security group that is associated with an instance, or
is referenced by another security group, the operation fails with
in EC2-Classic or
DependencyViolation in EC2-VPC.
Version: (assembly version)
public abstract DeleteSecurityGroupResponse DeleteSecurityGroup( DeleteSecurityGroupRequest request )
Container for the necessary parameters to execute the DeleteSecurityGroup service method.
Supported in: 4.5, 4.0, 3.5