UNPKG

1.93 kBJSONView Raw
1{
2 "version": 2,
3 "waiters": {
4 "CertificateAuthorityCSRCreated": {
5 "description": "Wait until a Certificate Authority CSR is created",
6 "operation": "GetCertificateAuthorityCsr",
7 "delay": 3,
8 "maxAttempts": 60,
9 "acceptors": [
10 {
11 "state": "success",
12 "matcher": "status",
13 "expected": 200
14 },
15 {
16 "state": "retry",
17 "matcher": "error",
18 "expected": "RequestInProgressException"
19 }
20 ]
21 },
22 "CertificateIssued": {
23 "description": "Wait until a certificate is issued",
24 "operation": "GetCertificate",
25 "delay": 3,
26 "maxAttempts": 60,
27 "acceptors": [
28 {
29 "state": "success",
30 "matcher": "status",
31 "expected": 200
32 },
33 {
34 "state": "retry",
35 "matcher": "error",
36 "expected": "RequestInProgressException"
37 }
38 ]
39 },
40 "AuditReportCreated": {
41 "description": "Wait until a Audit Report is created",
42 "operation": "DescribeCertificateAuthorityAuditReport",
43 "delay": 3,
44 "maxAttempts": 60,
45 "acceptors": [
46 {
47 "state": "success",
48 "matcher": "path",
49 "argument": "AuditReportStatus",
50 "expected": "SUCCESS"
51 },
52 {
53 "state": "failure",
54 "matcher": "path",
55 "argument": "AuditReportStatus",
56 "expected": "FAILED"
57 }
58 ]
59 }
60 }
61}