Container for the parameters to the DeleteSecurityGroup operation.
The DeleteSecurityGroup operation deletes a security group.
NOTE: If you attempt to delete a security group that contains instances, a fault is returned. If you attempt to delete a security group that is referenced by another security group, a fault is returned. For example, if security group B has a rule that allows access from security group A, security group A cannot be deleted until the allow rule is removed.
Inheritance Hierarchy
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public class DeleteSecurityGroupRequest : AmazonWebServiceRequest IRequestEvents
The DeleteSecurityGroupRequest type exposes the following members
Constructors
Name | Description | |
---|---|---|
![]() |
DeleteSecurityGroupRequest() |
Properties
Version Information
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8
.NET for Windows Phone:
Supported in: Window Phone 8