[{"data":1,"prerenderedAt":70},["ShallowReactive",2],{"pattern-sfn-lambda-lambda":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":50,"s3URL":64,"services":6,"stem":65,"testing":66,"videoId":6,"__hash__":69},"patterns\u002Fpatterns\u002Fsfn-lambda-lambda.json","Step Functionsto AWS Lambda to AWS Lambda",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fsaborni-bhattacharya.json",{"text":13},[14],"sam deploy","Create Step Functions Standard Workflow that orchestrates two Lambda functions","json","AWS SAM",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fsfn-lambda-lambda","serverless-patterns\u002Fsfn-lambda-lambda","sfn-lambda-lambda","template.yaml",{"headline":25,"text":26},"How it works",[27,28,29],"This sample project demonstrates how to use a state machine to orchestrate the execution of two Lambda functions","Once the state machine is executed the first Lambda function gets invoked. The output from this function is used as an event to trigger another Lambda function","This pattern deploys a State Machine and two Lambda Functions.","Node.js","200",{},{"icon1":34,"icon2":39,"icon3":42,"line1":44,"line2":48},{"x":35,"y":36,"service":37,"label":38},20,50,"sfn","Step Functions",{"x":36,"y":36,"service":40,"label":41},"lambda","AWS Lambda",{"x":43,"y":36,"service":40,"label":41},80,{"from":45,"to":46,"label":47},"icon1","icon2","",{"from":46,"to":49,"label":47},"icon3",{"bullets":51},[52,55,58,61],{"text":53,"link":54},"Creating a Step Functions State Machine That Uses Lambda","https:\u002F\u002Fdocs.aws.amazon.com\u002Fstep-functions\u002Flatest\u002Fdg\u002Ftutorial-creating-lambda-state-machine.html",{"text":56,"link":57},"Handling Error Conditions Using a Step Functions State Machine","https:\u002F\u002Fdocs.aws.amazon.com\u002Fstep-functions\u002Flatest\u002Fdg\u002Ftutorial-handling-error-conditions.html",{"text":59,"link":60},"AWS CLI start-execution","https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fstepfunctions\u002Fstart-execution.html#start-execution",{"text":62,"link":63},"Create a Step Functions State Machine Using AWS SAM","https:\u002F\u002Fdocs.aws.amazon.com\u002Fstep-functions\u002Flatest\u002Fdg\u002Ftutorial-state-machine-using-sam.html","https:\u002F\u002Fda-public-assets.s3.amazonaws.com\u002Fpatterns\u002Fsfn-lambda-lambda\u002Fcloudformation.yml","patterns\u002Fsfn-lambda-lambda",{"text":67},[68],"See the GitHub repo for detailed testing instructions.","Em_J-xh9-v_eawEgudeK5nqeXPVnoo3wrhi6dPbtjyY",1778846887894]