feat(toolkit-lib): support CloudFormation rollback triggers - #1881
Open
mattmb-aws wants to merge 1 commit into
Open
feat(toolkit-lib): support CloudFormation rollback triggers#1881mattmb-aws wants to merge 1 commit into
mattmb-aws wants to merge 1 commit into
Conversation
mattmb-aws
had a problem deploying
to
automation
August 22, 2026 15:01 — with
GitHub Actions
Failure
mattmb-aws
requested a deployment
to
integ-approval
August 22, 2026 15:01 — with
GitHub Actions
Waiting
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1881 +/- ##
==========================================
- Coverage 91.10% 91.08% -0.02%
==========================================
Files 80 80
Lines 12205 12233 +28
Branches 1742 1744 +2
==========================================
+ Hits 11119 11143 +24
- Misses 1050 1054 +4
Partials 36 36
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Expose CloudFormation rollback triggers (rollback alarms + monitoring time) so a stack create/update is automatically rolled back when a CloudWatch alarm breaches. - toolkit-lib: new public `rollbackConfiguration` deploy option (RollbackConfiguration/RollbackTrigger/RollbackTriggerType). It is validated (<=5 triggers, valid alarm ARNs, 0-180 min) and threaded through to the Create/Update/CreateChangeSet calls, with change detection so an unchanged config does not force a deployment. - cli: new `cdk deploy --rollback-trigger-alarm-arns` and `--monitoring-time-minutes` flags. CLI ARNs default to metric alarms; composite alarms are reachable via the programmatic API. Follows the same undefined/[]/[...] management semantics as notificationArns. Fixes aws/aws-cdk#5170 By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
mattmb-aws
force-pushed
the
feat/5170-rollback-triggers
branch
from
August 22, 2026 15:17
085e00f to
bd51232
Compare
mattmb-aws
requested a deployment
to
integ-approval
August 22, 2026 15:17 — with
GitHub Actions
Waiting
mattmb-aws
marked this pull request as ready for review
August 22, 2026 15:28
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Expose CloudFormation rollback triggers (rollback alarms + monitoring time) so a stack create/update is automatically rolled back when a CloudWatch alarm breaches.
rollbackConfigurationdeploy option (RollbackConfiguration/RollbackTrigger/RollbackTriggerType). It is validated (<=5 triggers, valid alarm ARNs, 0-180 min) and threaded through to the Create/Update/CreateChangeSet calls, with change detection so an unchanged config does not force a deployment.cdk deploy --rollback-trigger-alarm-arnsand--monitoring-time-minutesflags. CLI ARNs default to metric alarms; composite alarms are reachable via the programmatic API.Follows the same undefined/[]/[...] management semantics as notificationArns.
Fixes aws/aws-cdk#5170
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Fixes #
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license