A Composite Alarm based on Alarm Rule.
import { CompositeAlarm } from 'aws-cdk-lib/aws-cloudwatch';Or use the module namespace:
import * as cloudwatch from 'aws-cdk-lib/aws-cloudwatch';
// cloudwatch.CompositeAlarmConfiguration passed to the constructor as CompositeAlarmProps.
alarmRuleRequiredIAlarmRuleExpression that specifies which other alarms are to be evaluated to determine this composite alarm's state.
actionsEnabledOptionalbooleanWhether the actions for this alarm are enabled.
Default: true
actionsSuppressorOptionalIAlarmRefActions will be suppressed if the suppressor alarm is in the ALARM state.
Default: - alarm will not be suppressed.
actionsSuppressorExtensionPeriodOptionalDurationThe maximum duration that the composite alarm waits after suppressor alarm goes out of the ALARM state. After this time, the composite alarm performs its actions.
Default: - 1 minute extension period will be set.
actionsSuppressorWaitPeriodOptionalDurationThe maximum duration that the composite alarm waits for the suppressor alarm to go into the ALARM state. After this time, the composite alarm performs its actions.
Default: - 1 minute wait period will be set.
alarmDescriptionOptionalstringDescription for the alarm.
Default: - No description.
compositeAlarmNameOptionalstringName of the alarm.
Default: - Automatically generated name.
Everything you need to know about Amazon CloudWatch on one page. HD quality, print-friendly.
Download Free Infographicaws-cloudwatch