@Stability(value=Stable) @Internal public static final class CfnInstanceFleetConfig.InstanceTypeConfigProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnInstanceFleetConfig.InstanceTypeConfigProperty
CfnInstanceFleetConfig.InstanceTypeConfigPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnInstanceFleetConfig.InstanceTypeConfigProperty.Builder, CfnInstanceFleetConfig.InstanceTypeConfigProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnInstanceFleetConfig.InstanceTypeConfigProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnInstanceFleetConfig.ConfigurationProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getBidPrice()
The bid price for each EC2 Spot Instance type as defined by `InstanceType` .
|
Number |
getBidPriceAsPercentageOfOnDemandPrice()
The bid price, as a percentage of On-Demand price, for each EC2 Spot Instance as defined by `InstanceType` .
|
Object |
getConfigurations()
> Amazon EMR releases 4.x or later.
|
String |
getCustomAmiId()
The custom AMI ID to use for the instance type.
|
Object |
getEbsConfiguration()
The configuration of Amazon Elastic Block Store (Amazon EBS) attached to each instance as defined by `InstanceType` .
|
String |
getInstanceType()
An EC2 instance type, such as `m3.xlarge` .
|
Number |
getWeightedCapacity()
The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in `InstanceFleetConfig` .
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnInstanceFleetConfig.InstanceTypeConfigProperty.Builder builder)
CfnInstanceFleetConfig.ConfigurationProperty.Builder.public final String getInstanceType()
CfnInstanceFleetConfig.InstanceTypeConfigPropertygetInstanceType in interface CfnInstanceFleetConfig.InstanceTypeConfigPropertypublic final String getBidPrice()
CfnInstanceFleetConfig.InstanceTypeConfigProperty
Expressed in USD. If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.
getBidPrice in interface CfnInstanceFleetConfig.InstanceTypeConfigPropertypublic final Number getBidPriceAsPercentageOfOnDemandPrice()
CfnInstanceFleetConfig.InstanceTypeConfigProperty
Expressed as a number (for example, 20 specifies 20%). If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.
getBidPriceAsPercentageOfOnDemandPrice in interface CfnInstanceFleetConfig.InstanceTypeConfigPropertypublic final Object getConfigurations()
CfnInstanceFleetConfig.InstanceTypeConfigPropertyAn optional configuration specification to be used when provisioning cluster instances, which can include configurations for applications and software bundled with Amazon EMR. A configuration consists of a classification, properties, and optional nested configurations. A classification refers to an application-specific configuration file. Properties are the settings you want to change in that file. For more information, see Configuring Applications .
getConfigurations in interface CfnInstanceFleetConfig.InstanceTypeConfigPropertypublic final String getCustomAmiId()
CfnInstanceFleetConfig.InstanceTypeConfigPropertygetCustomAmiId in interface CfnInstanceFleetConfig.InstanceTypeConfigPropertypublic final Object getEbsConfiguration()
CfnInstanceFleetConfig.InstanceTypeConfigPropertygetEbsConfiguration in interface CfnInstanceFleetConfig.InstanceTypeConfigPropertypublic final Number getWeightedCapacity()
CfnInstanceFleetConfig.InstanceTypeConfigPropertyThis 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.
getWeightedCapacity in interface CfnInstanceFleetConfig.InstanceTypeConfigProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.