Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/d6y/aws-lambda-scala-slack
Example Slack integration via Lambda and AWS API Gateway
https://github.com/d6y/aws-lambda-scala-slack
Last synced: about 1 month ago
JSON representation
Example Slack integration via Lambda and AWS API Gateway
- Host: GitHub
- URL: https://github.com/d6y/aws-lambda-scala-slack
- Owner: d6y
- License: apache-2.0
- Created: 2016-01-17T23:12:59.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-20T14:52:57.000Z (almost 9 years ago)
- Last Synced: 2023-03-10T19:08:47.853Z (almost 2 years ago)
- Language: Scala
- Size: 41 KB
- Stars: 16
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Example Slack Command via AWS Lambda using Scala
This example is not far from the echo example [that AWS provide](https://aws.amazon.com/about-aws/whats-new/2015/12/aws-lambda-launches-slack-integration-blueprints/), but in Scala.
It does a little bit more, in that it gives a world clock via `/time`:
![screenshot of the time command](example.png)
## To install into an existing Lambda/API Gateway environment
```
sbt assembly
```...and deploy the JAR to your Lambda environment. The function name is: `example.Slack::time`
I've [written a blog post](http://underscore.io/blog/posts/2016/02/01/aws-lambda.html) on this.