[{"data":1,"prerenderedAt":59},["ShallowReactive",2],{"pattern-sfn-lambda-function-crossaccount":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":46,"s3URL":6,"services":6,"stem":54,"testing":55,"videoId":6,"__hash__":58},"patterns\u002Fpatterns\u002Fsfn-lambda-function-crossaccount.json","Invoke cross account AWS Lambda function directly via Step function",null,{"text":8},[9],"Delete the stack: sam delete --stack-name \u003Cstackname>",[11],"content\u002Fcontributors\u002Fshivam-rajawat.json",{"text":13},[14],"sam deploy --guided","Create a Step function which invokes cross account Lambda function","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-function-crossaccount","serverless-patterns\u002Fsfn-lambda-function-crossaccount","sfn-lambda-function-crossaccount","template.yaml",{"headline":25,"text":26},"How it works",[27,28],"This sample pattern allows users from one account to invoke their Lambda function present in a different account via Step function and retrieve the desired output.","This is highly efficient and useful when it comes to pulling cross account data all in one place.","Python","200",{},{"icon1":33,"icon2":38,"line1":42},{"x":34,"y":35,"service":36,"label":37},20,50,"sfn","AWS Step Functions",{"x":39,"y":35,"service":40,"label":41},80,"lambda","AWS Lambda",{"from":43,"to":44,"label":45},"icon1","icon2","",{"bullets":47},[48,51],{"text":49,"link":50},"Tutorial - How to invoke a Lambda function from Step function","https:\u002F\u002Fdocs.aws.amazon.com\u002Fstep-functions\u002Flatest\u002Fdg\u002Fconnect-lambda.html",{"text":52,"link":53},"Orchestration examples","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fservices-stepfunctions.html","patterns\u002Fsfn-lambda-function-crossaccount",{"text":56},[57],"See the GitHub repo for detailed testing instructions.","dsMa4HeZ1WkhaSCcSta71XorI0-iINP_DZDVMW4tvZY",1778846887889]