Class CfnInstanceGroupConfig.SimpleScalingPolicyConfigurationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnInstanceGroupConfig.SimpleScalingPolicyConfigurationProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnInstanceGroupConfig.SimpleScalingPolicyConfigurationProperty
CfnInstanceGroupConfig.SimpleScalingPolicyConfigurationProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.emr.CfnInstanceGroupConfig.SimpleScalingPolicyConfigurationProperty
CfnInstanceGroupConfig.SimpleScalingPolicyConfigurationProperty.Builder, CfnInstanceGroupConfig.SimpleScalingPolicyConfigurationProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnInstanceGroupConfig.SimpleScalingPolicyConfigurationProperty.Builder.protectedJsii$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.JsonNodefinal booleanfinal StringThe way in which Amazon EC2 instances are added (ifScalingAdjustmentis a positive number) or terminated (ifScalingAdjustmentis a negative number) each time the scaling activity is triggered.final NumberThe amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.final NumberThe amount by which to scale in or scale out, based on the specifiedAdjustmentType.final inthashCode()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
protected Jsii$Proxy(CfnInstanceGroupConfig.SimpleScalingPolicyConfigurationProperty.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnInstanceGroupConfig.SimpleScalingPolicyConfigurationProperty.Builder.
-
-
Method Details
-
getScalingAdjustment
Description copied from interface:CfnInstanceGroupConfig.SimpleScalingPolicyConfigurationPropertyThe amount by which to scale in or scale out, based on the specifiedAdjustmentType.A positive value adds to the instance group's Amazon EC2 instance count while a negative number removes instances. If
AdjustmentTypeis set toEXACT_CAPACITY, the number should only be a positive integer. IfAdjustmentTypeis set toPERCENT_CHANGE_IN_CAPACITY, the value should express the percentage as an integer. For example, -20 indicates a decrease in 20% increments of cluster capacity.- Specified by:
getScalingAdjustmentin interfaceCfnInstanceGroupConfig.SimpleScalingPolicyConfigurationProperty- See Also:
-
getAdjustmentType
Description copied from interface:CfnInstanceGroupConfig.SimpleScalingPolicyConfigurationPropertyThe way in which Amazon EC2 instances are added (ifScalingAdjustmentis a positive number) or terminated (ifScalingAdjustmentis a negative number) each time the scaling activity is triggered.CHANGE_IN_CAPACITYis the default.CHANGE_IN_CAPACITYindicates that the Amazon EC2 instance count increments or decrements byScalingAdjustment, which should be expressed as an integer.PERCENT_CHANGE_IN_CAPACITYindicates the instance count increments or decrements by the percentage specified byScalingAdjustment, which should be expressed as an integer. For example, 20 indicates an increase in 20% increments of cluster capacity.EXACT_CAPACITYindicates the scaling activity results in an instance group with the number of Amazon EC2 instances specified byScalingAdjustment, which should be expressed as a positive integer.- Specified by:
getAdjustmentTypein interfaceCfnInstanceGroupConfig.SimpleScalingPolicyConfigurationProperty- See Also:
-
getCoolDown
Description copied from interface:CfnInstanceGroupConfig.SimpleScalingPolicyConfigurationPropertyThe amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.The default value is 0.
- Specified by:
getCoolDownin interfaceCfnInstanceGroupConfig.SimpleScalingPolicyConfigurationProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-