@aws-cdk/aws-cloudwatch/lib/alarm.ts: Cloudwatch Alarm with p100 statistics is missing ExtendedStatistic property in CFN template after recent cdk change. #24976
Labels
@aws-cdk/aws-cloudwatch
Related to Amazon CloudWatch
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p0
Describe the bug
Starting recently, I noticed when using p100 statistics for cloudwatch Alarms, the generated CFN template is missing ExtendedStatistic property. However the same code was working previously. Also p100 is a valid value if create alarm from AWS console.
Looks like this change changes behavior for validating percentiles.
853e3d6
Expected Behavior
The generated CFN template should have ExtendedStatistic property.
Current Behavior
The generated CFN template is missing the ExtendedStatistic property.
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
na
Framework Version
No response
Node.js Version
14
OS
macOs
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: