Class ScalingPlanScalingInstructionTargetTrackingConfiguration
- java.lang.Object
-
- com.pulumi.aws.autoscalingplans.outputs.ScalingPlanScalingInstructionTargetTrackingConfiguration
-
public final class ScalingPlanScalingInstructionTargetTrackingConfiguration extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ScalingPlanScalingInstructionTargetTrackingConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScalingPlanScalingInstructionTargetTrackingConfiguration.Builder
builder()
static ScalingPlanScalingInstructionTargetTrackingConfiguration.Builder
builder(ScalingPlanScalingInstructionTargetTrackingConfiguration defaults)
java.util.Optional<ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecification>
customizedScalingMetricSpecification()
java.util.Optional<java.lang.Boolean>
disableScaleIn()
java.util.Optional<java.lang.Integer>
estimatedInstanceWarmup()
java.util.Optional<ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecification>
predefinedScalingMetricSpecification()
java.util.Optional<java.lang.Integer>
scaleInCooldown()
java.util.Optional<java.lang.Integer>
scaleOutCooldown()
java.lang.Double
targetValue()
-
-
-
Method Detail
-
customizedScalingMetricSpecification
public java.util.Optional<ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecification> customizedScalingMetricSpecification()
- Returns:
- Customized metric. You can specify either `customized_scaling_metric_specification` or `predefined_scaling_metric_specification`. More details can be found in the [AWS Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_CustomizedScalingMetricSpecification.html).
-
disableScaleIn
public java.util.Optional<java.lang.Boolean> disableScaleIn()
- Returns:
- Boolean indicating whether scale in by the target tracking scaling policy is disabled. Defaults to `false`.
-
estimatedInstanceWarmup
public java.util.Optional<java.lang.Integer> estimatedInstanceWarmup()
- Returns:
- Estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. This value is used only if the resource is an Auto Scaling group.
-
predefinedScalingMetricSpecification
public java.util.Optional<ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecification> predefinedScalingMetricSpecification()
- Returns:
- Predefined metric. You can specify either `predefined_scaling_metric_specification` or `customized_scaling_metric_specification`. More details can be found in the [AWS Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_PredefinedScalingMetricSpecification.html).
-
scaleInCooldown
public java.util.Optional<java.lang.Integer> scaleInCooldown()
- Returns:
- Amount of time, in seconds, after a scale in activity completes before another scale in activity can start. This value is not used if the scalable resource is an Auto Scaling group.
-
scaleOutCooldown
public java.util.Optional<java.lang.Integer> scaleOutCooldown()
- Returns:
- Amount of time, in seconds, after a scale-out activity completes before another scale-out activity can start. This value is not used if the scalable resource is an Auto Scaling group.
-
targetValue
public java.lang.Double targetValue()
- Returns:
- Target value for the metric.
-
builder
public static ScalingPlanScalingInstructionTargetTrackingConfiguration.Builder builder()
-
builder
public static ScalingPlanScalingInstructionTargetTrackingConfiguration.Builder builder(ScalingPlanScalingInstructionTargetTrackingConfiguration defaults)
-
-