Amazon SNS SMS via Amazon API Gateway and AWS Lambda

API Gateway → AWS Lambda → Amazon SNS

Validate phone number and send SMS from SNS via API Gateway and Lambda

This pattern shows an example how a phone number can be validated and how a SMS message can be send using SNS APIs via API Gateway and Lambda deployed using AWS SAM.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/apigw-lambda-sns-sms

Deploy

sam deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: sam delete --stack-name STACK_NAME.

Created by:

Sahil Malhotra

Sahil Malhotra

Serverless enthusiast

Follow on LinkedIn