Class: Aws::ApplicationAutoScaling::Types::NotScaledReason

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

Overview

Describes the reason for an activity that isn’t scaled (*not scaled activity*), in machine-readable format. For help interpreting the not scaled reason details, see [Scaling activities for Application Auto Scaling] in the *Application Auto Scaling User Guide*.

[1]: docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scaling-activities.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#codeString

A code that represents the reason for not scaling.

Valid values:

  • AutoScalingAnticipatedFlapping

  • TargetServicePutResourceAsUnscalable

  • AlreadyAtMaxCapacity

  • AlreadyAtMinCapacity

  • AlreadyAtDesiredCapacity

Returns:

  • (String)


1722
1723
1724
1725
1726
1727
1728
1729
# File 'lib/aws-sdk-applicationautoscaling/types.rb', line 1722

class NotScaledReason < Struct.new(
  :code,
  :max_capacity,
  :min_capacity,
  :current_capacity)
  SENSITIVE = []
  include Aws::Structure
end

#current_capacityInteger

The current capacity.

Returns:

  • (Integer)


1722
1723
1724
1725
1726
1727
1728
1729
# File 'lib/aws-sdk-applicationautoscaling/types.rb', line 1722

class NotScaledReason < Struct.new(
  :code,
  :max_capacity,
  :min_capacity,
  :current_capacity)
  SENSITIVE = []
  include Aws::Structure
end

#max_capacityInteger

The maximum capacity.

Returns:

  • (Integer)


1722
1723
1724
1725
1726
1727
1728
1729
# File 'lib/aws-sdk-applicationautoscaling/types.rb', line 1722

class NotScaledReason < Struct.new(
  :code,
  :max_capacity,
  :min_capacity,
  :current_capacity)
  SENSITIVE = []
  include Aws::Structure
end

#min_capacityInteger

The minimum capacity.

Returns:

  • (Integer)


1722
1723
1724
1725
1726
1727
1728
1729
# File 'lib/aws-sdk-applicationautoscaling/types.rb', line 1722

class NotScaledReason < Struct.new(
  :code,
  :max_capacity,
  :min_capacity,
  :current_capacity)
  SENSITIVE = []
  include Aws::Structure
end