Overview of the Amazon SQS plugin

Amazon Simple Queue Service (Amazon SQS) is a fully managed message queuing service that makes it easy to decouple and scale microservices, distributed systems, and serverless applications. Amazon SQS moves data between distributed application components and helps you decouple these components.

Amazon resources:

Introduction

Developer Resources


Using the SQS plugin on Linx

(Selected examples of SQS functions)


Create a Queue

Steps:

  1. From the Amazon SQS plugin, add the CreateQueue function to your process

  2. Enter the details of the Properties associated with the CreateQueue function:

    a. AWS Credentials of the user performing the function

    b. Queue name


Send a Message

Steps:

  1. From the Amazon SQS plugin, add the SendMessage function to your process

  2. Enter the details of the Properties associated with the SendMessage function:

    a. AWS Credentials of the user performing the function

    b. Queue URL – The URL of the Amazon SQS queue to which a message is sent. (The URL of a queue is created when adding the queue; to retrieve the URL value, use the GetQueueURL function.)

    c. Message body – content of the message

    d. Message attributes – optional; specific attributes (name, type and value) can be included in the message


Add Permissions to a Queue

By default, only the queue owner is allowed to use a queue. You can Add a Permission to grant another account (principal) access to the queue.

Steps:

  1. From the Amazon SQS plugin, add the AddPermission function to your process

  2. Enter the details of the Properties associated with the AddPermission function:

    a. AWS Credentials of the user performing the function

    b. Queue URL – the URL of a queue is created when adding the queue; to retrieve the URL value, use the GetQueueURL function.

    c. AWS account IDs – The AWS account numbers of the principals who are given permission.

    d. Actions – The actions to allow for the specified principals (e.g. DeleteQueue, SendMerssage, etc)

    e. Label – a unique identifier for the permission


Amazon SQS License