Skip to content

Generate AsyncAPI from SQS queues

One queue, written as AsyncAPI 3.0.

Terminal recording of kurkik sqs export

The recording shows kurkik sqs export on the demo sandbox; its data differs from this example.

Terminal window
kurkik sqs export queues-prod --stdout
asyncapi.yaml
asyncapi: 3.0.0
info:
title: queues-prod Amazon SQS API
version: 1.0.0-SNAPSHOT
description: Generated by reading Amazon SQS of queues-prod (us-east-1).
servers:
sqs:
host: localhost:14566
protocol: amazon-sqs
description: Amazon SQS in us-east-1.
channels:
orders-queue:
address: orders-queue
bindings:
sqs:
bindingVersion: 0.2.0
queue:
name: orders-queue
fifoQueue: false
deliveryDelay: 0
visibilityTimeout: 60
receiveMessageWaitTime: 0
messageRetentionPeriod: 345600
x-sqs-attributes:
MaximumMessageSize: 1048576
SqsManagedSseEnabled: true
operations: {}

Download asyncapi.yaml

How to build this setup yourself

queues-prod

Terminal window
awslocal sqs create-queue --queue-name orders-queue --attributes '{"VisibilityTimeout": "60"}'

All flags: kurkik sqs export · more Amazon SQS export examples