@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:17.627Z") @Stability(value=Stable) public interface CfnInstanceGroupConfigProps extends software.amazon.jsii.JsiiSerializable
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.emr.*;
ConfigurationProperty configurationProperty_;
CfnInstanceGroupConfigProps cfnInstanceGroupConfigProps = CfnInstanceGroupConfigProps.builder()
.instanceCount(123)
.instanceRole("instanceRole")
.instanceType("instanceType")
.jobFlowId("jobFlowId")
// 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 |
CfnInstanceGroupConfigProps.Builder
A builder for
CfnInstanceGroupConfigProps |
static class |
CfnInstanceGroupConfigProps.Jsii$Proxy
An implementation for
CfnInstanceGroupConfigProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnInstanceGroupConfigProps.Builder |
builder() |
default Object |
getAutoScalingPolicy()
`AWS::EMR::InstanceGroupConfig.AutoScalingPolicy`.
|
default String |
getBidPrice()
`AWS::EMR::InstanceGroupConfig.BidPrice`.
|
default Object |
getConfigurations()
`AWS::EMR::InstanceGroupConfig.Configurations`.
|
default String |
getCustomAmiId()
`AWS::EMR::InstanceGroupConfig.CustomAmiId`.
|
default Object |
getEbsConfiguration()
`AWS::EMR::InstanceGroupConfig.EbsConfiguration`.
|
Number |
getInstanceCount()
`AWS::EMR::InstanceGroupConfig.InstanceCount`.
|
String |
getInstanceRole()
`AWS::EMR::InstanceGroupConfig.InstanceRole`.
|
String |
getInstanceType()
`AWS::EMR::InstanceGroupConfig.InstanceType`.
|
String |
getJobFlowId()
`AWS::EMR::InstanceGroupConfig.JobFlowId`.
|
default String |
getMarket()
`AWS::EMR::InstanceGroupConfig.Market`.
|
default String |
getName()
`AWS::EMR::InstanceGroupConfig.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 getInstanceRole()
@Stability(value=Stable) @NotNull String getInstanceType()
@Stability(value=Stable) @NotNull String getJobFlowId()
@Stability(value=Stable) @Nullable default String getMarket()
@Stability(value=Stable) @Nullable default String getName()
@Stability(value=Stable) static CfnInstanceGroupConfigProps.Builder builder()
Copyright © 2021. All rights reserved.