Update serverless.yml
This commit is contained in:
@@ -14,7 +14,7 @@ inputs:
|
|||||||
region: ap-hongkong # 函数所在区域
|
region: ap-hongkong # 函数所在区域
|
||||||
description: This is a function in ${app} application.
|
description: This is a function in ${app} application.
|
||||||
memorySize: 128 # 内存大小,单位MB
|
memorySize: 128 # 内存大小,单位MB
|
||||||
timeout: 6000 # 超时时间,单位秒
|
timeout: 900 # 超时时间,单位秒
|
||||||
events: # 触发器
|
events: # 触发器
|
||||||
- timer: # 定时触发器
|
- timer: # 定时触发器
|
||||||
parameters:
|
parameters:
|
||||||
@@ -24,4 +24,4 @@ inputs:
|
|||||||
argument: argument # 额外的参数
|
argument: argument # 额外的参数
|
||||||
environment: # 环境变量
|
environment: # 环境变量
|
||||||
variables: # 环境变量对象
|
variables: # 环境变量对象
|
||||||
AAA: BBB # 不要删除,用来格式化对齐追加的变量的
|
AAA: BBB # 不要删除,用来格式化对齐追加的变量的
|
||||||
|
|||||||
Reference in New Issue
Block a user