Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
float:left;margin:0.5em 1em

Use the Send SQS Message action to relay Bamboo tasks and notifications, Jira workflow transitions and Jira Service Management automation rule executions via the Amazon Simple Queue (SQS), a fully a fully managed message queuing service that enables you to decouple and scale microservices, distributed systems, and serverless applications:

Excerpt
Div
style

Image Removed

Div
styleclear:both

SQS offers two types of message queues. Standard queues offer maximum throughput, best-effort ordering, and at-least-once delivery. SQS FIFO queues are designed to guarantee that messages are processed exactly once, in the exact order that they are sent.

PanelborderColor#bbbbgColor

Integrations

You can use the Send SQS Message action with the following integrations:

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "integration" and label in ( "bamboo" , "bitbucket" , "confluence" , "jira" ) and label = "action" and space = currentSpace ( )

Requirements

The Send SQS Message

 action requires

 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:

Expand
Code Block
languagejs
linenumberstruecollapsetrue
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Action": [
                "sqs:GetQueueAttributes",
                "sqs:ListQueues",
                "sqs:SendMessage"
            ],
            "Resource": "*",
            "Effect": "Allow",
            "Sid": "SQSSendMessageAndDiscoverQueues"
        }
    ]
}

(lightbulb) Refer to Using Identity-Based (IAM) Policies for Amazon SQS for details on how to create more granular/secure policies, including a few Basic Amazon SQS Policy Examples.

Configuration

To configure a Send SQS Message action:

Complete the following settings:

Parameters

Specify the action parameters according to the following skeleton in JSON format – refer to sqs . send-message for details:

Info

A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed:

#x9 | #xA | #xD | #x20 to #xD7FF | #xE000 to #xFFFD | #x10000 to #x10FFFF

#x9 | #xA | #xD | #x20 to #xD7FF | #xE000 to #xFFFD | #x10000 to #x10FFFF

Any characters not included in this list will be rejected. For more information, see

the  

.

Tip

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

Code Blocklanguagejstitle

Send SQS Message skeleton

linenumbers
Code Block
true
{
    "QueueUrl": "",
    "MessageBody": "",
    "DelaySeconds": 0,
    "MessageAttributes": {
        "KeyName": {
            "StringValue": "",
            "BinaryValue": null,
            "StringListValues": [
                ""
            ],
            "BinaryListValues": [
null ],
                null
            ],
            "DataType": ""
        }
    },
    "MessageDeduplicationId": "",
    "MessageGroupId": ""
}

Entity Variables

You can inject contextual variables with workflow

entities into

entities into the remote action payload template – currently available entities are:

Page Properties Report
firstcolumnName
sortByTitle
cqllabel = "entity" and space = currentSpace ( )

Examples

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
sorttitle
excerptTypesimple
cqllabel = "example" and label = "parameters" and label = "send-sqs-message"

How-to Articles

Filter by label (Content by label)
max8
showSpacefalse
sorttitle
excerptTypesimple
cqllabel in ( "action" , "sqs" , "message" ) and label in ( "kb-how-to-article" , "kb-troubleshooting-article" ) and label = "automation-with-aws"

Frequently Asked Questions (FAQ)

Include Page
UAA:_FAQHeaderQuestionsForConfluence
UAA:_FAQHeaderQuestionsForConfluence
Questionslist macro
asktrue
limit8
topicautomation-with-aws,action,sqs,message