Using the Publish SNS Message action

Use the Publish SNS Message action to relay Bamboo tasks and notifications, Jira workflow transitions and Jira Service Management automation rule executions via the Amazon Simple Notification Service (SNS), a fast, flexible, fully managed push notification service that lets you send individual messages or to fan-out messages to large numbers of recipients:

 

Amazon SNS makes it simple and cost effective to send push notifications to mobile device users, email recipients or even send messages to other distributed services.

With Amazon SNS, you can send notifications to Apple, Google, Fire OS, and Windows devices, as well as to Android devices in China with Baidu Cloud Push. You can use SNS to send SMS messages to mobile device users worldwide.

Beyond these endpoints, Amazon SNS can also deliver messages to Amazon Simple Queue Service (SQS), AWS Lambda functions, or to any HTTP endpoint.

Integrations

You can use the Publish SNS Message action with the following integrations:

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:

{ "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

Specify the action parameters according to the following skeleton in JSON format – refer to sns . publish for details:

You must specify exactly one parameter out of TopicArn, PhoneNumber or TargetArn.

You can inject contextual variables into the remote action payload, refer to Entity Variables for details.

Publish SNS Message skeleton

{     "TopicArn": "",     "TargetArn": "",     "PhoneNumber": "",     "Message": "",     "Subject": "",     "MessageStructure": "",     "MessageAttributes": {         "KeyName": {             "DataType": "",             "StringValue": "",             "BinaryValue": null         }     } }

Entity Variables

You can inject contextual variables with workflow entities into the remote action payload template – currently available entities are:

Examples

How-to Articles

Filter by label

There are no items with the selected labels at this time.

Frequently Asked Questions (FAQ)

Atlassian®, Atlassian Bamboo®, Bitbucket®, Atlassian Crowd®, Confluence®, Jira®, Jira Service Management™, Opsgenie®, and Statuspage™ are registered trademarks of Atlassian.
Amazon Web Services™, AWS™ and the “Powered by Amazon Web Services” logo are trademarks of Amazon.com, Inc. or its affiliates in the United States and/or other countries.

Utoolity® is a registered trademark of Utoolity GmbH.
© 2024 Utoolity GmbH. All rights reserved.