In this video, we will see how we can publish a message to an SNS topic from a lambda function.
We will start by creating an SNS topic. Then we will create an email subscription to that topic and add a message attribute to that topic. Once the topic is set, we will create a helper function that published to SNS. Be mindful of permission. We will add SNS full access permission to the Lambda function.
Once our helper function is ready we will create a test configuration and publish a message to the SNS. Once the SNS receives our message, it will forward it to the email.
コメント