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)


1836
1837
1838
1839
1840
1841
1842
1843
# File 'lib/aws-sdk-applicationautoscaling/types.rb', line 1836

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

#current_capacityInteger

The current capacity.

Returns:

  • (Integer)


1836
1837
1838
1839
1840
1841
1842
1843
# File 'lib/aws-sdk-applicationautoscaling/types.rb', line 1836

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

#max_capacityInteger

The maximum capacity.

Returns:

  • (Integer)


1836
1837
1838
1839
1840
1841
1842
1843
# File 'lib/aws-sdk-applicationautoscaling/types.rb', line 1836

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

#min_capacityInteger

The minimum capacity.

Returns:

  • (Integer)


1836
1837
1838
1839
1840
1841
1842
1843
# File 'lib/aws-sdk-applicationautoscaling/types.rb', line 1836

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