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.

Although you can specify a large maximum capacity, note that service quotas may impose lower limits. Each service has its own default quotas for the maximum capacity of the resource. If you want to specify a higher limit, you can request an increase. For more information, consult the documentation for that service. For information about the default quotas for each service, see Service Endpoints and Quotas in the Amazon Web Services General Reference.

Returns:

  • (Integer)


2609
2610
2611
2612
2613
2614
# File 'gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/types.rb', line 2609

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

#min_capacityInteger

The minimum capacity.

For certain resources, the minimum value allowed is 0. This includes Lambda provisioned concurrency, Spot Fleet, ECS services, Aurora DB clusters, EMR clusters, and custom resources. For all other resources, the minimum value allowed is 1.

Returns:

  • (Integer)


2609
2610
2611
2612
2613
2614
# File 'gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/types.rb', line 2609

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