CloudWatchAlarmDefinition

The definition of a CloudWatch metric alarm, which determines when an automatic scaling activity is triggered. When the defined alarm conditions are satisfied, scaling activity begins.

Types

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

Properties

Link copied to clipboard

Determines how the metric specified by MetricName is compared to the value specified by Threshold.

Link copied to clipboard

A CloudWatch metric dimension.

Link copied to clipboard

The number of periods, in five-minute increments, during which the alarm condition must exist before the alarm triggers automatic scaling activity. The default value is 1.

Link copied to clipboard

The name of the CloudWatch metric that is watched to determine an alarm condition.

Link copied to clipboard

The namespace for the CloudWatch metric. The default is AWS/ElasticMapReduce.

Link copied to clipboard
val period: Int?

The period, in seconds, over which the statistic is applied. CloudWatch metrics for Amazon EMR are emitted every five minutes (300 seconds), so if you specify a CloudWatch metric, specify 300.

Link copied to clipboard

The statistic to apply to the metric associated with the alarm. The default is AVERAGE.

Link copied to clipboard

The value against which the specified statistic is compared.

Link copied to clipboard

The unit of measure associated with the CloudWatch metric being watched. The value specified for Unit must correspond to the units specified in the CloudWatch metric.

Functions

Link copied to clipboard
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