Class CfnCluster.InstanceTypeConfigProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.emr.CfnCluster.InstanceTypeConfigProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnCluster.InstanceTypeConfigProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnCluster.InstanceTypeConfigProperty
@Stability(Stable)
@Internal
public static final class CfnCluster.InstanceTypeConfigProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnCluster.InstanceTypeConfigProperty
An implementation for
CfnCluster.InstanceTypeConfigProperty-
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.CfnCluster.InstanceTypeConfigProperty
CfnCluster.InstanceTypeConfigProperty.Builder, CfnCluster.InstanceTypeConfigProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnCluster.InstanceTypeConfigProperty.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 bid price for each Amazon EC2 Spot Instance type as defined byInstanceType.final NumberThe bid price, as a percentage of On-Demand price, for each Amazon EC2 Spot Instance as defined byInstanceType.final ObjectA configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software that run on the cluster.final StringThe custom AMI ID to use for the instance type.final ObjectThe configuration of Amazon Elastic Block Store (Amazon EBS) attached to each instance as defined byInstanceType.final StringAn Amazon EC2 instance type, such asm3.xlarge.final NumberThe priority at which Amazon EMR launches the Amazon EC2 instances with this instance type.final NumberThe number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined inInstanceFleetConfig.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
Constructor that initializes the object based on literal property values passed by theCfnCluster.InstanceTypeConfigProperty.Builder.
-
-
Method Details
-
getInstanceType
Description copied from interface:CfnCluster.InstanceTypeConfigPropertyAn Amazon EC2 instance type, such asm3.xlarge.- Specified by:
getInstanceTypein interfaceCfnCluster.InstanceTypeConfigProperty- See Also:
-
getBidPrice
Description copied from interface:CfnCluster.InstanceTypeConfigPropertyThe bid price for each Amazon EC2 Spot Instance type as defined byInstanceType.Expressed in USD. If neither
BidPricenorBidPriceAsPercentageOfOnDemandPriceis provided,BidPriceAsPercentageOfOnDemandPricedefaults to 100%.- Specified by:
getBidPricein interfaceCfnCluster.InstanceTypeConfigProperty- See Also:
-
getBidPriceAsPercentageOfOnDemandPrice
Description copied from interface:CfnCluster.InstanceTypeConfigPropertyThe bid price, as a percentage of On-Demand price, for each Amazon EC2 Spot Instance as defined byInstanceType.Expressed as a number (for example, 20 specifies 20%). If neither
BidPricenorBidPriceAsPercentageOfOnDemandPriceis provided,BidPriceAsPercentageOfOnDemandPricedefaults to 100%.- Specified by:
getBidPriceAsPercentageOfOnDemandPricein interfaceCfnCluster.InstanceTypeConfigProperty- See Also:
-
getConfigurations
Description copied from interface:CfnCluster.InstanceTypeConfigPropertyA configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software that run on the cluster.- Specified by:
getConfigurationsin interfaceCfnCluster.InstanceTypeConfigProperty- See Also:
-
getCustomAmiId
Description copied from interface:CfnCluster.InstanceTypeConfigPropertyThe custom AMI ID to use for the instance type.- Specified by:
getCustomAmiIdin interfaceCfnCluster.InstanceTypeConfigProperty- See Also:
-
getEbsConfiguration
Description copied from interface:CfnCluster.InstanceTypeConfigPropertyThe configuration of Amazon Elastic Block Store (Amazon EBS) attached to each instance as defined byInstanceType.- Specified by:
getEbsConfigurationin interfaceCfnCluster.InstanceTypeConfigProperty- See Also:
-
getPriority
Description copied from interface:CfnCluster.InstanceTypeConfigPropertyThe priority at which Amazon EMR launches the Amazon EC2 instances with this instance type.Priority starts at 0, which is the highest priority. Amazon EMR considers the highest priority first.
- Specified by:
getPriorityin interfaceCfnCluster.InstanceTypeConfigProperty- See Also:
-
getWeightedCapacity
Description copied from interface:CfnCluster.InstanceTypeConfigPropertyThe number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined inInstanceFleetConfig.This value is 1 for a master instance fleet, and must be 1 or greater for core and task instance fleets. Defaults to 1 if not specified.
- Specified by:
getWeightedCapacityin interfaceCfnCluster.InstanceTypeConfigProperty- 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()
-