PolicyPredictiveScalingConfigurationArgs

data class PolicyPredictiveScalingConfigurationArgs(val maxCapacityBreachBehavior: Output<String>? = null, val maxCapacityBuffer: Output<String>? = null, val metricSpecification: Output<PolicyPredictiveScalingConfigurationMetricSpecificationArgs>, val mode: Output<String>? = null, val schedulingBufferTime: Output<String>? = null) : ConvertibleToJava<PolicyPredictiveScalingConfigurationArgs>

Constructors

Link copied to clipboard
constructor(maxCapacityBreachBehavior: Output<String>? = null, maxCapacityBuffer: Output<String>? = null, metricSpecification: Output<PolicyPredictiveScalingConfigurationMetricSpecificationArgs>, mode: Output<String>? = null, schedulingBufferTime: Output<String>? = null)

Properties

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

Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity of the Auto Scaling group. Valid values are HonorMaxCapacity or IncreaseMaxCapacity. Default is HonorMaxCapacity.

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

Size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. Valid range is 0 to 100. If set to 0, Amazon EC2 Auto Scaling may scale capacity higher than the maximum capacity to equal but not exceed forecast capacity.

Link copied to clipboard

This structure includes the metrics and target utilization to use for predictive scaling.

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

Predictive scaling mode. Valid values are ForecastAndScale and ForecastOnly. Default is ForecastOnly.

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

Amount of time, in seconds, by which the instance launch time can be advanced. Minimum is 0.

Functions

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