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

Class: Aws::ApplicationAutoScaling::Types::ScalableTargetAction

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 ScalableTargetAction data as a hash:

{
  min_capacity: 1,
  max_capacity: 1,
}

Represents the minimum and maximum capacity for a scheduled action.

Instance Attribute Summary collapse

Instance Attribute Details

#max_capacityInteger

The maximum capacity.

Returns:

  • (Integer)


1734
1735
1736
1737
1738
# File 'gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/types.rb', line 1734

class ScalableTargetAction < Struct.new(
  :min_capacity,
  :max_capacity)
  include Aws::Structure
end

#min_capacityInteger

The minimum capacity.

Returns:

  • (Integer)


1734
1735
1736
1737
1738
# File 'gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/types.rb', line 1734

class ScalableTargetAction < Struct.new(
  :min_capacity,
  :max_capacity)
  include Aws::Structure
end