SNS Publish Activity
The SNS Publish activity can be used to publish a message to an existing Amazon SNS topic. You can send an SMS directly to a mobile phone. You can also use this activity to send a message directly to a mobile endpoint.
Settings
On the Settings tab, configure the following settings:
Input
The
Input element on the
Input tab displays the input schema of the activity as a tree structure. The input values vary depending on the configurations selected on the
Settings tab. On the
Input tab, you can specify the following information:
Field | Required | Description |
---|---|---|
Message | Yes | The message you want to send to an Amazon SNS topic. |
MessageAttributes | No | User-defined message attributes that are used to filter the messages. |
PhoneNumber | No | The phone number to which you want to send an SMS message. The phone number must be in E.164 international telephone number format. If you do not specify a value for the PhoneNumber parameter, you must specify a value for the TargetArn or TopicArn parameter. |
Subject | No | The subject line when the message is delivered to an email endpoint. |
TargetArn | No | To publish the message to a mobile endpoint like a kindle device or a mobile phone, you must specify the EndpointArn for the TargetArn parameter. If you do not specify a value for the TargetArn parameter, you must specify a value for the PhoneNumber or TopicArn parameter. |
TopicArn | No | The topic to which you want to publish a message. If you do not specify a value for the TopicArn parameter, you must specify a value for the PhoneNumber or TargetArn parameter. |
Output
The Output tab displays the output schema of the activity as a tree structure. The output is read-only. The properties that are displayed in the schema correspond to the output of this activity and can be used as input by subsequent activities in the flow. The output of the activity is static and contains only the generated message ID.
Copyright © Cloud Software Group, Inc. All rights reserved.