55 lines
1.2 KiB
JSON
55 lines
1.2 KiB
JSON
|
{
|
||
|
"version": 2,
|
||
|
"waiters": {
|
||
|
"FleetStarted": {
|
||
|
"delay": 30,
|
||
|
"maxAttempts": 40,
|
||
|
"operation": "DescribeFleets",
|
||
|
"acceptors": [
|
||
|
{
|
||
|
"state": "success",
|
||
|
"matcher": "pathAll",
|
||
|
"argument": "Fleets[].State",
|
||
|
"expected": "ACTIVE"
|
||
|
},
|
||
|
{
|
||
|
"state": "failure",
|
||
|
"matcher": "pathAny",
|
||
|
"argument": "Fleets[].State",
|
||
|
"expected": "PENDING_DEACTIVATE"
|
||
|
},
|
||
|
{
|
||
|
"state": "failure",
|
||
|
"matcher": "pathAny",
|
||
|
"argument": "Fleets[].State",
|
||
|
"expected": "INACTIVE"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"FleetStopped": {
|
||
|
"delay": 30,
|
||
|
"maxAttempts": 40,
|
||
|
"operation": "DescribeFleets",
|
||
|
"acceptors": [
|
||
|
{
|
||
|
"state": "success",
|
||
|
"matcher": "pathAll",
|
||
|
"argument": "Fleets[].State",
|
||
|
"expected": "INACTIVE"
|
||
|
},
|
||
|
{
|
||
|
"state": "failure",
|
||
|
"matcher": "pathAny",
|
||
|
"argument": "Fleets[].State",
|
||
|
"expected": "PENDING_ACTIVATE"
|
||
|
},
|
||
|
{
|
||
|
"state": "failure",
|
||
|
"matcher": "pathAny",
|
||
|
"argument": "Fleets[].State",
|
||
|
"expected": "ACTIVE"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|