[{"data":1,"prerenderedAt":63},["ShallowReactive",2],{"pattern-lambda-sns-lambda-java":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":11,"deploy":13,"description":16,"extension":17,"framework":18,"gitHub":19,"highlight":6,"introBox":25,"language":29,"level":30,"meta":31,"patternArch":32,"resources":50,"s3URL":6,"services":6,"stem":58,"testing":59,"videoId":6,"__hash__":62},"patterns\u002Fpatterns\u002Flambda-sns-lambda-java.json","AWS Lambda to Amazon SNS to AWS Lambda",null,{"text":8},[9,10],"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>",[12],"content\u002Fcontributors\u002Frazvan-minciuna.json",{"text":14},[15],"sam deploy --guided","Create a Lambda producer than publishes to a Lambda consumer via SNS.","json","AWS SAM",{"template":20},{"projectFolder":21,"repoURL":22,"templateURL":23,"templateFile":24},"lambda-sns-lambda-sam-java","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-sns-lambda-sam-java","serverless-patterns\u002Flambda-sns-lambda-sam-java","template.yml",{"headline":26,"text":27},"How it works",[28],"This pattern creates two Lambda functions and an SNS topic using AWS SAM, and the code is implemented in Java 11.","Java","200",{},{"icon1":33,"icon2":38,"icon3":41,"line1":43,"line2":47},{"x":34,"y":35,"service":36,"label":37},20,50,"lambda","AWS Lambda",{"x":35,"y":35,"service":39,"label":40},"sns","Amazon SNS",{"x":42,"y":35,"service":36,"label":37},80,{"from":44,"to":45,"label":46},"icon1","icon2","Send messages",{"from":45,"to":48,"label":49},"icon3","Trigger",{"bullets":51},[52,55],{"text":53,"link":54},"Choosing between messaging services for serverless applications.","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fchoosing-between-messaging-services-for-serverless-applications\u002F",{"text":56,"link":57},"Configuring a queue to trigger an AWS Lambda function","https:\u002F\u002Fdocs.aws.amazon.com\u002FAWSSimpleQueueService\u002Flatest\u002FSQSDeveloperGuide\u002Fsqs-configure-lambda-function-trigger.html","patterns\u002Flambda-sns-lambda-java",{"text":60},[61],"See the GitHub repo for detailed testing instructions.","85yJpvLM501TJqPC2qqnJyt_26CQJjb1UkKjhHVyCac",1778846886633]