AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
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.
Namespace: Amazon.ElasticMapReduce.Model
Assembly: AWSSDK.ElasticMapReduce.dll
Version: 3.x.y.z
public class ScalingRule
The ScalingRule type exposes the following members
Name | Description | |
---|---|---|
ScalingRule() |
Name | Type | Description | |
---|---|---|---|
Action | Amazon.ElasticMapReduce.Model.ScalingAction |
Gets and sets the property Action. The conditions that trigger an automatic scaling activity. |
|
Description | System.String |
Gets and sets the property Description. A friendly, more verbose description of the automatic scaling rule. |
|
Name | System.String |
Gets and sets the property Name. The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy. |
|
Trigger | Amazon.ElasticMapReduce.Model.ScalingTrigger |
Gets and sets the property Trigger. The CloudWatch alarm definition that determines when automatic scaling activity is triggered. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5