# FilterProperty

A single filter entry: an event pattern and the scope of the event it is evaluated against.

- Source: Generated code
- Type last changed: v2.272.0 · 30 Sep 2026

## Example

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

## Properties

- `pattern`: string (required) — The event pattern, as a JSON string.

- `scope`: string (required) — Which part of the event the pattern is evaluated against: DATA (the event payload), METADATA (event metadata), or SYSTEM_METADATA (service-generated metadata).
