AlertCondition

The condition that determines when the alert fires. On UpdateAlert a supplied condition is replaced whole, not merged: an omitted {@code warningThreshold} or {@code criticalThreshold} removes that tier, and an omitted {@code thresholdField} clears it. A condition must keep at least one tier. {@code thresholdMode} and {@code comparator} are optional at the Smithy level (so a single-tier condition is expressible) but are required whenever a threshold is present; enforced by the service-side validator.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The comparison operator applied to the threshold.

Link copied to clipboard

The value at which the alert enters the CRITICAL state.

Link copied to clipboard

The field the threshold is evaluated against.

Link copied to clipboard

How the threshold is applied to query results.

Link copied to clipboard

The value at which the alert enters the WARNING state.

Functions

Link copied to clipboard
inline fun copy(block: AlertCondition.Builder.() -> Unit = {}): AlertCondition
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String