Interface CfnCluster.ScalingActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCluster.ScalingActionProperty.Jsii$Proxy
- Enclosing class:
CfnCluster
@Stability(Stable)
public static interface CfnCluster.ScalingActionProperty
extends software.amazon.jsii.JsiiSerializable
ScalingAction
is a subproperty of the ScalingRule
property type.
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCluster.ScalingActionProperty
static final class
An implementation forCfnCluster.ScalingActionProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSimpleScalingPolicyConfiguration
The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment. -
getMarket
Not available for instance groups.Instance groups use the market type specified for the group.
-
builder
-