waiters-2.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {
  2. "version": 2,
  3. "waiters": {
  4. "ClusterRunning": {
  5. "delay": 30,
  6. "operation": "DescribeCluster",
  7. "maxAttempts": 60,
  8. "acceptors": [
  9. {
  10. "state": "success",
  11. "matcher": "path",
  12. "argument": "Cluster.Status.State",
  13. "expected": "RUNNING"
  14. },
  15. {
  16. "state": "success",
  17. "matcher": "path",
  18. "argument": "Cluster.Status.State",
  19. "expected": "WAITING"
  20. },
  21. {
  22. "state": "failure",
  23. "matcher": "path",
  24. "argument": "Cluster.Status.State",
  25. "expected": "TERMINATING"
  26. },
  27. {
  28. "state": "failure",
  29. "matcher": "path",
  30. "argument": "Cluster.Status.State",
  31. "expected": "TERMINATED"
  32. },
  33. {
  34. "state": "failure",
  35. "matcher": "path",
  36. "argument": "Cluster.Status.State",
  37. "expected": "TERMINATED_WITH_ERRORS"
  38. }
  39. ]
  40. },
  41. "StepComplete": {
  42. "delay": 30,
  43. "operation": "DescribeStep",
  44. "maxAttempts": 60,
  45. "acceptors": [
  46. {
  47. "state": "success",
  48. "matcher": "path",
  49. "argument": "Step.Status.State",
  50. "expected": "COMPLETED"
  51. },
  52. {
  53. "state": "failure",
  54. "matcher": "path",
  55. "argument": "Step.Status.State",
  56. "expected": "FAILED"
  57. },
  58. {
  59. "state": "failure",
  60. "matcher": "path",
  61. "argument": "Step.Status.State",
  62. "expected": "CANCELLED"
  63. }
  64. ]
  65. }
  66. }
  67. }