Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bogeyman76/lambda_sms
- Owner: bogeyman76
- License: cc0-1.0
- Created: 2023-01-11T18:52:21.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-11T19:07:30.000Z (almost 2 years ago)
- Last Synced: 2024-10-23T03:17:33.800Z (3 months ago)
- Topics: aws-lambda, aws-sms, aws-sns, lambda
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lambda_sms
Description: Sends a text message to a phone number from AWS LambdaThis 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 modeThe 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