Skip to content

Sends a text message to a phone number from AWS Lambda

License

Notifications You must be signed in to change notification settings

bogeyman76/lambda_sms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Sends a text message to a phone number from AWS Lambda

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages