Class: Aws::OpsWorks::Types::SetLoadBasedAutoScalingRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#down_scalingTypes::AutoScalingThresholds

An ‘AutoScalingThresholds` object with the downscaling threshold configuration. If the load falls below these thresholds for a specified amount of time, OpsWorks Stacks stops a specified number of instances.



4672
4673
4674
4675
4676
4677
4678
4679
# File 'lib/aws-sdk-opsworks/types.rb', line 4672

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

#enableBoolean

Enables load-based auto scaling for the layer.

Returns:

  • (Boolean)


4672
4673
4674
4675
4676
4677
4678
4679
# File 'lib/aws-sdk-opsworks/types.rb', line 4672

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

#layer_idString

The layer ID.

Returns:

  • (String)


4672
4673
4674
4675
4676
4677
4678
4679
# File 'lib/aws-sdk-opsworks/types.rb', line 4672

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

#up_scalingTypes::AutoScalingThresholds

An ‘AutoScalingThresholds` object with the upscaling threshold configuration. If the load exceeds these thresholds for a specified amount of time, OpsWorks Stacks starts a specified number of instances.



4672
4673
4674
4675
4676
4677
4678
4679
# File 'lib/aws-sdk-opsworks/types.rb', line 4672

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