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

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

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#down_scalingTypes::AutoScalingThresholds

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



4020
4021
4022
4023
4024
4025
4026
4027
# File 'lib/aws-sdk-opsworks/types.rb', line 4020

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

#enableBoolean

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

Returns:

  • (Boolean)


4020
4021
4022
4023
4024
4025
4026
4027
# File 'lib/aws-sdk-opsworks/types.rb', line 4020

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

#layer_idString

The layer ID.

Returns:

  • (String)


4020
4021
4022
4023
4024
4025
4026
4027
# File 'lib/aws-sdk-opsworks/types.rb', line 4020

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

#up_scalingTypes::AutoScalingThresholds

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



4020
4021
4022
4023
4024
4025
4026
4027
# File 'lib/aws-sdk-opsworks/types.rb', line 4020

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