interface FilterProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.EventsV2.CfnSubscriberPropsMixin.FilterProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awseventsv2#CfnSubscriberPropsMixin_FilterProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.eventsv2.CfnSubscriberPropsMixin.FilterProperty |
Python | aws_cdk.cfn_property_mixins.aws_eventsv2.CfnSubscriberPropsMixin.FilterProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_eventsv2 » CfnSubscriberPropsMixin » FilterProperty |
A single filter entry: an event pattern and the scope of the event it is evaluated against.
Example
// 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/cfn-property-mixins';
const filterProperty: eventsv2.CfnSubscriberPropsMixin.FilterProperty = {
pattern: 'pattern',
scope: 'scope',
};
Properties
| Name | Type | Description |
|---|---|---|
| pattern? | string | The event pattern, as a JSON string. |
| scope? | string | Which part of the event the pattern is evaluated against: DATA (the event payload), METADATA (event metadata), or SYSTEM_METADATA (service-generated metadata). |
pattern?
Type:
string
(optional)
The event pattern, as a JSON string.
scope?
Type:
string
(optional)
Which part of the event the pattern is evaluated against: DATA (the event payload), METADATA (event metadata), or SYSTEM_METADATA (service-generated metadata).

.NET
Go
Java
Python
TypeScript