Optional ReadonlybatchMaximum number of messages delivered to the function in a single invocation. Batches above 10 require maxBatchingWindowSeconds to also be set.
Optional ReadonlyenabledWhether the event source mapping polls the queue. Set to false to deploy the mapping in a stopped state and enable it later.
Optional ReadonlyfilterFilter patterns restricting which messages are delivered to the function. A message is delivered if it matches any one of the patterns.
Optional ReadonlymaxMaximum seconds to gather messages before invoking the function, trading latency for fewer, larger batches.
Optional ReadonlymaxMaximum concurrent function invocations this event source will drive, applying backpressure so that a queue backlog cannot exhaust account concurrency.
Optional ReadonlyreportWhether the function reports individual message failures, so that only the failed messages return to the queue instead of the entire batch. Requires the function to return a batchItemFailures payload.
Binding between a function and a queue declared in the same module config, creating a Lambda event source mapping which polls the queue and invokes the function with batches of messages.
Use cases: Queue-driven data processing; Batched transformation; Partial failure handling
AWS: Lambda event source mapping with an SQS event source
Validation: Optional properties only; the binding's key must name a queue declared under the module's
queuessection