forked from exqlnet/chaoxing_sign
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
67 lines (67 loc) · 2.7 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"serverless-cloud-function-application": {
"application":{
"Chinese":{
"name": "helloworld",
"description": "helloworld 空白模板函数",
"attention": "无",
"readme": {
"file": "",
"content": ""
},
"license": {
"file": "",
"content": "公开"
},
"author": {
"name": "腾讯云无服务器云函数团队"
}
},
"English":{
"name": "helloworld",
"description": "This is helloworld function",
"attention": "No",
"readme": {
"file": "", // readme file
"content": "" //content of readme
},
"license": {
"file": "", // license file
"content": "Open" //content of license
},
"author": {
"name": "Tencent Cloud Serverless Team" // author
}
},
"input_parameters":{
"event":"",
"context":""
},
"output_parameters":{
},
"tags":[
"Python3.6", "chaoxing"
// The tags only support English and can be multiple, we suggest you to use keywords such as runtime, trigger, environment and so on.
// 标签统一为英文,可编写多个,建议使用runtime、触发器、场景等关键字,用户可以通过该关键字搜索。前台需要展示,请认真填写,不支持中文
],
"version": "1.0.3"
// Version number, which identifies the demo version status.
// Demo will not to update to the page if the version number unmodified.
//版本号,通过版本号标识 demo 升级情况,未修改版本号会导致 demo 不更新至页面
},
"functions": {
"name": "chaoxing", // Function name which only be in English. 函数名称,只支持英文
"description": "chaoxing",
"handler":"cx_tx_scf.main_handler",
"memorySize": 128, // Running memory. 运行配置内存
"timeout": 3, // Running timeout. 运行超时时间
"runtime": "Python3.6", // Runtime which users can search demo by this keyword. 运行环境,用户可以通过该关键字搜索["Python2.7", "Python3.6", "Nodejs6.10", "Java8", "LuaCDN", "NodejsCDN", "Php5", "Php7", "Nodejs8.9", "Go1"]
"Environment":{
}, // Optional, used to define environment variables. 可选,用于定义环境变量
"Events":{
}, // Optional, used define the event source that triggers this function. 可选,用于定义触发此函数的事件源
"VpcConfig":{
} // Optional, used configure cloud function's private network. 可选, 用于配置云函数访问 VPC 私有网络。
}
}
}