AWS::EMR::InstanceGroupConfig AutoScalingPolicy - AWS CloudFormation

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