23 lines
353 B
YAML

service:
name: aws-nodejs-ecma-script
#app: your-app-name
#tenant: your-tenant-name
# Add the serverless-webpack plugin
plugins:
- serverless-webpack
provider:
name: aws
runtime: nodejs8.10
functions:
first:
handler: first.hello
second:
handler: second.hello
events:
- http:
method: get
path: second