View a markdown version of this page

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

Parameters for publishing events to an Amazon SNS topic target.

Syntax

To declare this entity in your 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