No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
project
src/main
.gitignore
README.md
build.sbt
serverless.yml

README.md

Slack Post Lambda Function Sample

Environment Variable

Please setting $AWS_PROFILE

Packaging

$ sbt assembly

Setting Slack API Token

Please modify serverless.yml

Deploy

$ sls deploy -v

Invoke

$ sls invoke -f sample -l

Tips

Sending a Message to an Amazon SQS Queue from CLI
$ aws sqs send-message --queue-url <queue-url> --message-body '{"message":"hello"}'
Receiving a Message to an Amazon SQS Queue from CLI
$ aws sqs receive-message --queue-url <queue-url>