Class CfnCluster.SpotResizingSpecificationProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.emr.CfnCluster.SpotResizingSpecificationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnCluster.SpotResizingSpecificationProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnCluster.SpotResizingSpecificationProperty
@Stability(Stable)
@Internal
public static final class CfnCluster.SpotResizingSpecificationProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnCluster.SpotResizingSpecificationProperty
An implementation for
CfnCluster.SpotResizingSpecificationProperty
-
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.CfnCluster.SpotResizingSpecificationProperty
CfnCluster.SpotResizingSpecificationProperty.Builder, CfnCluster.SpotResizingSpecificationProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnCluster.SpotResizingSpecificationProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
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 theCfnCluster.SpotResizingSpecificationProperty.Builder
.
-
-
Method Details
-
getAllocationStrategy
Description copied from interface:CfnCluster.SpotResizingSpecificationProperty
Specifies the allocation strategy to use to launch Spot instances during a resize.If you run Amazon EMR releases 6.9.0 or higher, the default is
price-capacity-optimized
. If you run Amazon EMR releases 6.8.0 or lower, the default iscapacity-optimized
.- Specified by:
getAllocationStrategy
in interfaceCfnCluster.SpotResizingSpecificationProperty
- See Also:
-
getTimeoutDurationMinutes
Description copied from interface:CfnCluster.SpotResizingSpecificationProperty
Spot resize timeout in minutes.If Spot Instances are not provisioned within this time, the resize workflow will stop provisioning of Spot instances. Minimum value is 5 minutes and maximum value is 10,080 minutes (7 days). The timeout applies to all resize workflows on the Instance Fleet. The resize could be triggered by Amazon EMR Managed Scaling or by the customer (via Amazon EMR Console, Amazon EMR CLI modify-instance-fleet or Amazon EMR SDK ModifyInstanceFleet API) or by Amazon EMR due to Amazon EC2 Spot Reclamation.
- Specified by:
getTimeoutDurationMinutes
in interfaceCfnCluster.SpotResizingSpecificationProperty
- See Also:
-
$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()
-