public static interface EmrCreateCluster.InstanceTypeConfigProperty
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.stepfunctions.tasks.*; import software.amazon.awscdk.core.*; ConfigurationProperty configurationProperty_; Size size; InstanceTypeConfigProperty instanceTypeConfigProperty = InstanceTypeConfigProperty.builder() .instanceType("instanceType") // the properties below are optional .bidPrice("bidPrice") .bidPriceAsPercentageOfOnDemandPrice(123) .configurations(List.of(ConfigurationProperty.builder() .classification("classification") .configurations(List.of(configurationProperty_)) .properties(Map.of( "propertiesKey", "properties")) .build())) .ebsConfiguration(EbsConfigurationProperty.builder() .ebsBlockDeviceConfigs(List.of(EbsBlockDeviceConfigProperty.builder() .volumeSpecification(VolumeSpecificationProperty.builder() .volumeSize(size) .volumeType(EmrCreateCluster.getEbsBlockDeviceVolumeType().GP2) // the properties below are optional .iops(123) .build()) // the properties below are optional .volumesPerInstance(123) .build())) .ebsOptimized(false) .build()) .weightedCapacity(123) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
EmrCreateCluster.InstanceTypeConfigProperty.Builder
A builder for
EmrCreateCluster.InstanceTypeConfigProperty |
static class |
EmrCreateCluster.InstanceTypeConfigProperty.Jsii$Proxy
An implementation for
EmrCreateCluster.InstanceTypeConfigProperty |
Modifier and Type | Method and Description |
---|---|
static EmrCreateCluster.InstanceTypeConfigProperty.Builder |
builder() |
default java.lang.String |
getBidPrice()
The bid price for each EC2 Spot instance type as defined by InstanceType.
|
default java.lang.Number |
getBidPriceAsPercentageOfOnDemandPrice()
The bid price, as a percentage of On-Demand price.
|
default java.util.List<EmrCreateCluster.ConfigurationProperty> |
getConfigurations()
A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software that run on the cluster.
|
default EmrCreateCluster.EbsConfigurationProperty |
getEbsConfiguration()
The configuration of Amazon Elastic Block Storage (EBS) attached to each instance as defined by InstanceType.
|
java.lang.String |
getInstanceType()
An EC2 instance type.
|
default java.lang.Number |
getWeightedCapacity()
The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in the InstanceFleetConfig.
|
java.lang.String getInstanceType()
default java.lang.String getBidPrice()
Expressed in USD.
Default: - None
default java.lang.Number getBidPriceAsPercentageOfOnDemandPrice()
Default: - None
default java.util.List<EmrCreateCluster.ConfigurationProperty> getConfigurations()
Default: - None
default EmrCreateCluster.EbsConfigurationProperty getEbsConfiguration()
Default: - None
default java.lang.Number getWeightedCapacity()
Default: - None
static EmrCreateCluster.InstanceTypeConfigProperty.Builder builder()