Interface CfnInstanceGroupConfig.ScalingConstraintsProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnInstanceGroupConfig.ScalingConstraintsProperty.Jsii$Proxy
Enclosing class:
CfnInstanceGroupConfig

@Stability(Stable) public static interface CfnInstanceGroupConfig.ScalingConstraintsProperty extends software.amazon.jsii.JsiiSerializable
ScalingConstraints is a subproperty of the AutoScalingPolicy property type.

ScalingConstraints defines 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 shrink 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.emr.*;
 ScalingConstraintsProperty scalingConstraintsProperty = ScalingConstraintsProperty.builder()
         .maxCapacity(123)
         .minCapacity(123)
         .build();
 

See Also: