Integrations
You can use the Publish SNS Message action with the following integrations:
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|
Requirements
The Publish SNS Message action requires sufficient IAM permissions - an adequate IAM policy similar to the one provisioned by the Automation with AWS (Core) CloudFormation template might look as follows:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"Version": "2012-10-17",
"Statement": [
{
"Action": [
"sns:GetTopicAttributes",
"sns:ListTopics",
"sns:Publish"
],
"Resource": "*",
"Effect": "Allow",
"Sid": "SNSPublishMessageAndDiscoverTopics"
}
]
} |
Refer to Controlling User Access to Your AWS Account for details on how to create more granular/secure policies, including a few Example Policies for Amazon SNS.
Configuration
To configure a Publish SNS Message action:
Complete the following settings:
Parameters templateSpecify the action parameters
according to the following skeleton in JSON format – refer to sns .
publish for details:
Info You must specify exactly one parameter out of
TopicArn
,PhoneNumber
orTargetArn
.Tip You can inject contextual variables into the remote action payload, refer to Entity Variables for details.
Code Block language js title Publish SNS Message skeleton linenumbers true { "TopicArn": "", "TargetArn": "", "PhoneNumber": "", "Message": "", "Subject": "", "MessageStructure": "", "MessageAttributes": { "KeyName": { "DataType": "", "StringValue": "", "BinaryValue": null } } }
Entity Variables
${entity.key}
and the currently – currently available entities are:Page Properties Report | ||||||
---|---|---|---|---|---|---|
|
Examples
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
|
|
How-to Articles
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Frequently Asked Questions (FAQ)
Questionslist macro | ||||||||
---|---|---|---|---|---|---|---|---|
|