16 lines
258 B
YAML
16 lines
258 B
YAML
|
service: my-service # NOTE: update this with your service name
|
||
|
|
||
|
provider:
|
||
|
name: aws
|
||
|
runtime: nodejs8.10
|
||
|
|
||
|
functions:
|
||
|
hello:
|
||
|
handler: handler.hello
|
||
|
events:
|
||
|
- http:
|
||
|
path: hello
|
||
|
method: get
|
||
|
|
||
|
plugins:
|
||
|
- serverless-offline
|