Amazon SQS rule

You can use a SQS rule to send data such as messages, occupancy, lifecycle and presence events from Ably to SQS.

Creating a SQS rule

There are two ways to create a SQS rule:

1. Using the Ably Dashboard.
2. Using the Control API.

Creating a SQS rule in the dashboard

To create a rule in your dashboard:

1. Login and select the application you wish to integrate with SQS.
2. Click the Integrations tab.

Integrations tab

3. Click the + New Integration Rule button.
4. Choose Firehose.
5. Choose AWS SQS.

Choose sqs

6. Configure the settings applicable to your use case and your SQS installation.

The SQS-specific settings:

sqs rule settings - sqs-specific

The general settings:

sqs rule settings - general

7. Click Create to create the rule.

Creating a SQS rule using Control API

See some examples of creating rules in the rules section of the Control API documentation. You can also refer to the rule section of the Control API Reference for information on creating a SQS rule. You will need to select a ruleType of aws/sqs.

See also

Need help?

If you need any help with your implementation or if you have encountered any problems, do get in touch. You can also quickly find answers from our knowledge base, and blog.