AlarmExpression

data class AlarmExpression(val comparisonOperator: String? = null, val metricName: String? = null, val period: Int? = null, val statistics: String? = null, val threshold: Double? = null)

Constructors

Link copied to clipboard
constructor(comparisonOperator: String? = null, metricName: String? = null, period: Int? = null, statistics: String? = null, threshold: Double? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The arithmetic operation to use when comparing the specified Statistic and Threshold. The specified Statistic value is used as the first operand. Supported value: >=, <=, >, <. Defaults to >=.

Link copied to clipboard
val metricName: String? = null

The name for the alarm's associated metric. See dimensions below for details.

Link copied to clipboard
val period: Int? = null

The period in seconds over which the specified statistic is applied. Supported value: 60, 120, 300, 900. Defaults to 300.

Link copied to clipboard
val statistics: String? = null

The statistic to apply to the alarm's associated metric. Supported value: Average, Minimum, Maximum. Defaults to Average.

Link copied to clipboard
val threshold: Double? = null

The value against which the specified statistics is compared.