

# Filter
<a name="API_Filter"></a>

 A structure within a `FilterCriteria` object that defines an event filtering pattern. 

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

 ** Pattern **   <a name="lambda-Type-Filter-Pattern"></a>
 A filter pattern. For more information on the syntax of a filter pattern, see [ Filter rule syntax](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-syntax).   
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 4096.  
Pattern: `.*`   
Required: No

## See Also
<a name="API_Filter_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/lambda-2015-03-31/Filter) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/Filter) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/Filter) 