Class CapacityProviderAutoScalingGroupProviderManagedScaling


  • public final class CapacityProviderAutoScalingGroupProviderManagedScaling
    extends java.lang.Object
    • Method Detail

      • instanceWarmupPeriod

        public java.util.Optional<java.lang.Integer> instanceWarmupPeriod()
        Returns:
        Period of time, in seconds, after a newly launched Amazon EC2 instance can contribute to CloudWatch metrics for Auto Scaling group. If this parameter is omitted, the default value of 300 seconds is used. For more information on how the instance warmup period contributes to managed scale-out behavior, see [Control the instances Amazon ECS terminates](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/managed-termination-protection.html) in the _Amazon Elastic Container Service Developer Guide_.
      • maximumScalingStepSize

        public java.util.Optional<java.lang.Integer> maximumScalingStepSize()
        Returns:
        Maximum step adjustment size. A number between 1 and 10,000.
      • minimumScalingStepSize

        public java.util.Optional<java.lang.Integer> minimumScalingStepSize()
        Returns:
        Minimum step adjustment size. A number between 1 and 10,000.
      • status

        public java.util.Optional<java.lang.String> status()
        Returns:
        Whether auto scaling is managed by ECS. Valid values are `ENABLED` and `DISABLED`.
      • targetCapacity

        public java.util.Optional<java.lang.Integer> targetCapacity()
        Returns:
        Target utilization for the capacity provider. A number between 1 and 100.