@Stability(value=Stable)
public static interface CfnInstanceGroupConfig.ScalingActionProperty
extends software.amazon.jsii.JsiiSerializable
ScalingAction determines the type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.
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.*;
ScalingActionProperty scalingActionProperty = 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnInstanceGroupConfig.ScalingActionProperty.Builder
A builder for
CfnInstanceGroupConfig.ScalingActionProperty |
static class |
CfnInstanceGroupConfig.ScalingActionProperty.Jsii$Proxy
An implementation for
CfnInstanceGroupConfig.ScalingActionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnInstanceGroupConfig.ScalingActionProperty.Builder |
builder() |
default String |
getMarket()
Not available for instance groups.
|
Object |
getSimpleScalingPolicyConfiguration()
The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.
|
@Stability(value=Stable) @NotNull Object getSimpleScalingPolicyConfiguration()
@Stability(value=Stable) @Nullable default String getMarket()
Instance groups use the market type specified for the group.
@Stability(value=Stable) static CfnInstanceGroupConfig.ScalingActionProperty.Builder builder()
Copyright © 2022. All rights reserved.