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
show all
Defined in:
(unknown)

Overview

Note:

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

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)

    The maximum capacity.

#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)

    The minimum capacity.