-
Notifications
You must be signed in to change notification settings - Fork 35
/
instance.yml
91 lines (91 loc) · 2.57 KB
/
instance.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
ROSTemplateFormatVersion: '2015-09-01'
Description:
zh-cn: 创建ElasticSearch实例,含数据节点与Kibana配置,支持付费类型选择及版本指定,输出实例状态与访问信息。
en: Create an Elasticsearch instance inclusive of data nodes and Kibana configurations,
with options for selecting payment tiers and specifying the version. Output the
instance status and access information.
Parameters:
DataNode:
Type: Json
Description: The Elasticsearch cluster's data node setting.
KibanaNode:
Type: Json
Description: The Elasticsearch cluster's kibana node setting.
Default: Null
InstanceChargeType:
Type: String
Description: Valid values are PrePaid, PostPaid, Default to PostPaid.
Default: PostPaid
AllowedValues:
- PrePaid
- PostPaid
Version:
Type: String
Description: 'Elasticsearch version. Supported values: 5.5.3_with_X-Pack, 6.3_with_X-Pack
and 6.7_with_X-Pack.'
AllowedValues:
- 5.5.3_with_X-Pack
- 6.3_with_X-Pack
- 6.7_with_X-Pack
VSwitchId:
Type: String
Description: The ID of VSwitch.
Password:
Type: String
Description: 'The password of the instance. The password can be 8 to 32 characters
in length and must contain three of the following conditions: uppercase letters,
lowercase letters, numbers, and special characters (!@#$%&*()_+-=).'
Resources:
Instance:
Type: ALIYUN::ElasticSearch::Instance
Properties:
VSwitchId:
Ref: VSwitchId
DataNode:
Ref: DataNode
KibanaNode:
Ref: KibanaNode
InstanceChargeType:
Ref: InstanceChargeType
Version:
Ref: Version
Password:
Ref: Password
Outputs:
Status:
Description: The Elasticsearch instance status. Includes active, activating, inactive.
Some operations are denied when status is not active.
Value:
Fn::GetAtt:
- Instance
- Status
KibanaDomain:
Description: Kibana console domain (Internet access supported).
Value:
Fn::GetAtt:
- Instance
- KibanaDomain
Domain:
Description: Instance connection domain (only VPC network access supported).
Value:
Fn::GetAtt:
- Instance
- Domain
InstanceId:
Description: The ID of the Elasticsearch instance.
Value:
Fn::GetAtt:
- Instance
- InstanceId
KibanaPort:
Description: Kibana console port.
Value:
Fn::GetAtt:
- Instance
- KibanaPort
Port:
Description: ' Instance connection port.'
Value:
Fn::GetAtt:
- Instance
- Port