

# AwsEc2SecurityGroupIpRange
<a name="API_AwsEc2SecurityGroupIpRange"></a>

A range of IPv4 addresses.

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

 ** CidrIp **   <a name="securityhub-Type-AwsEc2SecurityGroupIpRange-CidrIp"></a>
The IPv4 CIDR range. You can specify either a CIDR range or a source security group, but not both. To specify a single IPv4 address, use the /32 prefix length.  
Type: String  
Pattern: `.*\S.*`   
Required: No

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