fix(cloudwatch): publish SNS actions on alarm state transitions (#5918)

(cherry picked from commit f5811c3a0735be634b6122503237330826e0ba4a)
This commit is contained in:
mrjusepelo
2026-10-18 10:15:34 -05:00
committed by Zakaria
parent ccdf32335d
commit 2e0a438d70
4 changed files with 266 additions and 1 deletions
+8
View File
@@ -331,6 +331,14 @@ aws logs put-retention-policy \
Metric streams are stored as definitions with their `running` or `stopped` state. Floci never
delivers metrics to the Firehose delivery stream a metric stream names.
### SNS alarm actions
State transitions publish to same-account standard SNS topics in `AlarmActions`, `OKActions`, or
`InsufficientDataActions`, including transitions from `SetAlarmState`. Unchanged states and
`ActionsEnabled=false` suppress notifications. Scaling action retries remain independent.
Failures are logged per target without blocking other targets. Notifications include a
single-metric `Trigger`; durable retries, FIFO topics, and metric-math payloads are not covered.
### Metric-math alarm definitions
`PutMetricAlarm` stores the `Metrics` query definitions and `DescribeAlarms` returns them over