The type of the batch processor, defaults to BasePartialBatchProcessor
Optional
context?: ContextThe context object provided by the AWS Lambda runtime. When provided, it's made available to the handler function you specify
Optional
processInParallel?: T extends SqsFifoPartialProcessorIndicates whether the records should be processed in parallel.
When set to true
, the records will be processed in parallel using Promise.all
.
When set to false
, the records will be processed sequentially.
Optional
skipGroupOnError?: T extends SqsFifoPartialProcessorThis option is only available for SqsFifoPartialProcessor & SqsFifoPartialProcessorAsync. If true skip the group on error during processing.
Optional
throwOnFullBatchFailure?: booleanSet this to false to prevent throwing an error if the entire batch fails.
Options for batch processing