ClusterNodeGroupAutoScalingPolicyScalingRule

data class ClusterNodeGroupAutoScalingPolicyScalingRule(val activityType: String, val adjustmentType: String? = null, val adjustmentValue: Int, val metricsTrigger: ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTrigger? = null, val minAdjustmentValue: Int? = null, val ruleName: String, val timeTrigger: ClusterNodeGroupAutoScalingPolicyScalingRuleTimeTrigger? = null, val triggerType: String)

Constructors

constructor(activityType: String, adjustmentType: String? = null, adjustmentValue: Int, metricsTrigger: ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTrigger? = null, minAdjustmentValue: Int? = null, ruleName: String, timeTrigger: ClusterNodeGroupAutoScalingPolicyScalingRuleTimeTrigger? = null, triggerType: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The activity type of auto scaling policy. Valid values: SCALE_OUT and SCALE_IN.

Link copied to clipboard
val adjustmentType: String? = null

The adjustment type of auto scaling policy. Valid values: CHANGE_IN_CAPACITY and EXACT_CAPACITY.

Link copied to clipboard

The adjustment value of auto scaling policy. The value should between 1 and 5000.

Link copied to clipboard

The trigger metrics of scaling rules for emr node group auto scaling policy. See metrics_trigger below.

Link copied to clipboard
val minAdjustmentValue: Int? = null

The minimum adjustment value of auto scaling policy.

Link copied to clipboard

The rule name of auto scaling policy.

Link copied to clipboard

The trigger time of scaling rules for emr node group auto scaling policy. See time_trigger below.

Link copied to clipboard

The trigger type of auto scaling policy. Valid values: TIME_TRIGGER and METRICS_TRIGGER.