|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The configurations of the scaling rule. |
||
| RuleName |
string |
The name of the rule. This parameter is required and cannot be an empty string. |
scalingByYarnMemory |
| TriggerType |
string |
The type of the scaling rule. This parameter is required. Valid values:
|
TIME_TRIGGER |
| ActivityType |
string |
The type of the scaling activity. This parameter is required. Valid values:
|
SCALE_IN |
| AdjustmentType |
string |
The adjustment method of the scaling rule. This parameter applies to simple scaling rules and step scaling rules. Valid values:
|
CHANGE_IN_CAPACITY |
| AdjustmentValue |
integer |
The adjustment value. This parameter is required and must be a positive integer. It specifies the number of instances to add for a scale-out activity or remove for a scale-in activity. |
100 |
| TimeTrigger | TimeTrigger |
The configurations for time-based scaling. |
|
| MetricsTrigger | MetricsTrigger |
The configurations for load-based scaling. |
|
| MinAdjustmentValue |
integer |
The minimum number of instances to add during a scale-out activity. |
1 |
| CollationTimeZone | CollationTimeZone |