[{"data":1,"prerenderedAt":79},["ShallowReactive",2],{"pattern-lambda-durable-esm-and-chaining":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":11,"deploy":13,"description":17,"extension":18,"framework":19,"gitHub":20,"highlight":6,"introBox":26,"language":30,"level":31,"meta":32,"patternArch":33,"resources":59,"s3URL":6,"services":71,"stem":73,"testing":74,"videoId":6,"__hash__":78},"patterns\u002Fpatterns\u002Flambda-durable-esm-and-chaining.json","Event-Driven Data Pipeline with AWS Lambda Durable Functions",null,{"headline":8,"text":9},"Cleanup",[10],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[12],"content\u002Fcontributors\u002Fsahithi-ginjupalli.json",{"text":14},[15,16],"sam build","sam deploy --guided","This serverless pattern demonstrates building an event-driven pipeline using AWS Lambda Durable Functions with direct SQS Event Source Mapping","json","AWS SAM",{"template":21},{"repoURL":22,"templateURL":23,"templateFile":24,"projectFolder":25},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-durable-esm-and-chaining","serverles-patterns\u002Flambda-durable-esm-and-chaining","template.yaml","lambda-durable-esm-and-chaining",{"headline":27,"text":28},"How it works",[29],"This pattern demonstrates an event-driven data processing pipeline using AWS Lambda Durable Functions with direct SQS Event Source Mapping. When a message arrives in the SQS queue, it directly triggers the durable function (no intermediary Lambda needed). The durable function then orchestrates a series of specialized processing steps using Lambda invoke chaining, first validating the incoming data, then transforming it , and finally storing the processed results in DynamoDB. Throughout this process, the durable function automatically creates checkpoints, enabling fault-tolerant execution that can recover from failures without losing progress. The entire pipeline operates within the 15-minute ESM execution limit, making it ideal for reliable batch processing workflows.","Python","200",{},{"icon1":34,"icon2":39,"line1":42,"icon3":46,"icon4":49,"icon5":50,"line2":52,"line3":54,"line4":57},{"x":35,"y":36,"service":37,"label":38},15,50,"sqs","Amazon SQS queue",{"x":36,"y":36,"service":40,"label":41},"lambda","AWS Lambda durable function",{"from":43,"to":44,"label":45},"icon1","icon2","Event Source Mapping",{"x":47,"y":35,"service":40,"label":48},90,"",{"x":47,"y":36,"service":40,"label":48},{"x":47,"y":51,"service":40,"label":48},85,{"from":44,"to":53,"label":48},"icon3",{"from":44,"to":55,"label":56},"icon4","Chained Invocation",{"from":44,"to":58,"label":48},"icon5",{"headline":60,"bullets":61},"Additional resources",[62,65,68],{"text":63,"link":64},"AWS Lambda Durable Functions Documentation","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fdurable-functions.html",{"text":66,"link":67},"Event Source Mappings with Durable Functions","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fdurable-invoking-esm.html",{"text":69,"link":70},"Durbale Function Lambda Invoke Chaining","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fdurable-examples.html#durable-examples-chained-invocations",[37,40,72],"dynamoDB","patterns\u002Flambda-durable-esm-and-chaining",{"headline":75,"text":76},"Testing",[77],"See the GitHub repo for detailed testing instructions.","a62FoTmoZTpYrlhVyWUIST2Sa5hNaS9y-AMJX3O1Gzs",1778846885961]