waiters-2.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. "delay":15,
  45. "maxAttempts":40,
  46. "operation":"DescribeInstanceHealth"
  47. }
  48. }
  49. }