[{"data":1,"prerenderedAt":88},["ShallowReactive",2],{"explore-lambda-durable-functions":3},{"id":4,"title":5,"YouTubeChannelID":6,"banner":6,"contributors":7,"description":6,"extension":9,"introBox":10,"meta":13,"pdf":6,"resources":14,"stem":83,"type":6,"video":84,"videos":6,"__hash__":87},"explore\u002Fexplore\u002Flambda-durable-functions.json","AWS Lambda durable functions",null,[8],"content\u002Fcontributors\u002Feric-johnson.json","json",{"headline":11,"text":12},"Build fault-tolerant workflows in code with AWS Lambda durable functions.","AWS Lambda durable functions extend the Lambda programming model with built-in capabilities for fault-tolerant, long-running workflows. Checkpoint progress, recover from failures, and suspend execution for up to one year — all without compute charges. You write sequential code in your preferred language, and the open source durable execution SDK handles checkpointing, retries, and state management automatically.\u003Cbr>\u003Cbr>Durable functions introduce two core primitives: \u003Cstrong>Steps\u003C\u002Fstrong> (\u003Ccode>context.step()\u003C\u002Fcode>) for automatic retries and checkpointing, and \u003Cstrong>Waits\u003C\u002Fstrong> (\u003Ccode>context.wait()\u003C\u002Fcode>) for suspending execution without compute charges. Additional operations include \u003Ccode>waitForCallback()\u003C\u002Fcode> for human-in-the-loop approvals, \u003Ccode>waitForCondition()\u003C\u002Fcode> for polling, and \u003Ccode>parallel()\u003C\u002Fcode> or \u003Ccode>map()\u003C\u002Fcode> for concurrency patterns.\u003Cbr>\u003Cbr>Durable functions currently support Python, Node.js (JavaScript\u002FTypeScript), and Java runtimes, and integrate with existing Lambda event sources, AWS SAM, AWS CDK, CloudFormation, and Terraform.",{},{"left":15,"right":36},[16,23,29],{"headline":17,"subheading":18,"text":19,"button":20},"Build multi-step applications and AI workflows with AWS Lambda durable functions","AWS News Blog","The launch announcement walks through creating a durable function, using the SDK primitives, and building a production-ready order processing workflow with callbacks for external approvals and configurable retry strategies.",{"text":21,"link":22},"Read","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Faws\u002Fbuild-multi-step-applications-and-ai-workflows-with-aws-lambda-durable-functions\u002F",{"headline":24,"subheading":25,"text":26,"button":27},"Building fault-tolerant applications with AWS Lambda durable functions","AWS Compute Blog","A deeper technical walkthrough covering the checkpoint and replay mechanism, how durable operations are persisted, and a user onboarding example with email verification and 24-hour timeout using waitForCallback.",{"text":21,"link":28},"https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fbuilding-fault-tolerant-long-running-application-with-aws-lambda-durable-functions\u002F",{"headline":30,"subheading":31,"text":32,"button":33},"Durable Functions vs Step Functions: when to use which","Architecture guidance","Durable functions focus on application logic orchestration using familiar programming languages. Step Functions are suited for workflow orchestration across AWS services with visual state machines. Choose based on whether your coordination is code-centric or service-centric.",{"text":34,"link":35},"Learn more","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fdurable-basic-concepts.html",[37,44,58,77],{"headline":38,"subheading":39,"text":40,"button":41},"re:Invent 2025 - Deep Dive on AWS Lambda durable functions (CNS380)","re:Invent 2025","Eric Johnson and Michael Gasch walk through the evolution from monolithic architectures to durable functions, covering the checkpoint and replay mechanism, compensation patterns, the testing framework, and pricing model.",{"text":42,"link":43},"Watch","https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=XJ80NBOwsow",{"headline":45,"subheading":46,"text":47,"bullets":48},"Common use cases","What to build","Durable functions are well suited for multi-step workflows that need reliability and long-running coordination.",[49,51,53,56],{"text":50,"link":28},"Multi-step payment processing with retries",{"text":52,"link":22},"AI agent orchestration and prompt chaining",{"text":54,"link":55},"Human-in-the-loop approval processes","https:\u002F\u002Fdocs.aws.amazon.com\u002Fdurable-functions\u002Fgetting-started\u002Fkey-concepts\u002F",{"text":57,"link":35},"Long-running data processing pipelines",{"headline":59,"subheading":60,"text":61,"bullets":62},"Durable Execution SDK","Developer resources","The SDK provides the primitives for checkpointing, retries, and execution flow management. Available for Python and Node.js\u002FTypeScript.",[63,66,68,71,74],{"text":64,"link":65},"Durable Execution SDK Developer Guide","https:\u002F\u002Fdocs.aws.amazon.com\u002Fdurable-functions\u002F",{"text":67,"link":55},"SDK key concepts: steps, waits, callbacks",{"text":69,"link":70},"Best practices for Lambda durable functions","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fdurable-best-practices.html",{"text":72,"link":73},"Python SDK on PyPI","https:\u002F\u002Fpypi.org\u002Fproject\u002Faws-durable-execution-sdk-python\u002F",{"text":75,"link":76},"Creating Lambda durable functions","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fdurable-getting-started.html",{"headline":78,"subheading":39,"text":79,"button":80},"re:Invent 2025 - Building the future with AWS Serverless","This session covers three major launches: the Serverless MCP server, Lambda Managed Instances, and Lambda Durable Functions, with a live-built application demonstrating each capability.",{"text":81,"link":82},"Watch session recap","https:\u002F\u002Fwww.repost.aws\u002Farticles\u002FARJk60C4J7TSe0eUUhskzPfw\u002Fre-invent-2025-building-the-future-with-aws-serverless","explore\u002Flambda-durable-functions",{"headline":85,"videoId":86},"Hands on with AWS Lambda Durable Functions","M-R6JLS3I2k","um2cFPf4EBws5q5fxEakChnYxeHn_TNmRvcMiXN8QEg",1792578863427]