Values.CompositeAlarmSourceThe details about a composite alarm.
type nonrec t = {actionsEnabled : ActionsEnabled.t option;Indicates whether actions should be executed during any changes to the alarm state.
*)alarmActions : ResourceList.t option;The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).
*)alarmArn : AlarmArn.t option;The Amazon Resource Name (ARN) of the alarm.
*)alarmConfigurationUpdatedTimestamp : Timestamp.t option;The time stamp of the last update to the alarm configuration.
*)alarmDescription : AlarmDescription.t option;The description of the alarm.
*)alarmName : AlarmName.t option;The name of the alarm.
*)alarmRule : AlarmRule.t option;The rule that this alarm uses to evaluate its alarm state.
*)insufficientDataActions : ResourceList.t option;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).
*)oKActions : ResourceList.t option;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).
*)stateReason : StateReason.t option;An explanation for the alarm state, in text format.
*)stateReasonData : StateReasonData.t option;An explanation for the alarm state, in JSON format.
*)stateUpdatedTimestamp : Timestamp.t option;Tracks the timestamp of any state update, even if StateValue doesn't change.
*)stateValue : StateValue.t option;The state value for the alarm.
*)stateTransitionedTimestamp : Timestamp.t option;The timestamp of the last change to the alarm's StateValue.
*)actionsSuppressedBy : ActionsSuppressedBy.t option;When the value is ALARM, it means that the actions are suppressed because the suppressor alarm is in ALARM When the value is WaitPeriod, it means that the actions are suppressed because the composite alarm is waiting for the suppressor alarm to go into into the ALARM state. The maximum waiting time is as specified in ActionsSuppressorWaitPeriod. After this time, the composite alarm performs its actions. When the value is ExtensionPeriod, it means that the actions are suppressed because the composite alarm is waiting after the suppressor alarm went out of the ALARM state. The maximum waiting time is as specified in ActionsSuppressorExtensionPeriod. After this time, the composite alarm performs its actions.
*)actionsSuppressedReason : ActionsSuppressedReason.t option;Captures the reason for action suppression.
*)actionsSuppressor : AlarmArn.t option;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.
*)actionsSuppressorWaitPeriod : SuppressorPeriod.t option;The maximum time in seconds that the composite alarm waits for the suppressor alarm to go into the ALARM state. After this time, the composite alarm performs its actions. WaitPeriod is required only when ActionsSuppressor is specified.
*)actionsSuppressorExtensionPeriod : SuppressorPeriod.t option;The maximum time in seconds that the composite alarm waits after suppressor alarm goes out of the ALARM state. After this time, the composite alarm performs its actions. ExtensionPeriod is required only when ActionsSuppressor is specified.
*)}val make :
?actionsEnabled:??? ->
?alarmActions:??? ->
?alarmArn:??? ->
?alarmConfigurationUpdatedTimestamp:??? ->
?alarmDescription:??? ->
?alarmName:??? ->
?alarmRule:??? ->
?insufficientDataActions:??? ->
?oKActions:??? ->
?stateReason:??? ->
?stateReasonData:??? ->
?stateUpdatedTimestamp:??? ->
?stateValue:??? ->
?stateTransitionedTimestamp:??? ->
?actionsSuppressedBy:??? ->
?actionsSuppressedReason:??? ->
?actionsSuppressor:??? ->
?actionsSuppressorWaitPeriod:??? ->
?actionsSuppressorExtensionPeriod:??? ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of ActionsEnabled.t
| `Enum of string
| `Integer of SuppressorPeriod.t
| `List of [> `String of ResourceName.t ] list
| `String of AlarmArn.t
| `Timestamp of Timestamp.t ])
list ]