FilterProperty Struct
A single filter entry: an event pattern and the scope of the event it is evaluated against.
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
The event pattern, as a JSON string.
Which part of the event the pattern is evaluated against: DATA (the event payload), METADATA (event metadata), or SYSTEM_METADATA (service-generated metadata).