Interface EmrCreateCluster.ScalingConstraintsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EmrCreateCluster.ScalingConstraintsProperty.Jsii$Proxy
- Enclosing class:
EmrCreateCluster
@Stability(Stable)
public static interface EmrCreateCluster.ScalingConstraintsProperty
extends software.amazon.jsii.JsiiSerializable
The upper and lower EC2 instance limits for an automatic scaling policy.
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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forEmrCreateCluster.ScalingConstraintsProperty
static final class
An implementation forEmrCreateCluster.ScalingConstraintsProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The upper boundary of EC2 instances in an instance group beyond which scaling activities are not allowed to grow.The lower boundary of EC2 instances in an instance group below which scaling activities are not allowed to shrink.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMaxCapacity
The upper boundary of EC2 instances in an instance group beyond which scaling activities are not allowed to grow.Scale-out activities will not add instances beyond this boundary.
-
getMinCapacity
The lower boundary of EC2 instances in an instance group below which scaling activities are not allowed to shrink.Scale-in activities will not terminate instances below this boundary.
-
builder
-