fix(cloudwatch): preserve metric alarm state on definition updates (#6464)

This commit is contained in:
Andre Kurait authored and GitHub committed 2026-10-24 21:02:33 -04:00
1 parent fe9dce4061
commit f49376f538
3 files changed
+68 -7

No files matched your search

+7
View File
@@ -408,6 +408,13 @@ Composite alarms support boolean rules over alarm states. Request `AlarmTypes` c
action lists are stored but not executed. Action suppression is not implemented and is
rejected with `ValidationError`.
### Metric alarm updates
Updating a metric alarm preserves its current state, state reason, state timestamp and tags.
Tags supplied to `PutMetricAlarm` apply only when creating an alarm; use `TagResource` and
`UntagResource` to change existing tags. `SetAlarmState` rejects missing or unknown state
values before changing the alarm.
### SNS alarm actions
State transitions publish to same-account standard SNS topics in `AlarmActions`, `OKActions`, or