There are more AWS SDK examples available in the AWS Doc SDK Examples
Use ContinueUpdateRollback
with a CLI
The following code examples show how to use ContinueUpdateRollback
.
- CLI
-
- AWS CLI
-
To retry an update rollback
The following
continue-update-rollback
example resumes a rollback operation from a previously failed stack update.aws cloudformation continue-update-rollback \ --stack-name
my-stack
This command produces no output.
-
For API details, see ContinueUpdateRollback
in AWS CLI Command Reference.
-
- PowerShell
-
- Tools for PowerShell V4
-
Example 1: Continues rollback of the named stack, which should be in the state 'UPDATE_ROLLBACK_FAILED'. If the continued rollback is successful, the stack will enter state 'UPDATE_ROLLBACK_COMPLETE'.
Resume-CFNUpdateRollback -StackName "myStack"
-
For API details, see ContinueUpdateRollback in AWS Tools for PowerShell Cmdlet Reference (V4).
-