Amazon SQS
Datafly Signal delivers events to Amazon SQS queues for decoupled, serverless event processing and integration with downstream AWS services like Lambda, ECS, and Step Functions.
Prerequisites
Before configuring Amazon SQS in Signal, you need an AWS account with an SQS queue and an IAM user with send permissions.
Create an AWS Account
If you don’t already have one, sign up at aws.amazon.com.
Create an SQS Queue
- Open the SQS console.
- Click Create queue.
- Choose the queue type:
- Standard — maximum throughput, at-least-once delivery, best-effort ordering (recommended for most use cases).
- FIFO — exactly-once processing, strict ordering (lower throughput). FIFO queue names must end with
.fifo.
- Enter a Queue name (e.g.
datafly-events). - Configure Visibility timeout (default 30 seconds) and Message retention period (default 4 days, max 14 days).
- Click Create queue.
- Note the Queue URL from the queue details page (e.g.
https://sqs.us-east-1.amazonaws.com/123456789012/datafly-events).
Standard queues are recommended for most Signal use cases. Use FIFO queues only if you need strict event ordering and exactly-once processing.
Create an IAM User for Signal
- Open the IAM console.
- Go to Users > Create user.
- Enter a username (e.g.
datafly-signal-sqs). - Attach a custom policy:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"sqs:SendMessage",
"sqs:SendMessageBatch"
],
"Resource": "arn:aws:sqs:us-east-1:123456789012:datafly-events"
}
]
}- Replace the region, account ID, and queue name with your values.
Generate Access Keys
- On the IAM user detail page, go to Security credentials.
- Under Access keys, click Create access key.
- Select Application running outside AWS.
- Copy the Access Key ID and Secret Access Key immediately — the secret is only shown once.
⚠️
Store these credentials securely. If you lose the secret access key, you must create a new key pair.
Configuration
| Field | Type | Required | Description |
|---|---|---|---|
queue_url | string | Yes | The full SQS queue URL. |
region | select | Yes | The AWS region where the queue is located. |
access_key_id | secret | Yes | The AWS access key ID for authentication. |
secret_access_key | secret | Yes | The AWS secret access key for authentication. |
Signal Setup
Quick Setup
- Navigate to Integrations in the sidebar.
- Open the Integration Library tab.
- Find Amazon SQS or filter by Cloud Storage.
- Click Install, select a variant if available, and fill in the required fields.
- Click Install Integration to create the integration with a ready-to-use default blueprint.
API Setup
curl -X POST http://localhost:8084/v1/admin/integration-catalog/amazon_sqs/install \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Amazon SQS",
"variant": "default",
"config": {
"queue_url": "https://sqs.us-east-1.amazonaws.com/123456789012/datafly-events",
"region": "us-east-1",
"access_key_id": "AKIAIOSFODNN7EXAMPLE",
"secret_access_key": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
},
"delivery_mode": "server_side"
}'Testing
- Enable the integration in Signal and trigger a test event on your website.
- Open the SQS console and select your queue.
- Click Send and receive messages > Poll for messages to retrieve queued events.
- Click on a message to inspect the event payload body.
- In Signal, check the Live Events view to confirm delivery status shows as successful.
Troubleshooting
| Problem | Solution |
|---|---|
| Events not appearing in the queue | Verify the queue URL and region are correct. Ensure the queue exists and has not been deleted. |
AccessDenied | The IAM user lacks sqs:SendMessage permission on the queue. Update the IAM policy. |
NonExistentQueue | The queue URL is incorrect or the queue has been deleted. Verify the URL in the SQS console. |
InvalidParameterValue | Check the message format. SQS message bodies must be valid UTF-8 strings up to 256 KB. |
| Messages disappearing quickly | Another consumer may be processing and deleting messages. Check the visibility timeout and verify no unexpected consumers are active. |
| FIFO deduplication issues | FIFO queues deduplicate messages within a 5-minute window. If you see missing events, check that message deduplication IDs are unique. |
| Credential errors | Verify the access key ID and secret access key are correct and the IAM user has not been deactivated. |
Visit Amazon SQS documentation for full API reference, dead-letter queue configuration, and Lambda trigger setup.