AWS CloudFormation
User Guide (Version )

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

AWS::EMR::InstanceGroupConfig ScalingConstraints

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.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "MaxCapacity" : Integer, "MinCapacity" : Integer }

YAML

MaxCapacity: Integer MinCapacity: Integer

Properties

MaxCapacity

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.

Required: Yes

Type: Integer

Update requires: No interruption

MinCapacity

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.

Required: Yes

Type: Integer

Update requires: No interruption

On this page: