Class CustomLayerLoadBasedAutoScalingUpscaling


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

      • alarms

        public java.util.List<java.lang.String> alarms()
        Returns:
        Custom Cloudwatch auto scaling alarms, to be used as thresholds. This parameter takes a list of up to five alarm names, which are case sensitive and must be in the same region as the stack.
      • cpuThreshold

        public java.util.Optional<java.lang.Double> cpuThreshold()
        Returns:
        The CPU utilization threshold, as a percent of the available CPU. A value of -1 disables the threshold.
      • ignoreMetricsTime

        public java.util.Optional<java.lang.Integer> ignoreMetricsTime()
        Returns:
        The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks Stacks should ignore metrics and suppress additional scaling events.
      • instanceCount

        public java.util.Optional<java.lang.Integer> instanceCount()
        Returns:
        The number of instances to add or remove when the load exceeds a threshold.
      • loadThreshold

        public java.util.Optional<java.lang.Double> loadThreshold()
        Returns:
        The load threshold. A value of -1 disables the threshold.
      • memoryThreshold

        public java.util.Optional<java.lang.Double> memoryThreshold()
        Returns:
        The memory utilization threshold, as a percent of the available memory. A value of -1 disables the threshold.
      • thresholdsWaitTime

        public java.util.Optional<java.lang.Integer> thresholdsWaitTime()
        Returns:
        The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.