

# SecurityGroupDetails

The details of a security group.

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

 ** securityGroupId **   <a name="elasticloadbalancing-Type-SecurityGroupDetails-securityGroupId"></a>
The ID of the security group.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.  
Pattern: `sg-.+`   
Required: Yes

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

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/elb-proxy-2026-11-20/SecurityGroupDetails) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/elb-proxy-2026-11-20/SecurityGroupDetails) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/elb-proxy-2026-11-20/SecurityGroupDetails) 