AWS SQS

AWS Simple Queue Service (AWS SQS) connector is a message queuing system that enables two-way communication between different distributed app components. It follows a polling mechanism where one component (publisher) pushes messages to the queue, and the consumer (processor) explicitly pulls out those messages from the queue to check them.

Set Up AWS SQS

Perform the following steps to set up the AWS SQS action connector:

  1. In the Configure Action section, select the AWS SQS connector.
    Select-Connector.png
  2. In the Select an Action tab, select the Send message action. This action lets you send messages to the AWS SQS queue.
    Choose-Action.png
  3. In the Configure Action tab, click on + Add New Account to add your AWS account.
    Add_New_Account.png
  4. In the Authorize pop-up window, provide details such as Title, Access Key, Secret Key, and Region.
    SQS_Authorize.png
  5. To generate an Access Key and a Secret Key, login to the AWS dashboard and perform the following steps:

    1. Under “User Settings,” select Security Credentials.
    2. Click on the Access keys dropdown to Create New Access Key.
      Third-party-access_key.png

      Additional Resource: For more information, refer to the Managing access keys for IAM users document.

  6. Once done, click on Authorize.
  7. You can select the Queue URL from the LOOKUP list that appears when you click on the textbox. The Queue URL needs to be present and defined in your AWS account.
    Select-QueueURL.png
  8. Select the Queue Type from a list of populated suggestions. There are two types of queues, i.e., Standard Queue Type and FIFO Queue Type. Choose as per your requirement.
    Select-Queue-Type.png
  9. The Message Body should contain the message you want to see in the SQS dashboard.
    Message-Body.png
  10. Below Message Body, click on the Show Optional Field toggle button to add Message attributes. The message must be in JSON format.
    Message_Attribute.png
  11. In the Delay Seconds textbox, enter the number of seconds by which you want to delay any specific message.
    Delay_-Seconds.png
  12. Click on Proceed to test the action.
    Proceed.png
  13. Click on Test Action to test the configured action.
    Test-Action.png
  14. On successful configuration, you can see the below output. Click on Save and Exit.
    Save_Exit.png
  15. To see the SQS message, login to your AWS account. Type SQS in the search bar, and click on Sample Queue Service to navigate to the SQS dashboard.
    Click_Sample_Query_service.png
  16. Click on the queue name or URL from the populated list.
    Queue_Name.png
  17. Click on Send and receive messages to fetch messages from SQS. A list of messages appears below the table.
    Send&Receive_Messages.png
  18. In AWS SQS, you need to pull the messages from the server. Click on Poll for messages to fetch the list of messages.
  19. Click on the message ID to view your message.
    Click_MessageID.png

  20. Your final output will appear as follows.
    Final_Output.png

This sets the AWS SQS action connector.

Was this article helpful?

Thanks for your feedbackSmile-icon

On This Page

^