You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EMR::Types::CloudWatchAlarmDefinitionWhen passing CloudWatchAlarmDefinition as input to an Aws::Client method, you can use a vanilla Hash:
{
comparison_operator: "GREATER_THAN_OR_EQUAL", evaluation_periods: 1,
metric_name: "String", namespace: "String",
period: 1, statistic: "SAMPLE_COUNT", threshold: 1.0, unit: "NONE", dimensions: [
{
key: "String",
value: "String",
},
],
}
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.
Returned by:
Instance Attribute Summary collapseDetermines how the metric specified by MetricName
is compared to the value specified by Threshold
.
A CloudWatch metric dimension.
The number of periods, in five-minute increments, during which the alarm condition must exist before the alarm triggers automatic scaling activity.
The name of the CloudWatch metric that is watched to determine an alarm condition.
The namespace for the CloudWatch metric.
The period, in seconds, over which the statistic is applied.
The statistic to apply to the metric associated with the alarm.
The value against which the specified statistic is compared.
The unit of measure associated with the CloudWatch metric being watched.
Determines how the metric specified by MetricName
is compared to the value specified by Threshold
.
Possible values:
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
.
The name of the CloudWatch metric that is watched to determine an alarm condition.
#namespace ⇒ StringThe namespace for the CloudWatch metric. The default is AWS/ElasticMapReduce
.
The period, in seconds, over which the statistic is applied. EMR CloudWatch metrics are emitted every five minutes (300 seconds), so if an EMR CloudWatch metric is specified, specify 300
.
The statistic to apply to the metric associated with the alarm. The default is AVERAGE
.
Possible values:
The value against which the specified statistic is compared.
#unit ⇒ StringThe 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.
Possible values:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4