# FilterProperty

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

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const filterProperty: lambda.CfnEventSourceMapping.FilterProperty = {
  pattern: 'pattern',
};
```

## Properties

- `pattern`: string — 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) .
