Overview
TheSQSQueue construct creates an Amazon SQS queue with optional dead-letter queue, FIFO ordering, and encryption. Use it to decouple producers and consumers in event-driven architectures.
Import
Basic Usage
Using the Messaging Factory
The recommended way to add SQS to a Fjall application is through theMessagingFactory:
Properties
Methods
Examples
Standard Queue with DLQ
FIFO Queue
FIFO queues guarantee exactly-once processing and preserve message order:Long Polling
Reduce empty responses and API costs with long polling:KMS Encryption
Connecting to Lambda
Use the Lambda event source integration to process queue messages:CloudFormation Outputs
Next Steps
Messaging Factory
Create messaging resources via the factory pattern
Lambda Function
Process queue messages with Lambda