stepfunctions.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "version": 2,
  3. "waiters": {
  4. "ExecutionExists": {
  5. "delay": 2,
  6. "operation": "DescribeExecution",
  7. "maxAttempts": 30,
  8. "acceptors": [
  9. {
  10. "expected": 200,
  11. "matcher": "status",
  12. "state": "success"
  13. },
  14. {
  15. "expected": 400,
  16. "matcher": "status",
  17. "state": "retry"
  18. },
  19. {
  20. "expected": 404,
  21. "matcher": "status",
  22. "state": "retry"
  23. }
  24. ]
  25. },
  26. "ExecutionComplete": {
  27. "delay": 2,
  28. "operation": "DescribeExecution",
  29. "maxAttempts": 30,
  30. "acceptors": [
  31. {
  32. "expected": 400,
  33. "matcher": "status",
  34. "state": "retry"
  35. },
  36. {
  37. "expected": 404,
  38. "matcher": "status",
  39. "state": "retry"
  40. },
  41. {
  42. "matcher": "path",
  43. "expected": "SUCCEEDED",
  44. "argument": "status",
  45. "state": "success"
  46. },
  47. {
  48. "matcher": "path",
  49. "expected": "RUNNING",
  50. "argument": "status",
  51. "state": "retry"
  52. },
  53. {
  54. "matcher": "path",
  55. "expected": "FAILED",
  56. "argument": "status",
  57. "state": "failure"
  58. },
  59. {
  60. "matcher": "path",
  61. "expected": "TIMED_OUT",
  62. "argument": "status",
  63. "state": "failure"
  64. },
  65. {
  66. "matcher": "path",
  67. "expected": "ABORTED",
  68. "argument": "status",
  69. "state": "failure"
  70. }
  71. ]
  72. }
  73. }
  74. }