[{"data":1,"prerenderedAt":62},["ShallowReactive",2],{"pattern-lambda-durable-bedrock-cdk":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":15,"extension":16,"framework":17,"gitHub":18,"highlight":6,"introBox":24,"language":30,"level":31,"meta":32,"patternArch":33,"resources":47,"s3URL":6,"services":6,"stem":57,"testing":58,"videoId":6,"__hash__":61},"patterns\u002Fpatterns\u002Flambda-durable-bedrock-cdk.json","AWS Lambda durable functions with Amazon Bedrock",null,{"text":8},[9],"Delete the stack: \u003Ccode>cdk destroy\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fnithin-chandran-r.json",{"text":13},[14],"cdk deploy","AWS Lambda durable functions with Amazon Bedrock for a multi-step AI pipeline with automatic checkpointing and failure recovery.","json","AWS CDK",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-durable-bedrock-cdk","serverless-patterns\u002Flambda-durable-bedrock-cdk","lambda-durable-bedrock-cdk","lib\u002Flambda-durable-bedrock-stack.ts",{"headline":25,"text":26},"How it works",[27,28,29],"This pattern deploys a Lambda durable function that orchestrates a multi-step AI content pipeline using Amazon Bedrock. The function uses the Durable Execution SDK to automatically checkpoint progress at each step.","The workflow: (1) generates a blog outline from a topic using Claude, (2) waits 5 seconds to simulate editorial review, (3) expands the outline into a full draft, (4) generates a summary of the draft. Each step is checkpointed, so if the function is interrupted, it resumes from the last completed step without re-invoking Bedrock.","This pattern demonstrates how durable functions eliminate the need for Step Functions in tightly-coupled AI workflows while providing built-in resilience.","TypeScript","300",{},{"icon1":34,"icon2":39,"line1":43},{"x":35,"y":36,"service":37,"label":38},20,50,"lambda","AWS Lambda durable function",{"x":40,"y":36,"service":41,"label":42},80,"bedrock","Amazon Bedrock",{"from":44,"to":45,"label":46},"icon1","icon2","Request ANY {proxy+}",{"bullets":48},[49,52,55],{"text":50,"link":51},"Lambda Durable Functions Documentation","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fdurable-functions.html",{"text":53,"link":54},"Build multi-step applications and AI workflows with Lambda durable functions","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Faws\u002Fbuild-multi-step-applications-and-ai-workflows-with-aws-lambda-durable-functions\u002F",{"text":42,"link":56},"https:\u002F\u002Faws.amazon.com\u002Fbedrock\u002F","patterns\u002Flambda-durable-bedrock-cdk",{"text":59},[60],"See the GitHub repo for detailed testing instructions.","9fVDbAP4iaPNUtJxqkQj5WSr32kXSDavDkboRy2Hp-8",1778846885957]