1 | {
|
2 | "version":2,
|
3 | "waiters":{
|
4 | "InstanceDeregistered": {
|
5 | "delay": 15,
|
6 | "operation": "DescribeInstanceHealth",
|
7 | "maxAttempts": 40,
|
8 | "acceptors": [
|
9 | {
|
10 | "expected": "OutOfService",
|
11 | "matcher": "pathAll",
|
12 | "state": "success",
|
13 | "argument": "InstanceStates[].State"
|
14 | },
|
15 | {
|
16 | "matcher": "error",
|
17 | "expected": "InvalidInstance",
|
18 | "state": "success"
|
19 | }
|
20 | ]
|
21 | },
|
22 | "AnyInstanceInService":{
|
23 | "acceptors":[
|
24 | {
|
25 | "argument":"InstanceStates[].State",
|
26 | "expected":"InService",
|
27 | "matcher":"pathAny",
|
28 | "state":"success"
|
29 | }
|
30 | ],
|
31 | "delay":15,
|
32 | "maxAttempts":40,
|
33 | "operation":"DescribeInstanceHealth"
|
34 | },
|
35 | "InstanceInService":{
|
36 | "acceptors":[
|
37 | {
|
38 | "argument":"InstanceStates[].State",
|
39 | "expected":"InService",
|
40 | "matcher":"pathAll",
|
41 | "state":"success"
|
42 | },
|
43 | {
|
44 | "matcher": "error",
|
45 | "expected": "InvalidInstance",
|
46 | "state": "retry"
|
47 | }
|
48 | ],
|
49 | "delay":15,
|
50 | "maxAttempts":40,
|
51 | "operation":"DescribeInstanceHealth"
|
52 | }
|
53 | }
|
54 | }
|