Skip to content

Amazon SQS operation binding

Contains information about the operation representation in Amazon SQS.

Structure

copy
{
$schema:"http://json-schema.org/draft-07/schema#"
$id:"http://asyncapi.com/bindings/sqs/0.2.0/operation.json"
title:"Operation Schema"
description:"This object contains information about the operation representation in SQS."
type:"object"
additionalProperties:false
patternProperties:{...}
properties:{...}
required:[...]
definitions:{...}
examples:[...]
}

Examples

json
{
    "queues": [
        {
            "name": "myQueue",
            "fifoQueue": true,
            "deduplicationScope": "messageGroup",
            "fifoThroughputLimit": "perMessageGroupId",
            "deliveryDelay": 10,
            "redrivePolicy": {
                "deadLetterQueue": {
                    "name": "myQueue_error"
                },
                "maxReceiveCount": 15
            },
            "policy": {
                "statements": [
                    {
                        "effect": "Deny",
                        "principal": "arn:aws:iam::123456789012:user/dec.kolakowski",
                        "action": [
                            "sqs:SendMessage",
                            "sqs:ReceiveMessage"
                        ]
                    }
                ]
            }
        },
        {
            "name": "myQueue_error",
            "deliveryDelay": 10
        }
    ]
}

Changelog

Good news, nothing was changed