@Stability(value=Stable)
public static interface EmrCreateCluster.ScalingConstraintsProperty
extends software.amazon.jsii.JsiiSerializable
Automatic scaling activities triggered by automatic scaling rules will not cause an instance group to grow above or below these limits.
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.*;
ScalingConstraintsProperty scalingConstraintsProperty = ScalingConstraintsProperty.builder()
.maxCapacity(123)
.minCapacity(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
EmrCreateCluster.ScalingConstraintsProperty.Builder
A builder for
EmrCreateCluster.ScalingConstraintsProperty |
static class |
EmrCreateCluster.ScalingConstraintsProperty.Jsii$Proxy
An implementation for
EmrCreateCluster.ScalingConstraintsProperty |
| Modifier and Type | Method and Description |
|---|---|
static EmrCreateCluster.ScalingConstraintsProperty.Builder |
builder() |
Number |
getMaxCapacity()
The upper boundary of EC2 instances in an instance group beyond which scaling activities are not allowed to grow.
|
Number |
getMinCapacity()
The lower boundary of EC2 instances in an instance group below which scaling activities are not allowed to shrink.
|
@Stability(value=Stable) @NotNull Number getMaxCapacity()
Scale-out activities will not add instances beyond this boundary.
@Stability(value=Stable) @NotNull Number getMinCapacity()
Scale-in activities will not terminate instances below this boundary.
@Stability(value=Stable) static EmrCreateCluster.ScalingConstraintsProperty.Builder builder()
Copyright © 2022. All rights reserved.