48 lines
1.2 KiB
JSON
48 lines
1.2 KiB
JSON
|
{
|
||
|
"version": 2,
|
||
|
"waiters": {
|
||
|
"DistributionDeployed": {
|
||
|
"delay": 60,
|
||
|
"operation": "GetDistribution",
|
||
|
"maxAttempts": 25,
|
||
|
"description": "Wait until a distribution is deployed.",
|
||
|
"acceptors": [
|
||
|
{
|
||
|
"expected": "Deployed",
|
||
|
"matcher": "path",
|
||
|
"state": "success",
|
||
|
"argument": "Distribution.Status"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"InvalidationCompleted": {
|
||
|
"delay": 20,
|
||
|
"operation": "GetInvalidation",
|
||
|
"maxAttempts": 30,
|
||
|
"description": "Wait until an invalidation has completed.",
|
||
|
"acceptors": [
|
||
|
{
|
||
|
"expected": "Completed",
|
||
|
"matcher": "path",
|
||
|
"state": "success",
|
||
|
"argument": "Invalidation.Status"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"StreamingDistributionDeployed": {
|
||
|
"delay": 60,
|
||
|
"operation": "GetStreamingDistribution",
|
||
|
"maxAttempts": 25,
|
||
|
"description": "Wait until a streaming distribution is deployed.",
|
||
|
"acceptors": [
|
||
|
{
|
||
|
"expected": "Deployed",
|
||
|
"matcher": "path",
|
||
|
"state": "success",
|
||
|
"argument": "StreamingDistribution.Status"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|