AWS SQS icon

AWS SQS

Consume and send messages to AWS SQS

Actions5

Overview

This node interacts with AWS SQS (Simple Queue Service) to perform various queue-related operations. Specifically, the 'Get Attributes' operation retrieves all attributes of a specified SQS queue. This is useful for scenarios where you need to inspect queue properties such as visibility timeout, message retention period, or other metadata. For example, you might use this node to monitor queue settings or to verify configuration before processing messages.

Use Case Examples

  1. Retrieve all attributes of an SQS queue to monitor its configuration.
  2. Check the visibility timeout and message retention period of a queue before processing messages.

Properties

Name Meaning
Queue Name or URL The name of the SQS queue or the full queue URL to identify which queue's attributes to retrieve.

Output

JSON

  • Attributes - An object containing all attributes of the specified SQS queue, such as visibility timeout, message retention period, and other queue metadata.

Dependencies

  • AWS SDK for JavaScript (v3) - specifically @aws-sdk/client-sqs

Troubleshooting

  • If the queue name or URL is incorrect or the queue does not exist, the node throws an error indicating the queue does not exist. Verify the queue name, region, and AWS account.
  • Ensure that the AWS credentials provided have sufficient permissions to access the SQS queue and retrieve its attributes.
  • Network or permission issues may cause failures in connecting to AWS SQS service.

Links

Discussion