Skip to content

API reference / @node-ts/bus-sqs-lambda / BusSqsLambdaReceiverConfiguration

Interface: BusSqsLambdaReceiverConfiguration ​

Defined in: bus-sqs-lambda-receiver-configuration.ts:4

Configuration options for the BusSqsLambdaReceiver

Properties ​

PropertyTypeDescriptionDefined in
reportBatchItemFailures?booleanWhen true, bus.receive() resolves with an SQSBatchResponse listing the records that failed, rather than rejecting, so that only the failed records are retried. The Lambda's SQS event source mapping must have ReportBatchItemFailures enabled in its FunctionResponseTypes, otherwise Lambda ignores the response and deletes the failed records along with the successful ones. Default falsebus-sqs-lambda-receiver-configuration.ts:13

Released under the MIT License.