@Stability(value=Experimental)
public static interface EmrCreateCluster.CloudWatchAlarmDefinitionProperty
extends software.amazon.jsii.JsiiSerializable
When the defined alarm conditions are satisfied, scaling activity begins.
https://docs.aws.amazon.com/emr/latest/APIReference/API_CloudWatchAlarmDefinition.html| Modifier and Type | Interface and Description |
|---|---|
static class |
EmrCreateCluster.CloudWatchAlarmDefinitionProperty.Builder
A builder for
EmrCreateCluster.CloudWatchAlarmDefinitionProperty |
static class |
EmrCreateCluster.CloudWatchAlarmDefinitionProperty.Jsii$Proxy
An implementation for
EmrCreateCluster.CloudWatchAlarmDefinitionProperty |
| Modifier and Type | Method and Description |
|---|---|
static EmrCreateCluster.CloudWatchAlarmDefinitionProperty.Builder |
builder() |
EmrCreateCluster.CloudWatchAlarmComparisonOperator |
getComparisonOperator()
(experimental) Determines how the metric specified by MetricName is compared to the value specified by Threshold.
|
default List<EmrCreateCluster.MetricDimensionProperty> |
getDimensions()
(experimental) A CloudWatch metric dimension.
|
default Number |
getEvaluationPeriods()
(experimental) The number of periods, in five-minute increments, during which the alarm condition must exist before the alarm triggers automatic scaling activity.
|
String |
getMetricName()
(experimental) The name of the CloudWatch metric that is watched to determine an alarm condition.
|
default String |
getNamespace()
(experimental) The namespace for the CloudWatch metric.
|
Duration |
getPeriod()
(experimental) The period, in seconds, over which the statistic is applied.
|
default EmrCreateCluster.CloudWatchAlarmStatistic |
getStatistic()
(experimental) The statistic to apply to the metric associated with the alarm.
|
default Number |
getThreshold()
(experimental) The value against which the specified statistic is compared.
|
default EmrCreateCluster.CloudWatchAlarmUnit |
getUnit()
(experimental) The unit of measure associated with the CloudWatch metric being watched.
|
@Stability(value=Experimental) @NotNull EmrCreateCluster.CloudWatchAlarmComparisonOperator getComparisonOperator()
@Stability(value=Experimental) @NotNull String getMetricName()
@Stability(value=Experimental) @NotNull Duration getPeriod()
EMR CloudWatch metrics are emitted every five minutes (300 seconds), so if an EMR CloudWatch metric is specified, specify 300.
@Stability(value=Experimental) @Nullable default List<EmrCreateCluster.MetricDimensionProperty> getDimensions()
Default: - No dimensions
@Stability(value=Experimental) @Nullable default Number getEvaluationPeriods()
Default: 1
@Stability(value=Experimental) @Nullable default String getNamespace()
Default: 'AWS/ElasticMapReduce'
@Stability(value=Experimental) @Nullable default EmrCreateCluster.CloudWatchAlarmStatistic getStatistic()
Default: CloudWatchAlarmStatistic.AVERAGE
@Stability(value=Experimental) @Nullable default Number getThreshold()
Default: - None
@Stability(value=Experimental) @Nullable default EmrCreateCluster.CloudWatchAlarmUnit getUnit()
The value specified for Unit must correspond to the units specified in the CloudWatch metric.
Default: CloudWatchAlarmUnit.NONE
@Stability(value=Experimental) static EmrCreateCluster.CloudWatchAlarmDefinitionProperty.Builder builder()
Copyright © 2021. All rights reserved.