Skip to content

Commit

Permalink
Merge pull request #4 from devsapp/add-regex
Browse files Browse the repository at this point in the history
make serviceName and functionName with constraints
  • Loading branch information
rsonghuster authored Oct 27, 2022
2 parents 103c482 + fab62fd commit 15c3ac3
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 15c3ac3

Please sign in to comment.