Class ScalingPlanScalingInstructionTargetTrackingConfiguration


  • public final class ScalingPlanScalingInstructionTargetTrackingConfiguration
    extends java.lang.Object
    • 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.