Skip to content
masterclass Buddy

AWS Services · Concept

Event Source Mapping

Lambda event source mappings poll supported streams and queues, then invoke a function with batches of records. Lambda ends a batch when its time, record count, or 6 MB payload limit is reached.

Last updated

Syntax

aws lambda create-event-source-mapping --function-name <function-name> --event-source-arn <event-source-arn> [--batch-size <integer>] [--maximum-batching-window-in-seconds <integer>] [--enabled | --no-enabled]

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • Event source mappings and triggers
  • Batching behavior
  • Provisioned mode
  • Event source mapping API
  • CreateEventSourceMapping
  • GetEventSourceMapping
  • ReportBatchItemFailures

Source: How Lambda processes records from stream and queue-based event sources - AWS Lambda. Checked 2026-11-03.