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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.emr.CfnCluster.InstanceTypeConfigProperty
CfnCluster.InstanceTypeConfigProperty.Builder, CfnCluster.InstanceTypeConfigProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnCluster.InstanceTypeConfigProperty.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 bid price for each Amazon EC2 Spot Instance type as defined byInstanceType
.final Number
The bid price, as a percentage of On-Demand price, for each Amazon EC2 Spot Instance as defined byInstanceType
.final Object
A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software that run on the cluster.final String
The custom AMI ID to use for the instance type.final Object
The configuration of Amazon Elastic Block Store (Amazon EBS) attached to each instance as defined byInstanceType
.final String
An Amazon EC2 instance type, such asm3.xlarge
.final Number
The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined inInstanceFleetConfig
.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 theCfnCluster.InstanceTypeConfigProperty.Builder
.
-
-
Method Details
-
getInstanceType
Description copied from interface:CfnCluster.InstanceTypeConfigProperty
An Amazon EC2 instance type, such asm3.xlarge
.- Specified by:
getInstanceType
in interfaceCfnCluster.InstanceTypeConfigProperty
- See Also:
-
getBidPrice
Description copied from interface:CfnCluster.InstanceTypeConfigProperty
The bid price for each Amazon EC2 Spot Instance type as defined byInstanceType
.Expressed in USD. If neither
BidPrice
norBidPriceAsPercentageOfOnDemandPrice
is provided,BidPriceAsPercentageOfOnDemandPrice
defaults to 100%.- Specified by:
getBidPrice
in interfaceCfnCluster.InstanceTypeConfigProperty
- See Also:
-
getBidPriceAsPercentageOfOnDemandPrice
Description copied from interface:CfnCluster.InstanceTypeConfigProperty
The 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
BidPrice
norBidPriceAsPercentageOfOnDemandPrice
is provided,BidPriceAsPercentageOfOnDemandPrice
defaults to 100%.- Specified by:
getBidPriceAsPercentageOfOnDemandPrice
in interfaceCfnCluster.InstanceTypeConfigProperty
- See Also:
-
getConfigurations
Description copied from interface:CfnCluster.InstanceTypeConfigProperty
A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software that run on the cluster.- Specified by:
getConfigurations
in interfaceCfnCluster.InstanceTypeConfigProperty
- See Also:
-
getCustomAmiId
Description copied from interface:CfnCluster.InstanceTypeConfigProperty
The custom AMI ID to use for the instance type.- Specified by:
getCustomAmiId
in interfaceCfnCluster.InstanceTypeConfigProperty
- See Also:
-
getEbsConfiguration
Description copied from interface:CfnCluster.InstanceTypeConfigProperty
The configuration of Amazon Elastic Block Store (Amazon EBS) attached to each instance as defined byInstanceType
.- Specified by:
getEbsConfiguration
in interfaceCfnCluster.InstanceTypeConfigProperty
- See Also:
-
getWeightedCapacity
Description copied from interface:CfnCluster.InstanceTypeConfigProperty
The 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:
getWeightedCapacity
in interfaceCfnCluster.InstanceTypeConfigProperty
- 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()
-