ScalingPlanScalingInstructionArgs

data class ScalingPlanScalingInstructionArgs(val customizedLoadMetricSpecification: Output<ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationArgs>? = null, val disableDynamicScaling: Output<Boolean>? = null, val maxCapacity: Output<Int>, val minCapacity: Output<Int>, val predefinedLoadMetricSpecification: Output<ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationArgs>? = null, val predictiveScalingMaxCapacityBehavior: Output<String>? = null, val predictiveScalingMaxCapacityBuffer: Output<Int>? = null, val predictiveScalingMode: Output<String>? = null, val resourceId: Output<String>, val scalableDimension: Output<String>, val scalingPolicyUpdateBehavior: Output<String>? = null, val scheduledActionBufferTime: Output<Int>? = null, val serviceNamespace: Output<String>, val targetTrackingConfigurations: Output<List<ScalingPlanScalingInstructionTargetTrackingConfigurationArgs>>) : ConvertibleToJava<ScalingPlanScalingInstructionArgs>

Constructors

Link copied to clipboard
constructor(customizedLoadMetricSpecification: Output<ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationArgs>? = null, disableDynamicScaling: Output<Boolean>? = null, maxCapacity: Output<Int>, minCapacity: Output<Int>, predefinedLoadMetricSpecification: Output<ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationArgs>? = null, predictiveScalingMaxCapacityBehavior: Output<String>? = null, predictiveScalingMaxCapacityBuffer: Output<Int>? = null, predictiveScalingMode: Output<String>? = null, resourceId: Output<String>, scalableDimension: Output<String>, scalingPolicyUpdateBehavior: Output<String>? = null, scheduledActionBufferTime: Output<Int>? = null, serviceNamespace: Output<String>, targetTrackingConfigurations: Output<List<ScalingPlanScalingInstructionTargetTrackingConfigurationArgs>>)

Properties

Link copied to clipboard

Customized load metric to use for predictive scaling. You must specify either customized_load_metric_specification or predefined_load_metric_specification when configuring predictive scaling. More details can be found in the AWS Auto Scaling API Reference.

Link copied to clipboard
val disableDynamicScaling: Output<Boolean>? = null

Boolean controlling whether dynamic scaling by AWS Auto Scaling is disabled. Defaults to false.

Link copied to clipboard
val maxCapacity: Output<Int>

Maximum capacity of the resource. The exception to this upper limit is if you specify a non-default setting for predictive_scaling_max_capacity_behavior.

Link copied to clipboard
val minCapacity: Output<Int>

Minimum capacity of the resource.

Link copied to clipboard

Predefined load metric to use for predictive scaling. You must specify either predefined_load_metric_specification or customized_load_metric_specification when configuring predictive scaling. More details can be found in the AWS Auto Scaling API Reference.

Link copied to clipboard

Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity specified for the resource. Valid values: SetForecastCapacityToMaxCapacity, SetMaxCapacityAboveForecastCapacity, SetMaxCapacityToForecastCapacity.

Link copied to clipboard

Size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity.

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

Predictive scaling mode. Valid values: ForecastAndScale, ForecastOnly.

Link copied to clipboard
val resourceId: Output<String>

ID of the resource. This string consists of the resource type and unique identifier.

Link copied to clipboard

Scalable dimension associated with the resource. Valid values: autoscaling:autoScalingGroup:DesiredCapacity, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, rds:cluster:ReadReplicaCount.

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

Controls whether a resource's externally created scaling policies are kept or replaced. Valid values: KeepExternalPolicies, ReplaceExternalPolicies. Defaults to KeepExternalPolicies.

Link copied to clipboard
val scheduledActionBufferTime: Output<Int>? = null

Amount of time, in seconds, to buffer the run time of scheduled scaling actions when scaling out.

Link copied to clipboard

Namespace of the AWS service. Valid values: autoscaling, dynamodb, ecs, ec2, rds.

Link copied to clipboard

Structure that defines new target tracking configurations. Each of these structures includes a specific scaling metric and a target value for the metric, along with various parameters to use with dynamic scaling. More details can be found in the AWS Auto Scaling API Reference.

Functions

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