Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bogeyman76/lambda_sms

Sends a text message to a phone number from AWS Lambda
https://github.com/bogeyman76/lambda_sms

aws-lambda aws-sms aws-sns lambda

Last synced: about 2 months ago
JSON representation

Sends a text message to a phone number from AWS Lambda

Awesome Lists containing this project

README

        

# lambda_sms
Description: Sends a text message to a phone number from AWS Lambda

This is a sample script of how to send a text message from Lambda.

You will require:
- Appropriate permissions to send via SMS
- An AWS active origination number to send from
- Registered destination numbers while in Sandbox mode

The execution role must contain the following to allow the message to be sent:

{
"Effect": "Allow",
"Action": [
"sns:Publish",
"sns:SetSMSAttribute"
],
"Resource": "*"
}

For reference:
https://docs.aws.amazon.com/sns/latest/dg/sns-mobile-phone-number-as-subscriber.html