Class CfnInstanceGroupConfig.CloudWatchAlarmDefinitionProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.emr.CfnInstanceGroupConfig.CloudWatchAlarmDefinitionProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnInstanceGroupConfig.CloudWatchAlarmDefinitionProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnInstanceGroupConfig.CloudWatchAlarmDefinitionProperty
@Stability(Stable)
@Internal
public static final class CfnInstanceGroupConfig.CloudWatchAlarmDefinitionProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnInstanceGroupConfig.CloudWatchAlarmDefinitionProperty
An implementation for
CfnInstanceGroupConfig.CloudWatchAlarmDefinitionProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.emr.CfnInstanceGroupConfig.CloudWatchAlarmDefinitionProperty
CfnInstanceGroupConfig.CloudWatchAlarmDefinitionProperty.Builder, CfnInstanceGroupConfig.CloudWatchAlarmDefinitionProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnInstanceGroupConfig.CloudWatchAlarmDefinitionProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final String
Determines how the metric specified byMetricName
is compared to the value specified byThreshold
.final Object
A CloudWatch metric dimension.final Number
The number of periods, in five-minute increments, during which the alarm condition must exist before the alarm triggers automatic scaling activity.final String
The name of the CloudWatch metric that is watched to determine an alarm condition.final String
The namespace for the CloudWatch metric.final Number
The period, in seconds, over which the statistic is applied.final String
The statistic to apply to the metric associated with the alarm.final Number
The value against which the specified statistic is compared.final String
getUnit()
The unit of measure associated with the CloudWatch metric being watched.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnInstanceGroupConfig.CloudWatchAlarmDefinitionProperty.Builder
.
-
-
Method Details
-
getComparisonOperator
Description copied from interface:CfnInstanceGroupConfig.CloudWatchAlarmDefinitionProperty
Determines how the metric specified byMetricName
is compared to the value specified byThreshold
.- Specified by:
getComparisonOperator
in interfaceCfnInstanceGroupConfig.CloudWatchAlarmDefinitionProperty
-
getMetricName
Description copied from interface:CfnInstanceGroupConfig.CloudWatchAlarmDefinitionProperty
The name of the CloudWatch metric that is watched to determine an alarm condition.- Specified by:
getMetricName
in interfaceCfnInstanceGroupConfig.CloudWatchAlarmDefinitionProperty
-
getPeriod
Description copied from interface:CfnInstanceGroupConfig.CloudWatchAlarmDefinitionProperty
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
.- Specified by:
getPeriod
in interfaceCfnInstanceGroupConfig.CloudWatchAlarmDefinitionProperty
-
getThreshold
Description copied from interface:CfnInstanceGroupConfig.CloudWatchAlarmDefinitionProperty
The value against which the specified statistic is compared.- Specified by:
getThreshold
in interfaceCfnInstanceGroupConfig.CloudWatchAlarmDefinitionProperty
-
getDimensions
Description copied from interface:CfnInstanceGroupConfig.CloudWatchAlarmDefinitionProperty
A CloudWatch metric dimension.- Specified by:
getDimensions
in interfaceCfnInstanceGroupConfig.CloudWatchAlarmDefinitionProperty
-
getEvaluationPeriods
Description copied from interface:CfnInstanceGroupConfig.CloudWatchAlarmDefinitionProperty
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
.- Specified by:
getEvaluationPeriods
in interfaceCfnInstanceGroupConfig.CloudWatchAlarmDefinitionProperty
-
getNamespace
Description copied from interface:CfnInstanceGroupConfig.CloudWatchAlarmDefinitionProperty
The namespace for the CloudWatch metric.The default is
AWS/ElasticMapReduce
.- Specified by:
getNamespace
in interfaceCfnInstanceGroupConfig.CloudWatchAlarmDefinitionProperty
-
getStatistic
Description copied from interface:CfnInstanceGroupConfig.CloudWatchAlarmDefinitionProperty
The statistic to apply to the metric associated with the alarm.The default is
AVERAGE
.- Specified by:
getStatistic
in interfaceCfnInstanceGroupConfig.CloudWatchAlarmDefinitionProperty
-
getUnit
Description copied from interface:CfnInstanceGroupConfig.CloudWatchAlarmDefinitionProperty
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.- Specified by:
getUnit
in interfaceCfnInstanceGroupConfig.CloudWatchAlarmDefinitionProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-