CloudWatchAlarmDefinition
¶
Source code in docs_src/capo_emr/types/cloud_watch_alarm_definition.py
comparison_operator
instance-attribute
¶
comparison_operator: NotRequired[ComparisonOperator]
Determines how the metric specified by MetricName is compared to the value specified by Threshold.
dimensions
instance-attribute
¶
dimensions: NotRequired[MetricDimensionList]
A CloudWatch metric dimension.
evaluation_periods
instance-attribute
¶
evaluation_periods: NotRequired[Integer]
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.
metric_name
instance-attribute
¶
metric_name: NotRequired[String]
The name of the CloudWatch metric that is watched to determine an alarm condition.
namespace
instance-attribute
¶
namespace: NotRequired[String]
The namespace for the CloudWatch metric. The default is AWS/ElasticMapReduce.
period
instance-attribute
¶
period: NotRequired[Integer]
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
instance-attribute
¶
statistic: NotRequired[Statistic]
The statistic to apply to the metric associated with the alarm. The default is AVERAGE.
threshold
instance-attribute
¶
threshold: NotRequired[NonNegativeDouble]
The value against which the specified statistic is compared.