DeleteSecurityGroupRequest Class

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...
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

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.EC2.Model.DeleteSecurityGroupRequest

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public class DeleteSecurityGroupRequest : AmazonWebServiceRequest
         IRequestEvents

The DeleteSecurityGroupRequest type exposes the following members

Constructors

  Name Description
Public Method DeleteSecurityGroupRequest()

Properties

  Name Description
Public Property GroupId The ID of the Amazon EC2 security group to delete.
Public Property GroupName The name of the Amazon EC2 security group to delete.

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