public static interface EmrCreateCluster.ScalingActionProperty
And an automatic scaling configuration, which describes how the policy adds or removes instances, the cooldown period, and the number of EC2 instances that will be added each time the CloudWatch metric alarm condition is satisfied.
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.*; ScalingActionProperty scalingActionProperty = ScalingActionProperty.builder() .simpleScalingPolicyConfiguration(SimpleScalingPolicyConfigurationProperty.builder() .scalingAdjustment(123) // the properties below are optional .adjustmentType(EmrCreateCluster.getScalingAdjustmentType().CHANGE_IN_CAPACITY) .coolDown(123) .build()) // the properties below are optional .market(EmrCreateCluster.getInstanceMarket().ON_DEMAND) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
EmrCreateCluster.ScalingActionProperty.Builder
A builder for
EmrCreateCluster.ScalingActionProperty |
static class |
EmrCreateCluster.ScalingActionProperty.Jsii$Proxy
An implementation for
EmrCreateCluster.ScalingActionProperty |
Modifier and Type | Method and Description |
---|---|
static EmrCreateCluster.ScalingActionProperty.Builder |
builder() |
default EmrCreateCluster.InstanceMarket |
getMarket()
Not available for instance groups.
|
EmrCreateCluster.SimpleScalingPolicyConfigurationProperty |
getSimpleScalingPolicyConfiguration()
The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.
|
EmrCreateCluster.SimpleScalingPolicyConfigurationProperty getSimpleScalingPolicyConfiguration()
default EmrCreateCluster.InstanceMarket getMarket()
Instance groups use the market type specified for the group.
Default: - EMR selected default
static EmrCreateCluster.ScalingActionProperty.Builder builder()