python-botocore/botocore/data/cloudformation/2010-05-15/waiters-2.json
2016-11-10 11:24:10 +09:00

158 lines
4 KiB
JSON

{
"version": 2,
"waiters": {
"StackExists": {
"delay": 5,
"operation": "DescribeStacks",
"maxAttempts": 20,
"acceptors": [
{
"matcher": "status",
"expected": 200,
"state": "success"
},
{
"matcher": "error",
"expected": "ValidationError",
"state": "retry"
}
]
},
"StackCreateComplete": {
"delay": 30,
"operation": "DescribeStacks",
"maxAttempts": 120,
"description": "Wait until stack status is CREATE_COMPLETE.",
"acceptors": [
{
"argument": "Stacks[].StackStatus",
"expected": "CREATE_COMPLETE",
"matcher": "pathAll",
"state": "success"
},
{
"argument": "Stacks[].StackStatus",
"expected": "CREATE_FAILED",
"matcher": "pathAny",
"state": "failure"
},
{
"argument": "Stacks[].StackStatus",
"expected": "DELETE_COMPLETE",
"matcher": "pathAny",
"state": "failure"
},
{
"argument": "Stacks[].StackStatus",
"expected": "DELETE_FAILED",
"matcher": "pathAny",
"state": "failure"
},
{
"argument": "Stacks[].StackStatus",
"expected": "ROLLBACK_FAILED",
"matcher": "pathAny",
"state": "failure"
},
{
"argument": "Stacks[].StackStatus",
"expected": "ROLLBACK_COMPLETE",
"matcher": "pathAny",
"state": "failure"
},
{
"expected": "ValidationError",
"matcher": "error",
"state": "failure"
}
]
},
"StackDeleteComplete": {
"delay": 30,
"operation": "DescribeStacks",
"maxAttempts": 120,
"description": "Wait until stack status is DELETE_COMPLETE.",
"acceptors": [
{
"argument": "Stacks[].StackStatus",
"expected": "DELETE_COMPLETE",
"matcher": "pathAll",
"state": "success"
},
{
"expected": "ValidationError",
"matcher": "error",
"state": "success"
},
{
"argument": "Stacks[].StackStatus",
"expected": "DELETE_FAILED",
"matcher": "pathAny",
"state": "failure"
},
{
"argument": "Stacks[].StackStatus",
"expected": "CREATE_FAILED",
"matcher": "pathAny",
"state": "failure"
},
{
"argument": "Stacks[].StackStatus",
"expected": "ROLLBACK_FAILED",
"matcher": "pathAny",
"state": "failure"
},
{
"argument": "Stacks[].StackStatus",
"expected": "UPDATE_ROLLBACK_FAILED",
"matcher": "pathAny",
"state": "failure"
},
{
"argument": "Stacks[].StackStatus",
"expected": "UPDATE_ROLLBACK_IN_PROGRESS",
"matcher": "pathAny",
"state": "failure"
}
]
},
"StackUpdateComplete": {
"delay": 30,
"maxAttempts": 120,
"operation": "DescribeStacks",
"description": "Wait until stack status is UPDATE_COMPLETE.",
"acceptors": [
{
"argument": "Stacks[].StackStatus",
"expected": "UPDATE_COMPLETE",
"matcher": "pathAll",
"state": "success"
},
{
"expected": "UPDATE_FAILED",
"matcher": "pathAny",
"state": "failure",
"argument": "Stacks[].StackStatus"
},
{
"argument": "Stacks[].StackStatus",
"expected": "UPDATE_ROLLBACK_FAILED",
"matcher": "pathAny",
"state": "failure"
},
{
"expected": "UPDATE_ROLLBACK_COMPLETE",
"matcher": "pathAny",
"state": "failure",
"argument": "Stacks[].StackStatus"
},
{
"expected": "ValidationError",
"matcher": "error",
"state": "failure"
}
]
}
}
}