Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/content/docs/aws/services/sqs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,15 @@ awslocal sqs get-queue-attributes \
--attribute-names All
```

To create a [FIFO queue](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-fifo-queue-message-identifiers.html), the queue name must end with the `.fifo` suffix in addition to the `FifoQueue=true` attribute set:

```bash
awslocal sqs create-queue --queue-name localstack-queue.fifo --attributes "FifoQueue=true"
{
"QueueUrl": "http://sqs.us-east-1.localhost.localstack.cloud:4566/000000000000/localstack-queue.fifo"
}
```

### Sending and receiving messages from the queue

You can send a message to the SQS queue which will be queued and a consumer can pick it up.
Expand Down