ecr-2015-09-21.waiters2.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. "version": 2,
  3. "waiters": {
  4. "ImageScanComplete": {
  5. "description": "Wait until an image scan is complete and findings can be accessed",
  6. "operation": "DescribeImageScanFindings",
  7. "delay": 5,
  8. "maxAttempts": 60,
  9. "acceptors": [
  10. {
  11. "state": "success",
  12. "matcher": "path",
  13. "argument": "imageScanStatus.status",
  14. "expected": "COMPLETE"
  15. },
  16. {
  17. "state": "failure",
  18. "matcher": "path",
  19. "argument": "imageScanStatus.status",
  20. "expected": "FAILED"
  21. }
  22. ]
  23. },
  24. "LifecyclePolicyPreviewComplete": {
  25. "description": "Wait until a lifecycle policy preview request is complete and results can be accessed",
  26. "operation": "GetLifecyclePolicyPreview",
  27. "delay": 5,
  28. "maxAttempts": 20,
  29. "acceptors": [
  30. {
  31. "state": "success",
  32. "matcher": "path",
  33. "argument": "status",
  34. "expected": "COMPLETE"
  35. },
  36. {
  37. "state": "failure",
  38. "matcher": "path",
  39. "argument": "status",
  40. "expected": "FAILED"
  41. }
  42. ]
  43. }
  44. }
  45. }