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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-opsworks/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, AWS OpsWorks Stacks stops a specified number of instances.



4652
4653
4654
4655
4656
4657
4658
4659
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 4652

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)


4652
4653
4654
4655
4656
4657
4658
4659
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 4652

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

#layer_idString

The layer ID.

Returns:

  • (String)


4652
4653
4654
4655
4656
4657
4658
4659
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 4652

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, AWS OpsWorks Stacks starts a specified number of instances.



4652
4653
4654
4655
4656
4657
4658
4659
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 4652

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