[{"data":1,"prerenderedAt":63},["ShallowReactive",2],{"pattern-lambda-lambda-java-sam":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":12,"deploy":14,"description":17,"extension":18,"framework":19,"gitHub":20,"highlight":6,"introBox":26,"language":33,"level":34,"meta":35,"patternArch":36,"resources":48,"s3URL":6,"services":6,"stem":57,"testing":58,"videoId":6,"__hash__":62},"patterns\u002Fpatterns\u002Flambda-lambda-java-sam.json","AWS Lambda to AWS Lambda",null,{"headline":8,"text":9},"Cleanup",[10,11],"1. Delete the stack: \u003Ccode>sam delete --stack-name STACK_NAME\u003C\u002Fcode>.","2. Confirm the stack has been deleted: \u003Ccode>aws cloudformation list-stacks --query \"StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus\"\u003C\u002Fcode>",[13],"content\u002Fcontributors\u002Frazvan-minciuna.json",{"text":15},[16],"sam deploy --guided","Create Lambda function that sychronously invokes another Lambda function.","json","AWS SAM",{"template":21},{"projectFolder":22,"repoURL":23,"templateURL":24,"templateFile":25},"lambda-lambda-sam-java","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-lambda-sam-java","serverless-patterns\u002Flambda-lambda-sam-java","template.yml",{"headline":27,"text":28},"How it works",[29,30,31,32],"In this pattern SAM will deploy two Lambda functions, LambdaRequest and LambdaResponse. The LambdaRequest will call the LambdaResponse synchronously, and will wait for the response from the LambdaResponse function. The LambdaResponse will return an JSON payload.","The SAM template contains all the information to deploy AWS resources and also the permission required by these service to communicate.","You will be able to create and delete the CloudFormation stack using the CLI commands.","This is fully functional example developed in Java 11.","Java","200",{},{"icon1":37,"icon2":42,"line1":44},{"x":38,"y":39,"service":40,"label":41},20,45,"lambda","AWS Lambda function",{"x":43,"y":39,"service":40,"label":41},80,{"from":45,"to":46,"label":47},"icon1","icon2","Synchronous request",{"headline":49,"bullets":50},"Additional resources",[51,54],{"text":52,"link":53},"Introducing AWS Lambda Destinations","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fintroducing-aws-lambda-destinations\u002F",{"text":55,"link":56},"Controls for Managing Events in Serverless Applications - AWS Online Tech Talks","https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=rMXQGKAiBqI","patterns\u002Flambda-lambda-java-sam",{"headline":59,"text":60},"Testing",[61],"See the GitHub repo for detailed testing instructions.","3kbyLHddmdxJrrxr6bd8P09FHL_rsSaFtuWl7G9O7C0",1778846886370]