d4v3y0rk / lambda-pushover

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lambda-pushover

TL;DR

Use AWS Lambda to send pushover notifications. The event JSON looks like this:

{
  "token": "your app token from pushover",
  "key": "your user key from pushover",
  "message": "your message to send"
}

Usage

On OSX clone the repo then npm i --save and zip up the contents of the folder. Upload that to lambda and create a test event with the JSON. POW! You're done.

Further Customization

Hard code your token and key into the code and you can use IAM to control who is able to send push notifications via an API Gateway.

Further Reading

http://docs.aws.amazon.com/apigateway/latest/developerguide/getting-started.html#getting-started-new-post

About


Languages

Language:JavaScript 100.0%