Created
October 20, 2018 12:41
-
-
Save nimboya/22296645f3816ac4aca3f1b0fd05c221 to your computer and use it in GitHub Desktop.
A Serverless Framework Configuration File
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service: kannel_sms_sender | |
app: kannel_sms_sender_service | |
provider: | |
name: aws | |
runtime: nodejs8.10 | |
environment: ${file(env.yml):${self:provider.stage}} | |
region: eu-west-1 | |
functions: | |
getBase: | |
handler: app.handler.getBase | |
events: | |
- http: | |
path: / | |
method: get | |
sendMessage: | |
handler: app.handler.sendMessage | |
events: | |
- http: | |
path: /send | |
method: post | |
cors: true | |
plugins: | |
- serverless-offline |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment