AWS::EMR::InstanceGroupConfig ScalingRule
ScalingRule
is a subproperty of the AutoScalingPolicy
property type. ScalingRule
defines the scale-in or scale-out rules for scaling activity, including the CloudWatch metric alarm that triggers activity, how EC2 instances are added or removed, and the periodicity of adjustments. The automatic scaling policy for an instance group can comprise one or more automatic scaling rules.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Action" :
ScalingAction
, "Description" :String
, "Name" :String
, "Trigger" :ScalingTrigger
}
YAML
Action:
ScalingAction
Description:String
Name:String
Trigger:ScalingTrigger
Properties
Action
-
The conditions that trigger an automatic scaling activity.
Required: Yes
Type: ScalingAction
Update requires: No interruption
Description
-
A friendly, more verbose description of the automatic scaling rule.
Required: No
Type: String
Update requires: No interruption
Name
-
The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy.
Required: Yes
Type: String
Update requires: No interruption
Trigger
-
The CloudWatch alarm definition that determines when automatic scaling activity is triggered.
Required: Yes
Type: ScalingTrigger
Update requires: No interruption