[{"data":1,"prerenderedAt":60},["ShallowReactive",2],{"pattern-sfn-to-sfn-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":29,"level":30,"meta":31,"patternArch":32,"resources":44,"s3URL":6,"services":6,"stem":55,"testing":56,"videoId":6,"__hash__":59},"patterns\u002Fpatterns\u002Fsfn-to-sfn-cdk.json","Start Step Functionsexecution within Step Function",null,{"text":8},[9],"Delete the stack: \u003Ccode>cdk destroy --all\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fpubudu-jayawardana.json",{"text":13},[14],"cdk deploy --all","Start a Step Functionsexecution as a step in another Step Function.","json","AWS CDK",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fsfn-to-sfn-cdk","serverless-patterns\u002Fsfn-to-sfn-cdk","sfn-to-sfn-cdk","lib\u002Fsfn-to-sfn-cdk-stack.ts",{"headline":25,"text":26},"How it works",[27,28],"This sample project demonstrates how to create 2 State Machines and call one within the other's workflow.","Here callback pattern is used to hold the parent State Machine's execution until the child State Machine's execution is completed.","TypeScript","200",{},{"icon1":33,"icon2":38,"line1":40},{"x":34,"y":35,"service":36,"label":37},20,50,"sfn","Step Functions",{"x":39,"y":35,"service":36,"label":37},80,{"from":41,"to":42,"label":43},"icon1","icon2","",{"bullets":45},[46,49,52],{"text":47,"link":48},"AWS Step Functions","https:\u002F\u002Faws.amazon.com\u002Fstep-functions\u002Fgetting-started\u002F",{"text":50,"link":51},"AWS Step Functions SDK integrations","https:\u002F\u002Fdocs.aws.amazon.com\u002Fstep-functions\u002Flatest\u002Fdg\u002Fsupported-services-awssdk.html",{"text":53,"link":54},"AWS Step Functions Executions as an Integrated Service","https:\u002F\u002Fdocs.aws.amazon.com\u002Fstep-functions\u002Flatest\u002Fdg\u002Fconnect-stepfunctions.html","patterns\u002Fsfn-to-sfn-cdk",{"text":57},[58],"See the GitHub repo for detailed testing instructions.","83g8SU2YqkwKxYFfc_XyFStnbufVPfl05dXdmiHaRw0",1781433316747]