Let’s send SMS notifications with Lambda and SNS to a Phone Number.

Image for post

Amazon Simple Notification Service (Amazon SNS) is a web service that makes it easy to set up, operate, and send notifications from the cloud. It is a managed pub/sub messaging service.

Sometimes your applications need to send some notification to your phone number, right? Let’s say maybe an OTP or confirmation code. AWS SNS is capable of doing that.

In this article, we will send an SMS with a message to a specified phone number using Lambda.

Prerequisites

  1. Working AWS Account
  2. AWS Management Console Access

Using Lambda we can directly call SNS APIs to send notifications to your phone numbers if the lambda has enough permissions to do so.

Services Used

  1. AWS Lambda
  2. SNS
  3. IAM

#aws-sns #serverless #aws-lambda #aws

Sending SMS with AWS Lambda and SNS
2.35 GEEK