This data type is used as a response element in the following actions:
- AuthorizeDBSecurityGroupIngress
- DescribeDBSecurityGroups
- RevokeDBSecurityGroupIngress
 Declaration Syntax
 Declaration Syntax| C# | 
public class EC2SecurityGroup
 Members
 Members| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description | 
|---|---|---|
|  | EC2SecurityGroup()()()() | Initializes a new instance of the EC2SecurityGroup class | 
|  | EC2SecurityGroupId | 
            Specifies the id of the EC2 security group.
             
             | 
|  | EC2SecurityGroupName | 
            Specifies the name of the EC2 security group.
             
             | 
|  | EC2SecurityGroupOwnerId | 
            Specifies the AWS ID of the owner of the EC2 security group specified in the EC2SecurityGroupName field.
             
             | 
|  | Equals(Object) | (Inherited from Object.) | 
|  | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | 
|  | GetType()()()() | Gets the type of the current instance.(Inherited from Object.) | 
|  | Status | 
            Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked".
             
             | 
|  | ToString()()()() | Returns a string that represents the current object.(Inherited from Object.) | 
|  | WithEC2SecurityGroupId(String) | Obsolete. 
            Sets the EC2SecurityGroupId property
             | 
|  | WithEC2SecurityGroupName(String) | Obsolete. 
            Sets the EC2SecurityGroupName property
             | 
|  | WithEC2SecurityGroupOwnerId(String) | Obsolete. 
            Sets the EC2SecurityGroupOwnerId property
             | 
|  | WithStatus(String) | Obsolete. 
            Sets the Status property
             | 
 Inheritance Hierarchy
 Inheritance Hierarchy| Object | |
|  | EC2SecurityGroup |