forked from aliyun/ros-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstance.yml
81 lines (81 loc) · 2.1 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
ROSTemplateFormatVersion: '2015-09-01'
Description: ElasticSearch Instance resource example
Parameters:
DataNode:
Type: Json
Description: The Elasticsearch cluster's data node setting.
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
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