@Stability(value=Stable)
public static interface CfnCluster.InstanceGroupConfigProperty
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_;
InstanceGroupConfigProperty instanceGroupConfigProperty = InstanceGroupConfigProperty.builder()
.instanceCount(123)
.instanceType("instanceType")
// the properties below are optional
.autoScalingPolicy(AutoScalingPolicyProperty.builder()
.constraints(ScalingConstraintsProperty.builder()
.maxCapacity(123)
.minCapacity(123)
.build())
.rules(List.of(ScalingRuleProperty.builder()
.action(ScalingActionProperty.builder()
.simpleScalingPolicyConfiguration(SimpleScalingPolicyConfigurationProperty.builder()
.scalingAdjustment(123)
// the properties below are optional
.adjustmentType("adjustmentType")
.coolDown(123)
.build())
// the properties below are optional
.market("market")
.build())
.name("name")
.trigger(ScalingTriggerProperty.builder()
.cloudWatchAlarmDefinition(CloudWatchAlarmDefinitionProperty.builder()
.comparisonOperator("comparisonOperator")
.metricName("metricName")
.period(123)
.threshold(123)
// the properties below are optional
.dimensions(List.of(MetricDimensionProperty.builder()
.key("key")
.value("value")
.build()))
.evaluationPeriods(123)
.namespace("namespace")
.statistic("statistic")
.unit("unit")
.build())
.build())
// the properties below are optional
.description("description")
.build()))
.build())
.bidPrice("bidPrice")
.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())
.market("market")
.name("name")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCluster.InstanceGroupConfigProperty.Builder
A builder for
CfnCluster.InstanceGroupConfigProperty |
static class |
CfnCluster.InstanceGroupConfigProperty.Jsii$Proxy
An implementation for
CfnCluster.InstanceGroupConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnCluster.InstanceGroupConfigProperty.Builder |
builder() |
default Object |
getAutoScalingPolicy()
`CfnCluster.InstanceGroupConfigProperty.AutoScalingPolicy`.
|
default String |
getBidPrice()
`CfnCluster.InstanceGroupConfigProperty.BidPrice`.
|
default Object |
getConfigurations()
`CfnCluster.InstanceGroupConfigProperty.Configurations`.
|
default String |
getCustomAmiId()
`CfnCluster.InstanceGroupConfigProperty.CustomAmiId`.
|
default Object |
getEbsConfiguration()
`CfnCluster.InstanceGroupConfigProperty.EbsConfiguration`.
|
Number |
getInstanceCount()
`CfnCluster.InstanceGroupConfigProperty.InstanceCount`.
|
String |
getInstanceType()
`CfnCluster.InstanceGroupConfigProperty.InstanceType`.
|
default String |
getMarket()
`CfnCluster.InstanceGroupConfigProperty.Market`.
|
default String |
getName()
`CfnCluster.InstanceGroupConfigProperty.Name`.
|
@Stability(value=Stable) @Nullable default Object getAutoScalingPolicy()
@Stability(value=Stable) @Nullable default String getBidPrice()
@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 Number getInstanceCount()
@Stability(value=Stable) @NotNull String getInstanceType()
@Stability(value=Stable) @Nullable default String getMarket()
@Stability(value=Stable) @Nullable default String getName()
@Stability(value=Stable) static CfnCluster.InstanceGroupConfigProperty.Builder builder()
Copyright © 2021. All rights reserved.