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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-applicationautoscaling/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.

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)


1680
1681
1682
1683
1684
1685
1686
1687
# File 'gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/types.rb', line 1680

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

#current_capacityInteger

The current capacity.

Returns:

  • (Integer)


1680
1681
1682
1683
1684
1685
1686
1687
# File 'gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/types.rb', line 1680

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

#max_capacityInteger

The maximum capacity.

Returns:

  • (Integer)


1680
1681
1682
1683
1684
1685
1686
1687
# File 'gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/types.rb', line 1680

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

#min_capacityInteger

The minimum capacity.

Returns:

  • (Integer)


1680
1681
1682
1683
1684
1685
1686
1687
# File 'gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/types.rb', line 1680

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