CompositeAlarmArgs

data class CompositeAlarmArgs(val actionsEnabled: Output<Boolean>? = null, val actionsSuppressor: Output<String>? = null, val actionsSuppressorExtensionPeriod: Output<Int>? = null, val actionsSuppressorWaitPeriod: Output<Int>? = null, val alarmActions: Output<List<String>>? = null, val alarmDescription: Output<String>? = null, val alarmName: Output<String>? = null, val alarmRule: Output<String>? = null, val insufficientDataActions: Output<List<String>>? = null, val okActions: Output<List<String>>? = null, val tags: Output<List<TagArgs>>? = null) : ConvertibleToJava<CompositeAlarmArgs>

The AWS::CloudWatch::CompositeAlarm type specifies an alarm which aggregates the states of other Alarms (Metric or Composite Alarms) as defined by the AlarmRule expression

Constructors

Link copied to clipboard
constructor(actionsEnabled: Output<Boolean>? = null, actionsSuppressor: Output<String>? = null, actionsSuppressorExtensionPeriod: Output<Int>? = null, actionsSuppressorWaitPeriod: Output<Int>? = null, alarmActions: Output<List<String>>? = null, alarmDescription: Output<String>? = null, alarmName: Output<String>? = null, alarmRule: Output<String>? = null, insufficientDataActions: Output<List<String>>? = null, okActions: Output<List<String>>? = null, tags: Output<List<TagArgs>>? = null)

Properties

Link copied to clipboard
val actionsEnabled: Output<Boolean>? = null

Indicates whether actions should be executed during any changes to the alarm state. The default is TRUE.

Link copied to clipboard
val actionsSuppressor: Output<String>? = null

Actions will be suppressed if the suppressor alarm is in the ALARM state. ActionsSuppressor can be an AlarmName or an Amazon Resource Name (ARN) from an existing alarm.

Link copied to clipboard

Actions will be suppressed if WaitPeriod is active. The length of time that actions are suppressed is in seconds.

Link copied to clipboard
val actionsSuppressorWaitPeriod: Output<Int>? = null

Actions will be suppressed if ExtensionPeriod is active. The length of time that actions are suppressed is in seconds.

Link copied to clipboard
val alarmActions: Output<List<String>>? = null

The list of actions to execute when this alarm transitions into an ALARM state from any other state. Specify each action as an Amazon Resource Name (ARN).

Link copied to clipboard
val alarmDescription: Output<String>? = null

The description of the alarm

Link copied to clipboard
val alarmName: Output<String>? = null

The name of the Composite Alarm

Link copied to clipboard
val alarmRule: Output<String>? = null

Expression which aggregates the state of other Alarms (Metric or Composite Alarms)

Link copied to clipboard
val insufficientDataActions: Output<List<String>>? = null

The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Link copied to clipboard
val okActions: Output<List<String>>? = null

The actions to execute when this alarm transitions to the OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Link copied to clipboard
val tags: Output<List<TagArgs>>? = null

A list of key-value pairs to associate with the composite alarm. You can associate as many as 50 tags with an alarm.

Functions

Link copied to clipboard
open override fun toJava(): CompositeAlarmArgs