Created
August 7, 2020 19:11
-
-
Save shawnsi/94b36ef5187ec8185dd931a0b5305c93 to your computer and use it in GitHub Desktop.
Stack Set Waiter Model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import botocore | |
_model = botocore.waiter.WaiterModel({ | |
'version': 2, | |
'waiters': { | |
'StacksetOpComplete': { | |
'delay': 30, | |
'operation': 'DescribeStackSetOperation', | |
'maxAttempts': 50, | |
'description': | |
'Wait until stackset operation status is Succeeded or Failed', | |
'acceptors': [ | |
{ | |
'argument': 'StackSetOperation.Status', | |
'expected': 'SUCCEEDED', | |
'matcher': 'path', | |
'state': 'success', | |
}, | |
{ | |
'argument': 'StackSetOperation.Status', | |
'expected': 'FAILED', | |
'matcher': 'path', | |
'state': 'failure', | |
}, | |
] | |
} | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment