Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Designs, builds, deploys, tests, and debugs serverless applications on AWS Lambda using the AWS Serverless MCP Server.
59% 86%+27 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 13 of 22 without it.
3 of 3 safety checks passed
Not used yet
This guide covers the most common Lambda event sources — both polling-based (Event Source Mappings) and push-based (S3 notifications, SNS subscriptions). Use esm_guidance for polling source setup recommendations and esm_optimize for performance tuning.
Delivery guarantee: All Lambda event sources deliver events at least once. Your function must be idempotent — the same record may be processed more than once. Use the AWS Lambda Powertools Idempotency utility (backed by DynamoDB) to handle duplicates safely.
Event Source Mappings use a Lambda-managed poller that reads from the source, batches records, and invokes your function. You control throughput via batch size, concurrency, and parallelization.
Use case: React to data changes in DynamoDB tables
Key configuration:
StartingPosition: LATEST for new records only, TRIM_HORIZON for allBatchSize: 1-10000 (default 100)ParallelizationFactor: 1-10 (default 1, increase for throughput)BisectBatchOnFunctionError: Enable to isolate poison recordsMaximumRetryAttempts: Set to prevent infinite retries (default unlimited)MaximumBatchingWindowInSeconds: Buffer time before invoking (0-300)Best practices:
BisectBatchOnFunctionError and set MaximumRetryAttempts to 3ParallelizationFactor > 1 when processing can't keep upUse case: Process real-time streaming data
Key configuration:
BatchSize: 1-10000 (default 100)ParallelizationFactor: 1-10 (should not exceed shard count)MaximumBatchingWindowInSeconds: Buffer time (0-300)Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.