TimeWindowCustomAlertRuleArgs

data class TimeWindowCustomAlertRuleArgs(val isEnabled: Output<Boolean>, val maxThreshold: Output<Int>, val minThreshold: Output<Int>, val ruleType: Output<String>, val timeWindowSize: Output<String>) : ConvertibleToJava<TimeWindowCustomAlertRuleArgs>

A custom alert rule that checks if the number of activities (depends on the custom alert type) in a time window is within the given range.

Constructors

Link copied to clipboard
constructor(isEnabled: Output<Boolean>, maxThreshold: Output<Int>, minThreshold: Output<Int>, ruleType: Output<String>, timeWindowSize: Output<String>)

Properties

Link copied to clipboard
val isEnabled: Output<Boolean>

Status of the custom alert.

Link copied to clipboard
val maxThreshold: Output<Int>

The maximum threshold.

Link copied to clipboard
val minThreshold: Output<Int>

The minimum threshold.

Link copied to clipboard
val ruleType: Output<String>

The type of the custom alert rule. Expected value is 'TimeWindowCustomAlertRule'.

Link copied to clipboard
val timeWindowSize: Output<String>

The time window size in iso8601 format.

Functions

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