ScalingRule
A scale-in or scale-out rule that defines scaling activity, including the CloudWatch metric alarm that triggers activity, how Amazon 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.
Contents
- Action
-
The conditions that trigger an automatic scaling activity.
Type: ScalingAction object
Required: Yes
- Name
-
The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy.
Type: String
Required: Yes
- Trigger
-
The CloudWatch alarm definition that determines when automatic scaling activity is triggered.
Type: ScalingTrigger object
Required: Yes
- Description
-
A friendly, more verbose description of the automatic scaling rule.
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: