1{ 2 "version": 2, 3 "waiters": { 4 "EnvironmentExists": { 5 "delay": 20, 6 "maxAttempts": 20, 7 "operation": "DescribeEnvironments", 8 "acceptors": [ 9 { 10 "state": "success", 11 "matcher": "pathAll", 12 "argument": "Environments[].Status", 13 "expected": "Ready" 14 }, 15 { 16 "state": "retry", 17 "matcher": "pathAll", 18 "argument": "Environments[].Status", 19 "expected": "Launching" 20 } 21 ] 22 }, 23 "EnvironmentUpdated": { 24 "delay": 20, 25 "maxAttempts": 20, 26 "operation": "DescribeEnvironments", 27 "acceptors": [ 28 { 29 "state": "success", 30 "matcher": "pathAll", 31 "argument": "Environments[].Status", 32 "expected": "Ready" 33 }, 34 { 35 "state": "retry", 36 "matcher": "pathAll", 37 "argument": "Environments[].Status", 38 "expected": "Updating" 39 } 40 ] 41 }, 42 "EnvironmentTerminated": { 43 "delay": 20, 44 "maxAttempts": 20, 45 "operation": "DescribeEnvironments", 46 "acceptors": [ 47 { 48 "state": "success", 49 "matcher": "pathAll", 50 "argument": "Environments[].Status", 51 "expected": "Terminated" 52 }, 53 { 54 "state": "retry", 55 "matcher": "pathAll", 56 "argument": "Environments[].Status", 57 "expected": "Terminating" 58 } 59 ] 60 } 61 } 62} 63 64