View a markdown version of this page

AWS::EventsV2::Subscriber Filter - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::EventsV2::Subscriber Filter

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

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "Pattern" : String, "Scope" : String }

YAML

Pattern: String Scope: String

Properties

Pattern

The event pattern, as a JSON string.

Required: Yes

Type: String

Maximum: 4096

Update requires: No interruption

Scope

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

Required: Yes

Type: String

Allowed values: DATA | METADATA | SYSTEM_METADATA

Update requires: No interruption