Class CustomLayerLoadBasedAutoScalingDownscalingArgs.Builder

    • Method Detail

      • alarms

        public CustomLayerLoadBasedAutoScalingDownscalingArgs.Builder alarms​(@Nullable
                                                                             com.pulumi.core.Output<java.util.List<java.lang.String>> alarms)
        Parameters:
        alarms - 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.
        Returns:
        builder
      • alarms

        public CustomLayerLoadBasedAutoScalingDownscalingArgs.Builder alarms​(java.util.List<java.lang.String> alarms)
        Parameters:
        alarms - 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.
        Returns:
        builder
      • alarms

        public CustomLayerLoadBasedAutoScalingDownscalingArgs.Builder alarms​(java.lang.String... alarms)
        Parameters:
        alarms - 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.
        Returns:
        builder
      • cpuThreshold

        public CustomLayerLoadBasedAutoScalingDownscalingArgs.Builder cpuThreshold​(@Nullable
                                                                                   com.pulumi.core.Output<java.lang.Double> cpuThreshold)
        Parameters:
        cpuThreshold - The CPU utilization threshold, as a percent of the available CPU. A value of -1 disables the threshold.
        Returns:
        builder
      • cpuThreshold

        public CustomLayerLoadBasedAutoScalingDownscalingArgs.Builder cpuThreshold​(java.lang.Double cpuThreshold)
        Parameters:
        cpuThreshold - The CPU utilization threshold, as a percent of the available CPU. A value of -1 disables the threshold.
        Returns:
        builder
      • ignoreMetricsTime

        public CustomLayerLoadBasedAutoScalingDownscalingArgs.Builder ignoreMetricsTime​(@Nullable
                                                                                        com.pulumi.core.Output<java.lang.Integer> ignoreMetricsTime)
        Parameters:
        ignoreMetricsTime - The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks Stacks should ignore metrics and suppress additional scaling events.
        Returns:
        builder
      • ignoreMetricsTime

        public CustomLayerLoadBasedAutoScalingDownscalingArgs.Builder ignoreMetricsTime​(java.lang.Integer ignoreMetricsTime)
        Parameters:
        ignoreMetricsTime - The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks Stacks should ignore metrics and suppress additional scaling events.
        Returns:
        builder
      • instanceCount

        public CustomLayerLoadBasedAutoScalingDownscalingArgs.Builder instanceCount​(@Nullable
                                                                                    com.pulumi.core.Output<java.lang.Integer> instanceCount)
        Parameters:
        instanceCount - The number of instances to add or remove when the load exceeds a threshold.
        Returns:
        builder
      • memoryThreshold

        public CustomLayerLoadBasedAutoScalingDownscalingArgs.Builder memoryThreshold​(@Nullable
                                                                                      com.pulumi.core.Output<java.lang.Double> memoryThreshold)
        Parameters:
        memoryThreshold - The memory utilization threshold, as a percent of the available memory. A value of -1 disables the threshold.
        Returns:
        builder
      • memoryThreshold

        public CustomLayerLoadBasedAutoScalingDownscalingArgs.Builder memoryThreshold​(java.lang.Double memoryThreshold)
        Parameters:
        memoryThreshold - The memory utilization threshold, as a percent of the available memory. A value of -1 disables the threshold.
        Returns:
        builder
      • thresholdsWaitTime

        public CustomLayerLoadBasedAutoScalingDownscalingArgs.Builder thresholdsWaitTime​(@Nullable
                                                                                         com.pulumi.core.Output<java.lang.Integer> thresholdsWaitTime)
        Parameters:
        thresholdsWaitTime - The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.
        Returns:
        builder
      • thresholdsWaitTime

        public CustomLayerLoadBasedAutoScalingDownscalingArgs.Builder thresholdsWaitTime​(java.lang.Integer thresholdsWaitTime)
        Parameters:
        thresholdsWaitTime - The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.
        Returns:
        builder