2016-10-24 17:12:55 +02:00

18 lines
301 B
YAML

service: aws-nodejs # NOTE: update this with your service name
provider:
name: aws
runtime: nodejs4.3
cfLogs: true
functions:
hello:
handler: handler.hello
events:
- http:
path: hello
method: GET
authorizer: auth
auth:
handler: handler.auth