Skip to content

AutoScalingSettings

Source code in docs_src/capo_keyspaces/types/auto_scaling_settings.py
class AutoScalingSettings(TypedDict, closed=True):
    auto_scaling_disabled: "capo_keyspaces.types.boolean_object.BooleanObject"
    """<p>This optional parameter enables auto scaling for the table if set to <code>false</code>.</p>"""
    minimum_units: NotRequired["capo_keyspaces.types.capacity_units.CapacityUnits"]
    """<p>The minimum level of throughput the table should always be ready to support. The value must be between 1 and the max throughput per second quota for your account (40,000 by default).</p>"""
    maximum_units: NotRequired["capo_keyspaces.types.capacity_units.CapacityUnits"]
    """<p>Manage costs by specifying the maximum amount of throughput to provision. The value must be between 1 and the max throughput per second quota for your account (40,000 by default).</p>"""
    scaling_policy: NotRequired[
        "capo_keyspaces.types.auto_scaling_policy.AutoScalingPolicy"
    ]
    """<p>Amazon Keyspaces supports the <code>target tracking</code> auto scaling policy. With this policy, Amazon Keyspaces auto scaling ensures that the table's ratio of consumed to provisioned capacity stays at or near the target value that you specify. You define the target value as a percentage between 20 and 90.</p>"""

auto_scaling_disabled instance-attribute

auto_scaling_disabled: BooleanObject

This optional parameter enables auto scaling for the table if set to false.

maximum_units instance-attribute

maximum_units: NotRequired[CapacityUnits]

Manage costs by specifying the maximum amount of throughput to provision. The value must be between 1 and the max throughput per second quota for your account (40,000 by default).

minimum_units instance-attribute

minimum_units: NotRequired[CapacityUnits]

The minimum level of throughput the table should always be ready to support. The value must be between 1 and the max throughput per second quota for your account (40,000 by default).

scaling_policy instance-attribute

scaling_policy: NotRequired[AutoScalingPolicy]

Amazon Keyspaces supports the target tracking auto scaling policy. With this policy, Amazon Keyspaces auto scaling ensures that the table's ratio of consumed to provisioned capacity stays at or near the target value that you specify. You define the target value as a percentage between 20 and 90.