2 Star 0 Fork 0

serverless-book / helloWorld-aliyun

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
template.yml 616 Bytes
一键复制 编辑 原始数据 按行查看 历史
yangchun 提交于 2019-03-20 21:21 . last code
ROSTemplateFormatVersion: '2015-09-01'
Transform: 'Aliyun::Serverless-2018-04-03'
Resources:
local-http-demo:
Type: 'Aliyun::Serverless::Service'
Properties:
Description: 'local invoke demo'
helloWorld:
Type: 'Aliyun::Serverless::Function'
Properties:
Handler: helloworld.helloWorld
CodeUri: ./
Description: 'http trigger demo with nodejs8!'
Runtime: nodejs8
Initializer: helloworld.initializer
Events:
http-test:
Type: HTTP
Properties:
AuthType: ANONYMOUS
Methods: ['GET', 'POST']
JavaScript
1
https://gitee.com/serverless-book/helloWorld-aliyun.git
git@gitee.com:serverless-book/helloWorld-aliyun.git
serverless-book
helloWorld-aliyun
helloWorld-aliyun
master

搜索帮助