Amazon SNS - Publish message action

The Publish message action publishes a message to a specified topic.

Input

Input fieldDescription
Topic NameUse the drop-down menu to select a message topic.
SubjectEnter a subject tile for the message.
Message formatSelect the message format. Select JSON to send different messages for each transport protocol. Select Raw to send the same message to all protocols. Refer to the Amazon documentation for more information.
MessageProvide the message content. For Raw, enter a single message for all protocols. For JSON, define the message schema and enter the message content. Refer to the Configure message schema section for more information.
Message attributes schemaEnter values to define your message attribute schema. Enter a Name, Type, and Value for each attribute. Refer to the message attributes section for more information.

Configure message schema

Define the message schema to send different messages for each transport protocol.

Refer to the Amazon documentation for more information.

Define message schema with JSON snippet:

Define schemaDefine message schema with JSON snippet

Resulting message schema input field:

Message schema input fieldMessage schema input field

Output

Output fieldDescription
Message IDThe message ID.

Last updated: