Using the Send SQS Message action

Integrations

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

Requirements

The Send SQS 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:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 { "Version": "2012-10-17", "Statement": [ { "Action": [ "sqs:GetQueueAttributes", "sqs:ListQueues", "sqs:SendMessage" ], "Resource": "*", "Effect": "Allow", "Sid": "SQSSendMessageAndDiscoverQueues" } ] }

 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:

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

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

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

Send SQS Message skeleton

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 {     "QueueUrl": "",     "MessageBody": "",     "DelaySeconds": 0,     "MessageAttributes": {         "KeyName": {             "StringValue": "",             "BinaryValue": null,             "StringListValues": [                 ""             ],             "BinaryListValues": [                 null             ],             "DataType": ""         }     },     "MessageDeduplicationId": "",     "MessageGroupId": "" }

Entity Variables

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

Examples

How-to Articles

Frequently Asked Questions (FAQ)