

# AwsEc2NetworkInterfaceSecurityGroup
<a name="API_AwsEc2NetworkInterfaceSecurityGroup"></a>

A security group associated with the network interface.

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

 ** GroupId **   <a name="securityhub-Type-AwsEc2NetworkInterfaceSecurityGroup-GroupId"></a>
The ID of the security group.  
Type: String  
Pattern: `.*\S.*`   
Required: No

 ** GroupName **   <a name="securityhub-Type-AwsEc2NetworkInterfaceSecurityGroup-GroupName"></a>
The name of the security group.  
Type: String  
Pattern: `.*\S.*`   
Required: No

## See Also
<a name="API_AwsEc2NetworkInterfaceSecurityGroup_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/securityhub-2018-10-26/AwsEc2NetworkInterfaceSecurityGroup) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/securityhub-2018-10-26/AwsEc2NetworkInterfaceSecurityGroup) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/securityhub-2018-10-26/AwsEc2NetworkInterfaceSecurityGroup) 