You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::OpsWorks::Types::LoadBasedAutoScalingConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb

Overview

Describes a layer's load-based auto scaling configuration.

Instance Attribute Summary collapse

Instance Attribute Details

#down_scalingTypes::AutoScalingThresholds

An AutoScalingThresholds object that describes the downscaling configuration, which defines how and when AWS OpsWorks Stacks reduces the number of instances.



4548
4549
4550
4551
4552
4553
4554
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 4548

class LoadBasedAutoScalingConfiguration < Struct.new(
  :layer_id,
  :enable,
  :up_scaling,
  :down_scaling)
  include Aws::Structure
end

#enableBoolean

Whether load-based auto scaling is enabled for the layer.

Returns:

  • (Boolean)


4548
4549
4550
4551
4552
4553
4554
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 4548

class LoadBasedAutoScalingConfiguration < Struct.new(
  :layer_id,
  :enable,
  :up_scaling,
  :down_scaling)
  include Aws::Structure
end

#layer_idString

The layer ID.

Returns:

  • (String)


4548
4549
4550
4551
4552
4553
4554
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 4548

class LoadBasedAutoScalingConfiguration < Struct.new(
  :layer_id,
  :enable,
  :up_scaling,
  :down_scaling)
  include Aws::Structure
end

#up_scalingTypes::AutoScalingThresholds

An AutoScalingThresholds object that describes the upscaling configuration, which defines how and when AWS OpsWorks Stacks increases the number of instances.



4548
4549
4550
4551
4552
4553
4554
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 4548

class LoadBasedAutoScalingConfiguration < Struct.new(
  :layer_id,
  :enable,
  :up_scaling,
  :down_scaling)
  include Aws::Structure
end