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

Class: Aws::ApplicationAutoScaling::Types::SuspendedState

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

Overview

Note:

When making an API call, you may pass SuspendedState data as a hash:

{
  dynamic_scaling_in_suspended: false,
  dynamic_scaling_out_suspended: false,
  scheduled_scaling_suspended: false,
}

Specifies whether the scaling activities for a scalable target are in a suspended state.

Instance Attribute Summary collapse

Instance Attribute Details

#dynamic_scaling_in_suspendedBoolean

Whether scale in by a target tracking scaling policy or a step scaling policy is suspended. Set the value to true if you don't want Application Auto Scaling to remove capacity when a scaling policy is triggered. The default is false.

Returns:

  • (Boolean)


2850
2851
2852
2853
2854
2855
# File 'gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/types.rb', line 2850

class SuspendedState < Struct.new(
  :dynamic_scaling_in_suspended,
  :dynamic_scaling_out_suspended,
  :scheduled_scaling_suspended)
  include Aws::Structure
end

#dynamic_scaling_out_suspendedBoolean

Whether scale out by a target tracking scaling policy or a step scaling policy is suspended. Set the value to true if you don't want Application Auto Scaling to add capacity when a scaling policy is triggered. The default is false.

Returns:

  • (Boolean)


2850
2851
2852
2853
2854
2855
# File 'gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/types.rb', line 2850

class SuspendedState < Struct.new(
  :dynamic_scaling_in_suspended,
  :dynamic_scaling_out_suspended,
  :scheduled_scaling_suspended)
  include Aws::Structure
end

#scheduled_scaling_suspendedBoolean

Whether scheduled scaling is suspended. Set the value to true if you don't want Application Auto Scaling to add or remove capacity by initiating scheduled actions. The default is false.

Returns:

  • (Boolean)


2850
2851
2852
2853
2854
2855
# File 'gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/types.rb', line 2850

class SuspendedState < Struct.new(
  :dynamic_scaling_in_suspended,
  :dynamic_scaling_out_suspended,
  :scheduled_scaling_suspended)
  include Aws::Structure
end