Process Amazon SNS notification messages with AWS Lambda (Java)
Amazon SNS → AWS Lambda
This pattern shows how to process Amazon SNS messages using AWS Lambda.
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.