1{
2  "version": 2,
3  "waiters": {
4    "ClusterCreated": {
5      "description": "Wait until a cluster is created",
6      "operation": "DescribeCluster",
7      "delay": 5,
8      "maxAttempts": 26,
9      "acceptors": [
10        {
11          "state": "success",
12          "matcher": "path",
13          "argument": "Cluster.Status",
14          "expected": "DEPLOYED"
15        },
16        {
17          "state": "retry",
18          "matcher": "path",
19          "argument": "Cluster.Status",
20          "expected": "PENDING"
21        },
22        {
23          "state": "retry",
24          "matcher": "status",
25          "expected": 500
26        }
27      ]
28    },
29    "ClusterDeleted": {
30      "description": "Wait for a cluster to be deleted",
31      "operation": "DescribeCluster",
32      "delay": 5,
33      "maxAttempts": 26,
34      "acceptors": [
35        {
36          "state": "success",
37          "matcher": "status",
38          "expected": 404
39        },
40        {
41          "state": "retry",
42          "matcher": "path",
43          "argument": "Cluster.Status",
44          "expected": "PENDING_DELETION"
45        },
46        {
47          "state": "retry",
48          "matcher": "status",
49          "expected": 500
50        }
51      ]
52    },
53    "ControlPanelCreated": {
54      "description": "Wait until a control panel is created",
55      "operation": "DescribeControlPanel",
56      "delay": 5,
57      "maxAttempts": 26,
58      "acceptors": [
59        {
60          "state": "success",
61          "matcher": "path",
62          "argument": "ControlPanel.Status",
63          "expected": "DEPLOYED"
64        },
65        {
66          "state": "retry",
67          "matcher": "path",
68          "argument": "ControlPanel.Status",
69          "expected": "PENDING"
70        },
71        {
72          "state": "retry",
73          "matcher": "status",
74          "expected": 500
75        }
76      ]
77    },
78    "ControlPanelDeleted": {
79      "description": "Wait until a control panel is deleted",
80      "operation": "DescribeControlPanel",
81      "delay": 5,
82      "maxAttempts": 26,
83      "acceptors": [
84        {
85          "state": "success",
86          "matcher": "status",
87          "expected": 404
88        },
89        {
90          "state": "retry",
91          "matcher": "path",
92          "argument": "ControlPanel.Status",
93          "expected": "PENDING_DELETION"
94        },
95        {
96          "state": "retry",
97          "matcher": "status",
98          "expected": 500
99        }
100      ]
101    },
102    "RoutingControlCreated": {
103      "description": "Wait until a routing control is created",
104      "operation": "DescribeRoutingControl",
105      "delay": 5,
106      "maxAttempts": 26,
107      "acceptors": [
108        {
109          "state": "success",
110          "matcher": "path",
111          "argument": "RoutingControl.Status",
112          "expected": "DEPLOYED"
113        },
114        {
115          "state": "retry",
116          "matcher": "path",
117          "argument": "RoutingControl.Status",
118          "expected": "PENDING"
119        },
120        {
121          "state": "retry",
122          "matcher": "status",
123          "expected": 500
124        }
125      ]
126    },
127    "RoutingControlDeleted": {
128      "description": "Wait for a routing control to be deleted",
129      "operation": "DescribeRoutingControl",
130      "delay": 5,
131      "maxAttempts": 26,
132      "acceptors": [
133        {
134          "state": "success",
135          "matcher": "status",
136          "expected": 404
137        },
138        {
139          "state": "retry",
140          "matcher": "path",
141          "argument": "RoutingControl.Status",
142          "expected": "PENDING_DELETION"
143        },
144        {
145          "state": "retry",
146          "matcher": "status",
147          "expected": 500
148        }
149      ]
150    }
151  }
152}
153