Class CfnInstanceFleetConfigProps.Jsii$Proxy
- All Implemented Interfaces:
CfnInstanceFleetConfigProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnInstanceFleetConfigProps
CfnInstanceFleetConfigProps
-
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.CfnInstanceFleetConfigProps
CfnInstanceFleetConfigProps.Builder, CfnInstanceFleetConfigProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnInstanceFleetConfigProps.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
The unique identifier of the EMR cluster.final String
The node type that the instance fleet hosts.final Object
InstanceTypeConfigs
determine the EC2 instances that Amazon EMR attempts to provision to fulfill On-Demand and Spot target capacities.final Object
The launch specification for the instance fleet.final String
getName()
The friendly name of the instance fleet.final Object
The resize specification for the instance fleet.final Number
The target capacity of On-Demand units for the instance fleet, which determines how many On-Demand instances to provision.final Number
The target capacity of Spot units for the instance fleet, which determines how many Spot instances to provision.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 theCfnInstanceFleetConfigProps.Builder
.
-
-
Method Details
-
getClusterId
Description copied from interface:CfnInstanceFleetConfigProps
The unique identifier of the EMR cluster.- Specified by:
getClusterId
in interfaceCfnInstanceFleetConfigProps
- See Also:
-
getInstanceFleetType
Description copied from interface:CfnInstanceFleetConfigProps
The node type that the instance fleet hosts.Allowed Values : TASK
- Specified by:
getInstanceFleetType
in interfaceCfnInstanceFleetConfigProps
- See Also:
-
getInstanceTypeConfigs
Description copied from interface:CfnInstanceFleetConfigProps
InstanceTypeConfigs
determine the EC2 instances that Amazon EMR attempts to provision to fulfill On-Demand and Spot target capacities.The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
- Specified by:
getInstanceTypeConfigs
in interfaceCfnInstanceFleetConfigProps
- See Also:
-
getLaunchSpecifications
Description copied from interface:CfnInstanceFleetConfigProps
The launch specification for the instance fleet.- Specified by:
getLaunchSpecifications
in interfaceCfnInstanceFleetConfigProps
- See Also:
-
getName
Description copied from interface:CfnInstanceFleetConfigProps
The friendly name of the instance fleet.- Specified by:
getName
in interfaceCfnInstanceFleetConfigProps
- See Also:
-
getResizeSpecifications
Description copied from interface:CfnInstanceFleetConfigProps
The resize specification for the instance fleet.- Specified by:
getResizeSpecifications
in interfaceCfnInstanceFleetConfigProps
- See Also:
-
getTargetOnDemandCapacity
Description copied from interface:CfnInstanceFleetConfigProps
The target capacity of On-Demand units for the instance fleet, which determines how many On-Demand instances to provision.When the instance fleet launches, Amazon EMR tries to provision On-Demand instances as specified by
InstanceTypeConfig
. Each instance configuration has a specifiedWeightedCapacity
. When an On-Demand instance is provisioned, theWeightedCapacity
units count toward the target capacity. Amazon EMR provisions instances until the target capacity is totally fulfilled, even if this results in an overage. For example, if there are 2 units remaining to fulfill capacity, and Amazon EMR can only provision an instance with aWeightedCapacity
of 5 units, the instance is provisioned, and the target capacity is exceeded by 3 units.If not specified or set to 0, only Spot instances are provisioned for the instance fleet using
TargetSpotCapacity
. At least one ofTargetSpotCapacity
andTargetOnDemandCapacity
should be greater than 0. For a master instance fleet, only one ofTargetSpotCapacity
andTargetOnDemandCapacity
can be specified, and its value must be 1.- Specified by:
getTargetOnDemandCapacity
in interfaceCfnInstanceFleetConfigProps
- See Also:
-
getTargetSpotCapacity
Description copied from interface:CfnInstanceFleetConfigProps
The target capacity of Spot units for the instance fleet, which determines how many Spot instances to provision.When the instance fleet launches, Amazon EMR tries to provision Spot instances as specified by
InstanceTypeConfig
. Each instance configuration has a specifiedWeightedCapacity
. When a Spot instance is provisioned, theWeightedCapacity
units count toward the target capacity. Amazon EMR provisions instances until the target capacity is totally fulfilled, even if this results in an overage. For example, if there are 2 units remaining to fulfill capacity, and Amazon EMR can only provision an instance with aWeightedCapacity
of 5 units, the instance is provisioned, and the target capacity is exceeded by 3 units.If not specified or set to 0, only On-Demand instances are provisioned for the instance fleet. At least one of
TargetSpotCapacity
andTargetOnDemandCapacity
should be greater than 0. For a master instance fleet, only one ofTargetSpotCapacity
andTargetOnDemandCapacity
can be specified, and its value must be 1.- Specified by:
getTargetSpotCapacity
in interfaceCfnInstanceFleetConfigProps
- 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()
-