176 lines
4.5 KiB
JSON
176 lines
4.5 KiB
JSON
|
{
|
||
|
"version": 2,
|
||
|
"waiters": {
|
||
|
"DBInstanceAvailable": {
|
||
|
"delay": 30,
|
||
|
"operation": "DescribeDBInstances",
|
||
|
"maxAttempts": 60,
|
||
|
"acceptors": [
|
||
|
{
|
||
|
"expected": "available",
|
||
|
"matcher": "pathAll",
|
||
|
"state": "success",
|
||
|
"argument": "DBInstances[].DBInstanceStatus"
|
||
|
},
|
||
|
{
|
||
|
"expected": "deleted",
|
||
|
"matcher": "pathAny",
|
||
|
"state": "failure",
|
||
|
"argument": "DBInstances[].DBInstanceStatus"
|
||
|
},
|
||
|
{
|
||
|
"expected": "deleting",
|
||
|
"matcher": "pathAny",
|
||
|
"state": "failure",
|
||
|
"argument": "DBInstances[].DBInstanceStatus"
|
||
|
},
|
||
|
{
|
||
|
"expected": "failed",
|
||
|
"matcher": "pathAny",
|
||
|
"state": "failure",
|
||
|
"argument": "DBInstances[].DBInstanceStatus"
|
||
|
},
|
||
|
{
|
||
|
"expected": "incompatible-restore",
|
||
|
"matcher": "pathAny",
|
||
|
"state": "failure",
|
||
|
"argument": "DBInstances[].DBInstanceStatus"
|
||
|
},
|
||
|
{
|
||
|
"expected": "incompatible-parameters",
|
||
|
"matcher": "pathAny",
|
||
|
"state": "failure",
|
||
|
"argument": "DBInstances[].DBInstanceStatus"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"DBInstanceDeleted": {
|
||
|
"delay": 30,
|
||
|
"operation": "DescribeDBInstances",
|
||
|
"maxAttempts": 60,
|
||
|
"acceptors": [
|
||
|
{
|
||
|
"expected": "deleted",
|
||
|
"matcher": "pathAll",
|
||
|
"state": "success",
|
||
|
"argument": "DBInstances[].DBInstanceStatus"
|
||
|
},
|
||
|
{
|
||
|
"expected": "DBInstanceNotFound",
|
||
|
"matcher": "error",
|
||
|
"state": "success"
|
||
|
},
|
||
|
{
|
||
|
"expected": "creating",
|
||
|
"matcher": "pathAny",
|
||
|
"state": "failure",
|
||
|
"argument": "DBInstances[].DBInstanceStatus"
|
||
|
},
|
||
|
{
|
||
|
"expected": "modifying",
|
||
|
"matcher": "pathAny",
|
||
|
"state": "failure",
|
||
|
"argument": "DBInstances[].DBInstanceStatus"
|
||
|
},
|
||
|
{
|
||
|
"expected": "rebooting",
|
||
|
"matcher": "pathAny",
|
||
|
"state": "failure",
|
||
|
"argument": "DBInstances[].DBInstanceStatus"
|
||
|
},
|
||
|
{
|
||
|
"expected": "resetting-master-credentials",
|
||
|
"matcher": "pathAny",
|
||
|
"state": "failure",
|
||
|
"argument": "DBInstances[].DBInstanceStatus"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"DBSnapshotAvailable": {
|
||
|
"delay": 30,
|
||
|
"operation": "DescribeDBSnapshots",
|
||
|
"maxAttempts": 60,
|
||
|
"acceptors": [
|
||
|
{
|
||
|
"expected": "available",
|
||
|
"matcher": "pathAll",
|
||
|
"state": "success",
|
||
|
"argument": "DBSnapshots[].Status"
|
||
|
},
|
||
|
{
|
||
|
"expected": "deleted",
|
||
|
"matcher": "pathAny",
|
||
|
"state": "failure",
|
||
|
"argument": "DBSnapshots[].Status"
|
||
|
},
|
||
|
{
|
||
|
"expected": "deleting",
|
||
|
"matcher": "pathAny",
|
||
|
"state": "failure",
|
||
|
"argument": "DBSnapshots[].Status"
|
||
|
},
|
||
|
{
|
||
|
"expected": "failed",
|
||
|
"matcher": "pathAny",
|
||
|
"state": "failure",
|
||
|
"argument": "DBSnapshots[].Status"
|
||
|
},
|
||
|
{
|
||
|
"expected": "incompatible-restore",
|
||
|
"matcher": "pathAny",
|
||
|
"state": "failure",
|
||
|
"argument": "DBSnapshots[].Status"
|
||
|
},
|
||
|
{
|
||
|
"expected": "incompatible-parameters",
|
||
|
"matcher": "pathAny",
|
||
|
"state": "failure",
|
||
|
"argument": "DBSnapshots[].Status"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"DBSnapshotDeleted": {
|
||
|
"delay": 30,
|
||
|
"operation": "DescribeDBSnapshots",
|
||
|
"maxAttempts": 60,
|
||
|
"acceptors": [
|
||
|
{
|
||
|
"expected": "deleted",
|
||
|
"matcher": "pathAll",
|
||
|
"state": "success",
|
||
|
"argument": "DBSnapshots[].Status"
|
||
|
},
|
||
|
{
|
||
|
"expected": "DBSnapshotNotFound",
|
||
|
"matcher": "error",
|
||
|
"state": "success"
|
||
|
},
|
||
|
{
|
||
|
"expected": "creating",
|
||
|
"matcher": "pathAny",
|
||
|
"state": "failure",
|
||
|
"argument": "DBSnapshots[].Status"
|
||
|
},
|
||
|
{
|
||
|
"expected": "modifying",
|
||
|
"matcher": "pathAny",
|
||
|
"state": "failure",
|
||
|
"argument": "DBSnapshots[].Status"
|
||
|
},
|
||
|
{
|
||
|
"expected": "rebooting",
|
||
|
"matcher": "pathAny",
|
||
|
"state": "failure",
|
||
|
"argument": "DBSnapshots[].Status"
|
||
|
},
|
||
|
{
|
||
|
"expected": "resetting-master-credentials",
|
||
|
"matcher": "pathAny",
|
||
|
"state": "failure",
|
||
|
"argument": "DBSnapshots[].Status"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|