[{"data":1,"prerenderedAt":65},["ShallowReactive",2],{"pattern-cdk-custom-resource-multiple-lambdas":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":52,"s3URL":6,"services":6,"stem":60,"testing":61,"videoId":6,"__hash__":64},"patterns\u002Fpatterns\u002Fcdk-custom-resource-multiple-lambdas.json","Custom resource with multiple AWS Lambda functions",null,{"text":8},[9],"Delete the stack: \u003Ccode>cdk delete -f\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fdmitry-gulin.json",{"text":13},[14],"cdk deploy --require-approval never","This pattern demonstrates the use of multiple AWS Lambda functions to manage a custom resource with CDK.","json","AWS CDK",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fcdk-custom-resource-multiple-lambdas","serverless-patterns\u002Fcdk-custom-resource-multiple-lambdas","cdk-custom-resource-multiple-lambdas","lib\u002Fdemo-stack.ts",{"headline":25,"text":26},"How it works",[27,28,29],"AWS CloudFormation can wait for up to an hour for a custom resource to report its success or failure. However, AWS Lambda function execution is limited with just 15 minutes maximum.","This sample project demonstrates how to use multiple AWS Lambda functions to manage a custom resource, so that developers are not limited by the 15 minutes Lambda execution timeout.","This pattern deploys two Lambda Functions and an SQS queue. SQS queue is being used for illustrative purposes only - to demonstrate that a different process, other than the custom resource Lambda function, can be used to report the resource creation result.","TypeScript","200",{},{"icon1":34,"icon2":39,"icon3":42,"line1":46,"line2":50},{"x":35,"y":36,"service":37,"label":38},20,50,"cloudformation","AWS CloudFormation",{"x":36,"y":36,"service":40,"label":41},"lambda","AWS Lambda",{"x":43,"y":36,"service":44,"label":45},80,"sqs","Amazon SQS queue",{"from":47,"to":48,"label":49},"icon1","icon2","",{"from":48,"to":51,"label":49},"icon3",{"bullets":53},[54,57],{"text":55,"link":56},"Custom resources","https:\u002F\u002Fdocs.aws.amazon.com\u002FAWSCloudFormation\u002Flatest\u002FUserGuide\u002Ftemplate-custom-resources.html",{"text":58,"link":59},"Implementing long running deployments with AWS CloudFormation Custom Resources using AWS Step Functions","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fdevops\u002Fimplementing-long-running-deployments-with-aws-cloudformation-custom-resources-using-aws-step-functions\u002F","patterns\u002Fcdk-custom-resource-multiple-lambdas",{"text":62},[63],"See the GitHub repo for detailed testing instructions.","krBw_tUMPvdQ1C_QNFCmN-IbTT4kFKFuZ2FIGmOrjaI",1778927706507]