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

JSON

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

Properties

Constraints

The upper and lower Amazon 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: Array of ScalingRule

Update requires: No interruption