AWS::EMR::InstanceGroupConfig ScalingConstraints - AWS CloudFormation

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 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