Builder

class Builder

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
var 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.