1 Star 0 Fork 0

serverless-book / helloWorld

加入 Gitee
与超过 600 万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
serverless.yml 692 Bytes
一键复制 编辑 Web IDE 原始数据 按行查看 历史
yangchun 提交于 2019-04-08 16:45 . add plugin
service: api-gitbook
frameworkVersion: ">=1.1.0 <2.0.0"
provider:
name: aws
endpointType: EDGE # EDGE or REGIONAL
runtime: nodejs8.10
stage: dev # Set the default stage used. Default is dev
region: us-west-2 # cn-north-1 #us-west-2 # Overwrite the default region used. Default is us-east-1
memorySize: 512 # Overwrite the default memory size. Default is 1024
timeout: 10 # The default is 6 seconds. Note: API Gateway current maximum is 30 seconds
package:
exclude:
- README.md
- .vscode
- .gitignore
plugins:
- serverless-offline
functions:
test:
handler: helloWorld.sayHello
events:
- http:
path: sayHello
method: get

评论 ( 0 )

你可以在登录后,发表评论

JavaScript
1
https://gitee.com/serverless-book/helloWorld.git
git@gitee.com:serverless-book/helloWorld.git
serverless-book
helloWorld
helloWorld
master

搜索帮助