

# SecurityGroup
<a name="API_SecurityGroup"></a>

Contains information about a security group associated with a network interface. This data type is used as one of the elements of the [NetworkInterface](API_NetworkInterface.md) data type.

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

 ** groupId **   <a name="Inspector-Type-SecurityGroup-groupId"></a>
The ID of the security group.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 20000.  
Required: No

 ** groupName **   <a name="Inspector-Type-SecurityGroup-groupName"></a>
The name of the security group.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 20000.  
Required: No

## See Also
<a name="API_SecurityGroup_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/inspector-2016-02-16/SecurityGroup) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/inspector-2016-02-16/SecurityGroup) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/inspector-2016-02-16/SecurityGroup) 