---
url: >-
  https://node-ts.github.io/bus/api/bus-sqs-lambda/interfaces/BusSqsLambdaReceiverConfiguration.md
---
[API reference](../../index.md) / [@node-ts/bus-sqs-lambda](../index.md) / BusSqsLambdaReceiverConfiguration

# Interface: BusSqsLambdaReceiverConfiguration

Defined in: [bus-sqs-lambda-receiver-configuration.ts:4](https://github.com/node-ts/bus/blob/2e6cf65c27833b707ae31ee623cfb6343770f434/packages/bus-sqs-lambda/src/bus-sqs-lambda-receiver-configuration.ts#L4)

Configuration options for the BusSqsLambdaReceiver

## Properties

| Property | Type | Description | Defined in |
| ------ | ------ | ------ | ------ |
| <a id="property-reportbatchitemfailures"></a> `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](https://github.com/node-ts/bus/blob/2e6cf65c27833b707ae31ee623cfb6343770f434/packages/bus-sqs-lambda/src/bus-sqs-lambda-receiver-configuration.ts#L13) |
