Class CfnCapacityProvider.ManagedScalingProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ecs.CfnCapacityProvider.ManagedScalingProperty.Jsii$Proxy
All Implemented Interfaces:
CfnCapacityProvider.ManagedScalingProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnCapacityProvider.ManagedScalingProperty

@Stability(Stable) @Internal public static final class CfnCapacityProvider.ManagedScalingProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnCapacityProvider.ManagedScalingProperty
  • Constructor Details

  • Method Details

    • getInstanceWarmupPeriod

      public final Number getInstanceWarmupPeriod()
      Description copied from interface: CfnCapacityProvider.ManagedScalingProperty
      The 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.

      Specified by:
      getInstanceWarmupPeriod in interface CfnCapacityProvider.ManagedScalingProperty
    • getMaximumScalingStepSize

      public final Number getMaximumScalingStepSize()
      Description copied from interface: CfnCapacityProvider.ManagedScalingProperty
      The maximum number of Amazon EC2 instances that Amazon ECS will scale out at one time.

      The scale in process is not affected by this parameter. If this parameter is omitted, the default value of 1 is used.

      Specified by:
      getMaximumScalingStepSize in interface CfnCapacityProvider.ManagedScalingProperty
    • getMinimumScalingStepSize

      public final Number getMinimumScalingStepSize()
      Description copied from interface: CfnCapacityProvider.ManagedScalingProperty
      The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time.

      The scale in process is not affected by this parameter If this parameter is omitted, the default value of 1 is used.

      When additional capacity is required, Amazon ECS will scale up the minimum scaling step size even if the actual demand is less than the minimum scaling step size.

      If you use a capacity provider with an Auto Scaling group configured with more than one Amazon EC2 instance type or Availability Zone, Amazon ECS will scale up by the exact minimum scaling step size value and will ignore both the maximum scaling step size as well as the capacity demand.

      Specified by:
      getMinimumScalingStepSize in interface CfnCapacityProvider.ManagedScalingProperty
    • getStatus

      public final String getStatus()
      Description copied from interface: CfnCapacityProvider.ManagedScalingProperty
      Determines whether to use managed scaling for the capacity provider.
      Specified by:
      getStatus in interface CfnCapacityProvider.ManagedScalingProperty
    • getTargetCapacity

      public final Number getTargetCapacity()
      Description copied from interface: CfnCapacityProvider.ManagedScalingProperty
      The target capacity utilization as a percentage for the capacity provider.

      The specified value must be greater than 0 and less than or equal to 100 . For example, if you want the capacity provider to maintain 10% spare capacity, then that means the utilization is 90%, so use a targetCapacity of 90 . The default value of 100 percent results in the Amazon EC2 instances in your Auto Scaling group being completely used.

      Specified by:
      getTargetCapacity in interface CfnCapacityProvider.ManagedScalingProperty
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object