import { Value } from '../../../cloudformation/Value';
/**
  <code>ScalingConstraints</code> is a subproperty of the <code>AutoScalingPolicy</code> property type. <code>ScalingConstraints</code> 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.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingconstraints.html">the AWS Docs</a>
*/
export interface ScalingConstraintsProps {
    /** <code>MaxCapacity</code>  <a name="cfn-elasticmapreduce-cluster-scalingconstraints-maxcapacity"></a>
  The upper boundary of Amazon 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.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    maxCapacity: Value<number>;
    /** <code>MinCapacity</code>  <a name="cfn-elasticmapreduce-cluster-scalingconstraints-mincapacity"></a>
  The lower boundary of Amazon 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.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    minCapacity: Value<number>;
}
