View a markdown version of this page

AWS::EventsV2::Subscriber SnsParameters - 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 SnsParameters

Parameters for publishing events to an Amazon SNS topic target.

Syntax

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

JSON

{ "MessageAttributes" : {Key: Value, ...}, "MessageDeduplicationId" : String, "MessageGroupId" : String, "MessageStructure" : String, "Subject" : String }

YAML

MessageAttributes: Key: Value MessageDeduplicationId: String MessageGroupId: String MessageStructure: String Subject: String

Properties

MessageAttributes

A map of message attribute names to values, with at most 50 attributes. Amazon SQS and Amazon SNS enforce their own per-message attribute limits on delivery.

Required: No

Type: Object of MessageAttributeValue

Update requires: No interruption

MessageDeduplicationId

The message deduplication ID to use when the target is a FIFO topic. Accepts a literal value or a JSONata expression.

Required: No

Type: String

Update requires: No interruption

MessageGroupId

The message group ID to use when the target is a FIFO topic. Accepts a literal value or a JSONata expression.

Required: No

Type: String

Update requires: No interruption

MessageStructure

Set to json to send a different message per delivery protocol. Accepts a literal value or a JSONata expression.

Required: No

Type: String

Update requires: No interruption

Subject

The subject line to use for email-protocol subscriptions. Accepts a literal value or a JSONata expression.

Required: No

Type: String

Update requires: No interruption