class Aws::OpsWorks::Types::SetLoadBasedAutoScalingRequest

@note When making an API call, you may pass SetLoadBasedAutoScalingRequest

data as a hash:

    {
      layer_id: "String", # required
      enable: false,
      up_scaling: {
        instance_count: 1,
        thresholds_wait_time: 1,
        ignore_metrics_time: 1,
        cpu_threshold: 1.0,
        memory_threshold: 1.0,
        load_threshold: 1.0,
        alarms: ["String"],
      },
      down_scaling: {
        instance_count: 1,
        thresholds_wait_time: 1,
        ignore_metrics_time: 1,
        cpu_threshold: 1.0,
        memory_threshold: 1.0,
        load_threshold: 1.0,
        alarms: ["String"],
      },
    }

@!attribute [rw] layer_id

The layer ID.
@return [String]

@!attribute [rw] enable

Enables load-based auto scaling for the layer.
@return [Boolean]

@!attribute [rw] up_scaling

An `AutoScalingThresholds` object with the upscaling threshold
configuration. If the load exceeds these thresholds for a specified
amount of time, AWS OpsWorks Stacks starts a specified number of
instances.
@return [Types::AutoScalingThresholds]

@!attribute [rw] down_scaling

An `AutoScalingThresholds` object with the downscaling threshold
configuration. If the load falls below these thresholds for a
specified amount of time, AWS OpsWorks Stacks stops a specified
number of instances.
@return [Types::AutoScalingThresholds]

@see docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetLoadBasedAutoScalingRequest AWS API Documentation

Constants

SENSITIVE