

# EC2SecurityGroup
<a name="API_EC2SecurityGroup"></a>

Provides ownership and status information for an Amazon EC2 security group.

## Contents
<a name="API_EC2SecurityGroup_Contents"></a>

**Note**  
In the following list, the required parameters are described first.

 ** EC2SecurityGroupName **   
The name of the Amazon EC2 security group.  
Type: String  
Required: No

 ** EC2SecurityGroupOwnerId **   
The Amazon account ID of the Amazon EC2 security group owner.  
Type: String  
Required: No

 ** Status **   
The status of the Amazon EC2 security group.  
Type: String  
Required: No

## See Also
<a name="API_EC2SecurityGroup_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/elasticache-2015-02-02/EC2SecurityGroup) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/elasticache-2015-02-02/EC2SecurityGroup) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/elasticache-2015-02-02/EC2SecurityGroup) 