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
| Property | Type | Description | Defined in |
|---|---|---|---|
reportBatchItemFailures? | boolean | When 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 false | bus-sqs-lambda-receiver-configuration.ts:13 |