

# MatchObjectSize
<a name="API_control_MatchObjectSize"></a>

 A filter condition that specifies the object size range of included objects in bytes. Only integers are supported. 

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

 ** BytesGreaterThan **   <a name="AmazonS3-Type-control_MatchObjectSize-BytesGreaterThan"></a>
 Specifies the minimum object size in Bytes. The value must be a positive number, greater than 0 and less than 50 TB.   
Type: Long  
Required: No

 ** BytesLessThan **   <a name="AmazonS3-Type-control_MatchObjectSize-BytesLessThan"></a>
 Specifies the maximum object size in Bytes. The value must be a positive number, greater than the minimum object size and less than 50 TB.   
Type: Long  
Required: No

## See Also
<a name="API_control_MatchObjectSize_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/s3control-2018-08-20/MatchObjectSize) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/s3control-2018-08-20/MatchObjectSize) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/s3control-2018-08-20/MatchObjectSize) 