Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

Amazon EMR InstanceGroupConfig ScalingConstraints

The ScalingConstraints property type specifies the upper and lower EC2 instance limits for an automatic scaling policy. ScalingConstraints is the property type for the Constraints subproperty of the Amazon EMR InstanceGroupConfig AutoScalingPolicy property type.

Syntax

JSON

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

YAML

Copy
MaxCapacity: Integer MinCapacity: Integer

Properties

MaxCapacity

For autoscaling, the maximum number of EC2 instances in an instance group. Scale-out activities add instances only up to this boundary.

Required: Yes

Type: Integer

MinCapacity

For autoscaling, the minimum number of EC2 instances in an instance group. Scale-in activities do not terminate instances below this boundary.

Required: Yes

Type: Integer

On this page: