

# InventoryFilter
<a name="API_InventoryFilter"></a>

Specifies an S3 Inventory filter. The inventory only includes objects that meet the filter's criteria.

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

 ** Prefix **   <a name="AmazonS3-Type-InventoryFilter-Prefix"></a>
The prefix that an object must have to be included in the inventory results.  
Type: String  
Required: Yes

## See Also
<a name="API_InventoryFilter_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/s3-2006-03-01/InventoryFilter) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/s3-2006-03-01/InventoryFilter) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/s3-2006-03-01/InventoryFilter) 