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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#max_capacityInteger

The maximum capacity.

Returns:

  • (Integer)


2277
2278
2279
2280
2281
2282
# File 'gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/types.rb', line 2277

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

#min_capacityInteger

The minimum capacity.

For Lambda provisioned concurrency, the minimum value allowed is 0. For all other resources, the minimum value allowed is 1.

Returns:

  • (Integer)


2277
2278
2279
2280
2281
2282
# File 'gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/types.rb', line 2277

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