Values.CloudWatchAlarmDefinitionSourceThe 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.
type nonrec t = {comparisonOperator : ComparisonOperator.t;Determines how the metric specified by MetricName is compared to the value specified by Threshold.
*)evaluationPeriods : Integer.t option;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.
*)metricName : String_.t;The name of the CloudWatch metric that is watched to determine an alarm condition.
*)namespace : String_.t option;The namespace for the CloudWatch metric. The default is AWS/ElasticMapReduce.
*)period : Integer.t;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.
*)statistic : Statistic.t option;The statistic to apply to the metric associated with the alarm. The default is AVERAGE.
*)threshold : NonNegativeDouble.t;The value against which the specified statistic is compared.
*)unit : Unit.t option;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.
*)dimensions : MetricDimensionList.t option;A CloudWatch metric dimension.
*)}val make :
?evaluationPeriods:??? ->
?namespace:??? ->
?statistic:??? ->
?unit:??? ->
?dimensions:??? ->
comparisonOperator:ComparisonOperator.t ->
metricName:String_.t ->
period:Integer.t ->
threshold:NonNegativeDouble.t ->
unit ->
t