gl-store-s3.js/node_modules/aws-sdk/apis/ecs-2014-11-13.waiters2.json

94 lines
2.2 KiB
JSON
Raw Normal View History

2019-05-08 10:43:08 +00:00
{
"version": 2,
"waiters": {
"TasksRunning": {
"delay": 6,
"operation": "DescribeTasks",
"maxAttempts": 100,
"acceptors": [
{
"expected": "STOPPED",
"matcher": "pathAny",
"state": "failure",
"argument": "tasks[].lastStatus"
},
{
"expected": "MISSING",
"matcher": "pathAny",
"state": "failure",
"argument": "failures[].reason"
},
{
"expected": "RUNNING",
"matcher": "pathAll",
"state": "success",
"argument": "tasks[].lastStatus"
}
]
},
"TasksStopped": {
"delay": 6,
"operation": "DescribeTasks",
"maxAttempts": 100,
"acceptors": [
{
"expected": "STOPPED",
"matcher": "pathAll",
"state": "success",
"argument": "tasks[].lastStatus"
}
]
},
"ServicesStable": {
"delay": 15,
"operation": "DescribeServices",
"maxAttempts": 40,
"acceptors": [
{
"expected": "MISSING",
"matcher": "pathAny",
"state": "failure",
"argument": "failures[].reason"
},
{
"expected": "DRAINING",
"matcher": "pathAny",
"state": "failure",
"argument": "services[].status"
},
{
"expected": "INACTIVE",
"matcher": "pathAny",
"state": "failure",
"argument": "services[].status"
},
{
"expected": true,
"matcher": "path",
"state": "success",
"argument": "length(services[?!(length(deployments) == `1` && runningCount == desiredCount)]) == `0`"
}
]
},
"ServicesInactive": {
"delay": 15,
"operation": "DescribeServices",
"maxAttempts": 40,
"acceptors": [
{
"expected": "MISSING",
"matcher": "pathAny",
"state": "failure",
"argument": "failures[].reason"
},
{
"expected": "INACTIVE",
"matcher": "pathAny",
"state": "success",
"argument": "services[].status"
}
]
}
}
}