CompositeAlarmProps

class aws_cdk.aws_cloudwatch.CompositeAlarmProps(*, alarm_rule, actions_enabled=None, alarm_description=None, composite_alarm_name=None)

Bases: object

__init__(*, alarm_rule, actions_enabled=None, alarm_description=None, composite_alarm_name=None)

Properties for creating a Composite Alarm.

Parameters
  • alarm_rule (IAlarmRule) – Expression that specifies which other alarms are to be evaluated to determine this composite alarm’s state.

  • actions_enabled (Optional[bool]) – Whether the actions for this alarm are enabled. Default: true

  • alarm_description (Optional[str]) – Description for the alarm. Default: No description

  • composite_alarm_name (Optional[str]) – Name of the alarm. Default: Automatically generated name

Return type

None

Attributes

actions_enabled

Whether the actions for this alarm are enabled.

default :default: true

Return type

Optional[bool]

alarm_description

Description for the alarm.

default :default: No description

Return type

Optional[str]

alarm_rule

Expression that specifies which other alarms are to be evaluated to determine this composite alarm’s state.

Return type

IAlarmRule

composite_alarm_name

Name of the alarm.

default :default: Automatically generated name

Return type

Optional[str]