Alarm constructor statistic
prop doesn't use Cfn extendedStatistic
for percentile values
#3845
Labels
statistic
prop doesn't use Cfn extendedStatistic
for percentile values
#3845
🐛 Bug Report
What is the problem?
Creating cloudwatch Alarms via the
metric.createAlarm
api works with percentage values.Also creating a metric with a value like
p95
correctly uses theextendedStatistic
Cfn field on a Metric:However using the
statistic
field on alarm will not work. It only works with "simple" metrics because it only uses thestatistic
and never theextendedStatistic
field.This is quite a gotcha given that a "simple" metric works:
Reproduction Steps
This causes a Cfn error when deploying:
Environment
The text was updated successfully, but these errors were encountered: