AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
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.
Namespace: Amazon.ElasticMapReduce.Model
Assembly: AWSSDK.ElasticMapReduce.dll
Version: 3.x.y.z
public class CloudWatchAlarmDefinition
The CloudWatchAlarmDefinition type exposes the following members
Name | Description | |
---|---|---|
CloudWatchAlarmDefinition() |
Name | Type | Description | |
---|---|---|---|
ComparisonOperator | Amazon.ElasticMapReduce.ComparisonOperator |
Gets and sets the property ComparisonOperator.
Determines how the metric specified by |
|
Dimensions | System.Collections.Generic.List<Amazon.ElasticMapReduce.Model.MetricDimension> |
Gets and sets the property Dimensions. A CloudWatch metric dimension. |
|
EvaluationPeriods | System.Int32 |
Gets and sets the property EvaluationPeriods.
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 |
|
MetricName | System.String |
Gets and sets the property MetricName. The name of the CloudWatch metric that is watched to determine an alarm condition. |
|
Namespace | System.String |
Gets and sets the property Namespace.
The namespace for the CloudWatch metric. The default is |
|
Period | System.Int32 |
Gets and sets the property Period.
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 |
|
Statistic | Amazon.ElasticMapReduce.Statistic |
Gets and sets the property Statistic.
The statistic to apply to the metric associated with the alarm. The default is |
|
Threshold | System.Double |
Gets and sets the property Threshold. The value against which the specified statistic is compared. |
|
Unit | Amazon.ElasticMapReduce.Unit |
Gets and sets the property Unit.
The unit of measure associated with the CloudWatch metric being watched. The value
specified for |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5