@Stability(value=Stable)
public static interface CfnInstanceFleetConfig.InstanceTypeConfigProperty
extends software.amazon.jsii.JsiiSerializable
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.emr.*;
ConfigurationProperty configurationProperty_;
InstanceTypeConfigProperty instanceTypeConfigProperty = InstanceTypeConfigProperty.builder()
.instanceType("instanceType")
// the properties below are optional
.bidPrice("bidPrice")
.bidPriceAsPercentageOfOnDemandPrice(123)
.configurations(List.of(ConfigurationProperty.builder()
.classification("classification")
.configurationProperties(Map.of(
"configurationPropertiesKey", "configurationProperties"))
.configurations(List.of(configurationProperty_))
.build()))
.customAmiId("customAmiId")
.ebsConfiguration(EbsConfigurationProperty.builder()
.ebsBlockDeviceConfigs(List.of(EbsBlockDeviceConfigProperty.builder()
.volumeSpecification(VolumeSpecificationProperty.builder()
.sizeInGb(123)
.volumeType("volumeType")
// 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 |
CfnInstanceFleetConfig.InstanceTypeConfigProperty.Builder
A builder for
CfnInstanceFleetConfig.InstanceTypeConfigProperty |
static class |
CfnInstanceFleetConfig.InstanceTypeConfigProperty.Jsii$Proxy
An implementation for
CfnInstanceFleetConfig.InstanceTypeConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnInstanceFleetConfig.InstanceTypeConfigProperty.Builder |
builder() |
default String |
getBidPrice()
`CfnInstanceFleetConfig.InstanceTypeConfigProperty.BidPrice`.
|
default Number |
getBidPriceAsPercentageOfOnDemandPrice()
`CfnInstanceFleetConfig.InstanceTypeConfigProperty.BidPriceAsPercentageOfOnDemandPrice`.
|
default Object |
getConfigurations()
`CfnInstanceFleetConfig.InstanceTypeConfigProperty.Configurations`.
|
default String |
getCustomAmiId()
`CfnInstanceFleetConfig.InstanceTypeConfigProperty.CustomAmiId`.
|
default Object |
getEbsConfiguration()
`CfnInstanceFleetConfig.InstanceTypeConfigProperty.EbsConfiguration`.
|
String |
getInstanceType()
`CfnInstanceFleetConfig.InstanceTypeConfigProperty.InstanceType`.
|
default Number |
getWeightedCapacity()
`CfnInstanceFleetConfig.InstanceTypeConfigProperty.WeightedCapacity`.
|
@Stability(value=Stable) @Nullable default String getBidPrice()
@Stability(value=Stable) @Nullable default Number getBidPriceAsPercentageOfOnDemandPrice()
@Stability(value=Stable) @Nullable default Object getConfigurations()
@Stability(value=Stable) @Nullable default String getCustomAmiId()
@Stability(value=Stable) @Nullable default Object getEbsConfiguration()
@Stability(value=Stable) @NotNull String getInstanceType()
@Stability(value=Stable) @Nullable default Number getWeightedCapacity()
@Stability(value=Stable) static CfnInstanceFleetConfig.InstanceTypeConfigProperty.Builder builder()
Copyright © 2021. All rights reserved.