ClusterNodeGroupAutoScalingPolicyScalingRuleArgs

data class ClusterNodeGroupAutoScalingPolicyScalingRuleArgs(val activityType: Output<String>, val adjustmentType: Output<String>? = null, val adjustmentValue: Output<Int>, val metricsTrigger: Output<ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerArgs>? = null, val minAdjustmentValue: Output<Int>? = null, val ruleName: Output<String>, val timeTrigger: Output<ClusterNodeGroupAutoScalingPolicyScalingRuleTimeTriggerArgs>? = null, val triggerType: Output<String>) : ConvertibleToJava<ClusterNodeGroupAutoScalingPolicyScalingRuleArgs>

Constructors

constructor(activityType: Output<String>, adjustmentType: Output<String>? = null, adjustmentValue: Output<Int>, metricsTrigger: Output<ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerArgs>? = null, minAdjustmentValue: Output<Int>? = null, ruleName: Output<String>, timeTrigger: Output<ClusterNodeGroupAutoScalingPolicyScalingRuleTimeTriggerArgs>? = null, triggerType: Output<String>)

Properties

Link copied to clipboard
val activityType: Output<String>

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

Link copied to clipboard
val adjustmentType: Output<String>? = null

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

Link copied to clipboard
val adjustmentValue: Output<Int>

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: Output<Int>? = null

The minimum adjustment value of auto scaling policy.

Link copied to clipboard
val ruleName: Output<String>

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
val triggerType: Output<String>

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

Functions

Link copied to clipboard
open override fun toJava(): ClusterNodeGroupAutoScalingPolicyScalingRuleArgs