Skip to content

ScalableTargetAction

Source code in docs_src/capo_application_auto_scaling/types/scalable_target_action.py
class ScalableTargetAction(TypedDict, closed=True):
    min_capacity: NotRequired[
        "capo_application_auto_scaling.types.resource_capacity.ResourceCapacity"
    ]
    """<p>The minimum capacity.</p> <p>When the scheduled action runs, the resource will have at least this much capacity, but it might have more depending on other settings, such as the target utilization level of a target tracking scaling policy.</p>"""
    max_capacity: NotRequired[
        "capo_application_auto_scaling.types.resource_capacity.ResourceCapacity"
    ]
    """<p>The maximum capacity.</p> <p>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 <a href="https://docs.aws.amazon.com/general/latest/gr/aws-service-information.html">Service endpoints and quotas</a> in the <i>Amazon Web Services General Reference</i>.</p>"""

max_capacity instance-attribute

max_capacity: NotRequired[ResourceCapacity]

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 instance-attribute

min_capacity: NotRequired[ResourceCapacity]

The minimum capacity.

When the scheduled action runs, the resource will have at least this much capacity, but it might have more depending on other settings, such as the target utilization level of a target tracking scaling policy.