SQS (AWS)
Discover more about the SQS (AWS) connector and how to use it on the Digibee Integration Platform.
The SQS (AWS) connector enables users to send messages to standard AWS SQS queues and to FIFO AWS SQS queues.
Parameters
The table below lists all configuration parameters for the connector. Parameters that support Double Braces expressions are marked with ✅ in the Supports DB column.
Alias
A name for this connector's output, so you can reference it later in the flow with Double Braces.
String
❌
aws-sqs-1
—
Account Type
The type of account used by the connector to authenticate. Options: Basic and AWS V4.
Select
❌
Basic
—
Use Dynamic Account
If enabled, the connector resolves the account at runtime. If disabled, it uses the account configured statically below.
Boolean
❌
false
—
Account Name
Name of the account defined in the Store Account connector.
String
✅
N/A
Use Dynamic Account is enabled
Account
The Basic account used to authenticate to the AWS Cloud service.
Select
❌
N/A
Account Type is Basic
AWS V4 Account
The AWS V4 account used to authenticate requests to AWS services with Signature Version 4.
Select
❌
N/A
Account Type is AWS V4
Use Assume Role
When enabled, the connector uses an AWS Role account to temporarily assume the permissions of the Account.
Boolean
❌
false
Account Type is AWS V4
AWS Role Account
The AWS Role account whose permissions are temporarily assumed through the Assume Role operation, selected from the account configured in the platform.
Select
❌
N/A
Use Dynamic Account is disabled and Use Assume Role is enabled
AWS Role Account Name
The name of the AWS Role account whose permissions are temporarily assumed through the Assume Role operation, as defined in the Store Account connector.
String
✅
N/A
Use Dynamic Account is enabled and Use Assume Role is enabled
Message
The body of the message to send.
String
❌
{{ message.$ }}
—
Connection String
The URL of the destination SQS queue in AWS.
String
✅
https://sqs.sa-east-1.amazonaws.com/838874755216/digibee-test
—
Region
The AWS region where the queue is registered.
String
❌
South America (Sao Paulo)
—
Queue Type
The type of queue that receives the message: Standard or FIFO. If FIFO is selected, the Message Group ID parameter becomes required.
String
❌
Standard
—
Message Group ID
For FIFO queues, the ID of the message group this message belongs to.
String
❌
undefined
Queue Type is FIFO
Fail on Error
If enabled, stops the pipeline execution when an error occurs. If disabled, execution continues, but the "success" property is set to false.
Boolean
❌
false
—
Documentation
Optional field to describe the connector configuration and any relevant business rules.
String
❌
N/A
Assume Role authentication
The SQS (AWS) connector supports Assume Role, a cross-account access model that lets the connector use temporary, short-lived credentials instead of long-term static credentials.
When to use Assume Role
Use Assume Role when the connector needs to access an SQS queue in a different AWS account than the one used for authentication, or when your security policy requires temporary credentials instead of long-lived access keys. Temporary credentials expire automatically, which reduces the risk of credential leakage.
Assume Role vs. Basic vs. AWS V4
Basic
Static AWS access key and secret key
Simple setups without cross-account requirements
AWS V4
Static credentials, signed with Signature Version 4
Direct access to AWS services in the same account
AWS V4 + Assume Role
Temporary credentials obtained through AWS STS
Cross-account access, or environments that require short-lived credentials
Assume Role isn't a standalone account type. It's an additional layer on top of an AWS V4 account: the AWS V4 account authenticates first, then temporarily assumes the permissions of an AWS Role account.
Prerequisites
Before enabling Assume Role on the connector, make sure:
You have an AWS V4 account configured in Digibee.
You have an AWS Role account configured in Digibee, with the Role ARN, Session Name, and, optionally, External ID of the role you want to assume.
The target role in AWS has a trust policy that allows Digibee's AWS V4 account to assume it. See IAM trust policy below.
Configuration example
The example below shows a connector configured to use Assume Role.
Account Type: AWS V4
Account: my-aws-v4-account
Use Assume Role: enabled
AWS Role Account: my-aws-role-account
Region: US East (North Virginia)
Connection String: https://sqs.us-east-1.amazonaws.com/123456789012/my-queue
The AWS V4 account and the AWS Role account are referenced by the accounts configured in Digibee, not by their raw credentials or ARN.
IAM trust policy required on the AWS side
To allow Digibee's execution role to assume the target role, configure the following trust policy on the role in your AWS account:
Replace <ACCOUNT_ID_AWS> with your AWS account ID and <YOUR_EXTERNAL_ID> with the External ID configured in your AWS role, if you're using one.
IAM permissions required on the assumed role
The role you assume must grant at least the following permissions for the connector to operate:
sqs:SendMessagesqs:ReceiveMessagesqs:DeleteMessagesqs:GetQueueAttributes
Troubleshooting
AccessDenied on sts:AssumeRole
The trust policy on the target role doesn't allow Digibee's execution role to assume it.
Check the trust policy on the role in AWS and confirm the Principal and Condition values match your setup.
InvalidClientTokenId
The AWS V4 account's credentials are invalid or expired.
Check the credentials configured in the AWS V4 account.
ExpiredToken
The temporary session token expired before the request completed.
Check the session duration configured for the assumed role in AWS.
Assume Role fails even with correct ARN and account selection
The External ID configured in the AWS Role account doesn't match the one in the trust policy.
Confirm the External ID matches on both sides.
Messages flow
Standard AWS SQS queue (without errors)
Payload
Input
Output
FIFO AWS SQS queue (without errors)
Input
Output
FIFO AWS SQS queue (missing Message Group ID)
Input
Output
AWS SQS queue (invalid region)
Input
Output
Last updated
Was this helpful?