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 AutoScalingPolicy

AutoScalingPolicy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. For more information, see Using Automatic Scaling in Amazon EMR in the Amazon EMR Management Guide.

Syntax

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

JSON

{ "Constraints" : ScalingConstraints, "Rules" : [ ScalingRule, ... ] }

Properties

Constraints

The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not cause an instance group to grow above or below these limits.

Required: Yes

Type: ScalingConstraints

Update requires: No interruption

Rules

The scale-in and scale-out rules that comprise the automatic scaling policy.

Required: Yes

Type: List of ScalingRule

Update requires: No interruption

On this page: