1{ 2 "version": 2, 3 "waiters": { 4 "CertificateValidated": { 5 "delay": 60, 6 "maxAttempts": 40, 7 "operation": "DescribeCertificate", 8 "acceptors": [ 9 { 10 "matcher": "pathAll", 11 "expected": "SUCCESS", 12 "argument": "Certificate.DomainValidationOptions[].ValidationStatus", 13 "state": "success" 14 }, 15 { 16 "matcher": "pathAny", 17 "expected": "PENDING_VALIDATION", 18 "argument": "Certificate.DomainValidationOptions[].ValidationStatus", 19 "state": "retry" 20 }, 21 { 22 "matcher": "path", 23 "expected": "FAILED", 24 "argument": "Certificate.Status", 25 "state": "failure" 26 }, 27 { 28 "matcher": "error", 29 "expected": "ResourceNotFoundException", 30 "state": "failure" 31 } 32 ] 33 } 34 } 35} 36