Skip to content

Commit

Permalink
make serviceName and functionName with constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
rsonghuster committed Oct 27, 2022
1 parent 103c482 commit fab62fd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions publish.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Type: Application
Name: start-unzip-oss
Version: 0.0.10
Version: 0.0.11
Provider:
- 阿里云
Description: 使用函数计算自动解压上传到OSS指定前缀目录的zip文件
Expand Down Expand Up @@ -58,12 +58,14 @@ Parameters:
title: 服务名
type: string
default: unzip-oss
description: 应用所属的函数计算服务
pattern: "^[a-zA-Z_][a-zA-Z0-9-_]{0,127}$"
description: 应用所属的函数计算服务,只能包含字母、数字、下划线和中划线。不能以数字、中划线开头。长度在 1-128 之间
functionName:
title: 函数名
type: string
default: oss-invoke-fc
description: 应用的函数名称
pattern: "^[a-zA-Z_][a-zA-Z0-9-_]{0,63}$"
description: 应用的函数名称, 只能包含字母、数字、下划线和中划线。不能以数字、中划线开头。长度在 1-64 之间
roleArn:
title: RAM角色ARN
type: string
Expand Down

0 comments on commit fab62fd

Please sign in to comment.