You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::ApplicationAutoScaling::Types::ScalableTargetAction
- Inherits:
-
Struct
- Object
- Struct
- Aws::ApplicationAutoScaling::Types::ScalableTargetAction
- Defined in:
- (unknown)
Overview
When passing ScalableTargetAction as input to an Aws::Client method, you can use a vanilla Hash:
{
min_capacity: 1,
max_capacity: 1,
}
Represents the minimum and maximum capacity for a scheduled action.
Returned by:
Instance Attribute Summary collapse
-
#max_capacity ⇒ Integer
The maximum capacity.
-
#min_capacity ⇒ Integer
The minimum capacity.
Instance Attribute Details
#max_capacity ⇒ Integer
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.
#min_capacity ⇒ Integer
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.