AWS::EMR::InstanceGroupConfig ScalingConstraints - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 Amazon CloudFormation template, use the following syntax:

JSON

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

YAML

MaxCapacity: Integer MinCapacity: Integer

Properties

MaxCapacity

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.

Required: Yes

Type: Integer

Update requires: No interruption

MinCapacity

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.

Required: Yes

Type: Integer

Update requires: No interruption