View a markdown version of this page

AWS::EventsV2::Subscriber Filter - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon 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 Amazon 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