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

Amazon EMR InstanceGroupConfig ScalingRule

The ScalingRule property type represents a scale-in or scale-out rule that defines scaling activity, including the CloudWatch metric alarm that triggers activity, how EC2 instances are added or removed, and the periodicity of adjustments. The Rules subproperty of the Amazon EMR InstanceGroupConfig AutoScalingPolicy property contains a list of one or more ScalingRule property types.

Syntax

JSON

Copy
{ "Action" : ScalingAction, "Description" : String, "Name" : String, "Trigger" : ScalingTrigger }

YAML

Copy
Action: ScalingAction Description: String Name: String Trigger: ScalingTrigger

Properties

Action

The conditions that trigger an automatic scaling activity.

Required: Yes

Type: Amazon EMR InstanceGroupConfig ScalingAction

Description

A friendly, more verbose description of the automatic scaling rule.

Required: No

Type: String

Name

The identifier of the automatic scaling rule. Rule names must be unique within a scaling policy.

Required: Yes

Type: String

Trigger

The CloudWatch alarm definition that determines when automatic scaling activity is triggered.

Required: Yes

Type: Amazon EMR InstanceGroupConfig ScalingTrigger

On this page: