[{"data":1,"prerenderedAt":63},["ShallowReactive",2],{"pattern-sns-lambda-java-sam":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":16,"extension":17,"framework":18,"gitHub":19,"highlight":25,"introBox":26,"language":30,"level":31,"meta":32,"patternArch":34,"resources":47,"s3URL":6,"services":6,"stem":58,"testing":59,"videoId":6,"__hash__":62},"patterns\u002Fpatterns\u002Fsns-lambda-java-sam.json","Process Amazon SNS notification messages with AWS Lambda (Java)",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fjulian-wood.json",{"text":13},[14,15],"sam build","sam deploy --guided","This pattern shows how to process Amazon SNS messages using AWS Lambda.","json","AWS SAM",{"template":20},{"repoURL":21,"templateURL":22,"projectFolder":23,"templateFile":24},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fsns-lambda-java-sam","serverless-patterns\u002Fsns-lambda-java-sam","sns-lambda-java-sam","template.yaml","true",{"headline":27,"text":28},"How it works",[29],"The AWS SAM template deploys an AWS Lambda function, an Amazon SNS topic, and the IAM permissions required to run the application. Lambda subscribes to the SNS topic to process notifications messages. When you publish a message to the SNS topic, SNS sends the message to the Lambda service asynchronously. The Lambda service invokes the the Lambda function.","Java","200",{"AWS":33},"",{"icon1":35,"icon2":40,"line1":44},{"x":36,"y":37,"service":38,"label":39},20,50,"sns","Amazon SNS",{"x":41,"y":37,"service":42,"label":43},80,"lambda","AWS Lambda",{"from":45,"to":46,"label":33},"icon1","icon2",{"bullets":48},[49,52,55],{"text":50,"link":51},"Invoking Lambda functions with Amazon SNS notifications","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fwith-sns.html?trk=2dd77e51-cb93-4970-a61a-5993781e5576&sc_channel=el",{"text":53,"link":54},"Invoking a Lambda function asynchronously","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Finvocation-async.html?trk=2dd77e51-cb93-4970-a61a-5993781e5576&sc_channel=el",{"text":56,"link":57},"Introducing an enhanced local IDE experience for AWS Lambda developers","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fintroducing-an-enhanced-local-ide-experience-for-aws-lambda-developers?trk=2dd77e51-cb93-4970-a61a-5993781e5576&sc_channel=el","patterns\u002Fsns-lambda-java-sam",{"text":60},[61],"See the GitHub repo for detailed testing instructions.","km7-kQPTWpwNw7WgChOvhTIS9VlsL8ul8qlXAZH4deE",1778846888084]