-
Notifications
You must be signed in to change notification settings - Fork 35
/
parameter.yml
63 lines (63 loc) · 2.03 KB
/
parameter.yml
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
ROSTemplateFormatVersion: '2015-09-01'
Description:
zh-cn: 创建OOS参数资源,支持字符串或字符串列表类型,定义参数名、值、描述及约束条件。
en: Create OOS parameter resources, supporting string or string list types, defining
parameter name, value, description, and constraint conditions.
Parameters:
Name:
Type: String
Description: "The name of the parameter. \nThe name must be 1 to 200 characters\
\ in length,and can contain letters, digits, hyphens (-), and underscores (_).\
\ \nIt cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS."
Type:
Type: String
Description: "The data type of the common parameter. \nValid values: String and\
\ StringList."
Default: String
AllowedValues:
- String
- StringList
Value:
Type: String
Description: "The value of the parameter. \nThe value must be 1 to 4096 characters\
\ in length."
Description:
Type: String
Description: "The description of the parameter. \nThe description must be 1 to\
\ 200 characters in length."
Default: null
Constraints:
Type: String
Description: "The constraints of the parameter. \nBy default, this parameter is\
\ null. Valid values:\nAllowedValues: The value that is allowed for the parameter.\
\ It must be an array string.\nAllowedPattern: The pattern that is allowed for\
\ the parameter. It must be a regular expression.\nMinLength: The minimum length\
\ of the parameter.\nMaxLength: The maximum length of the parameter."
Default: null
Resources:
Parameter:
Type: ALIYUN::OOS::Parameter
Properties:
Type:
Ref: Type
Description:
Ref: Description
Constraints:
Ref: Constraints
Value:
Ref: Value
Name:
Ref: Name
Outputs:
Value:
Description: The Value of the parameter.
Value:
Fn::GetAtt:
- Parameter
- Value
Name:
Description: The Name of the parameter.
Value:
Fn::GetAtt:
- Parameter
- Name