SQS
Message queues with visibility timeouts, DLQ redrive, batch send/receive, and tag management.
Quick start
import boto3
sqs = boto3.client("sqs", endpoint_url="http://localhost:4566",
region_name="us-east-1",
aws_access_key_id="test", aws_secret_access_key="test")
q = sqs.create_queue(QueueName="jobs")["QueueUrl"]
sqs.send_message(QueueUrl=q, MessageBody="ping")
print(sqs.receive_message(QueueUrl=q)["Messages"][0]["Body"])
Supported operations
17 operations exposed by this service as of MiniStack 1.3.14. Extracted directly from the handler dispatch in the source module.
ChangeMessageVisibility
ChangeMessageVisibilityBatch
CreateQueue
DeleteMessage
DeleteMessageBatch
DeleteQueue
GetQueueAttributes
GetQueueUrl
ListQueues
ListQueueTags
PurgeQueue
ReceiveMessage
SendMessage
SendMessageBatch
SetQueueAttributes
TagQueue
UntagQueue
CloudFormation
The CloudFormation engine provisions these resource types via this service:
AWS::SQS::Queue
AWS::SQS::QueuePolicy
See CloudFormation engine for intrinsic support and lifecycle details.
Known limitations
- Approximate CloudWatch metrics (ApproximateNumberOfMessagesVisible, etc.) are not emitted.
- Message delay seconds are honored but rely on the loop scheduler — tests asserting on exact timing may flake.
Source
ministack/services/sqs.py:947-1225
Read the source to verify the ops list above — dispatch tables and handler functions are the ground truth.