cdklabs / cdk-monitoring-constructs

Easy-to-use CDK constructs for monitoring your AWS infrastructure
https://constructs.dev/packages/cdk-monitoring-constructs
Apache License 2.0
443 stars 55 forks source link

Add suppressor alarm props to `AddCompositeAlarmProps`. #516

Closed jonathan-luo closed 1 month ago

jonathan-luo commented 1 month ago

Feature scope

AlarmFactory

Describe your suggested feature

CloudWatch CompositeAlarm now supports specifying a suppressor alarm actionsSuppressor when initializing (see CompositeAlarm API reference). However, this additional parameter is not present within AddCompositeAlarmProps, and thus, it is not possible to create a CompositeAlarm using AlarmFactory.addCompositeAlarm(...) while simultaneously specifying a suppressor alarm.

Could you please add this parameter to AddCompositeAlarmProps, as well as the other associated props, i.e., ActionsSuppressorExtensionPeriod, ActionsSuppressorWaitPeriod, etc.? Thank you so much.