Skip to content

ScalingConfigurationInfo

Source code in docs_src/capo_rds/types/scaling_configuration_info.py
class ScalingConfigurationInfo(TypedDict, closed=True):
    min_capacity: NotRequired["capo_rds.types.integer_optional.IntegerOptional"]
    """<p>The minimum capacity for an Aurora DB cluster in <code>serverless</code> DB engine mode.</p>"""
    max_capacity: NotRequired["capo_rds.types.integer_optional.IntegerOptional"]
    """<p>The maximum capacity for an Aurora DB cluster in <code>serverless</code> DB engine mode.</p>"""
    auto_pause: NotRequired["capo_rds.types.boolean_optional.BooleanOptional"]
    """<p>Indicates whether automatic pause is allowed for the Aurora DB cluster in <code>serverless</code> DB engine mode.</p> <p>When the value is set to false for an Aurora Serverless v1 DB cluster, the DB cluster automatically resumes.</p>"""
    seconds_until_auto_pause: NotRequired[
        "capo_rds.types.integer_optional.IntegerOptional"
    ]
    """<p>The remaining amount of time, in seconds, before the Aurora DB cluster in <code>serverless</code> mode is paused. A DB cluster can be paused only when it's idle (it has no connections).</p>"""
    timeout_action: NotRequired["capo_rds.types.string.String"]
    """<p>The action that occurs when Aurora times out while attempting to change the capacity of an Aurora Serverless v1 cluster. The value is either <code>ForceApplyCapacityChange</code> or <code>RollbackCapacityChange</code>.</p> <p> <code>ForceApplyCapacityChange</code>, the default, sets the capacity to the specified value as soon as possible.</p> <p> <code>RollbackCapacityChange</code> ignores the capacity change if a scaling point isn't found in the timeout period.</p>"""
    seconds_before_timeout: NotRequired[
        "capo_rds.types.integer_optional.IntegerOptional"
    ]
    """<p>The number of seconds before scaling times out. What happens when an attempted scaling action times out is determined by the <code>TimeoutAction</code> setting.</p>"""

auto_pause instance-attribute

auto_pause: NotRequired[BooleanOptional]

Indicates whether automatic pause is allowed for the Aurora DB cluster in serverless DB engine mode.

When the value is set to false for an Aurora Serverless v1 DB cluster, the DB cluster automatically resumes.

max_capacity instance-attribute

max_capacity: NotRequired[IntegerOptional]

The maximum capacity for an Aurora DB cluster in serverless DB engine mode.

min_capacity instance-attribute

min_capacity: NotRequired[IntegerOptional]

The minimum capacity for an Aurora DB cluster in serverless DB engine mode.

seconds_before_timeout instance-attribute

seconds_before_timeout: NotRequired[IntegerOptional]

The number of seconds before scaling times out. What happens when an attempted scaling action times out is determined by the TimeoutAction setting.

seconds_until_auto_pause instance-attribute

seconds_until_auto_pause: NotRequired[IntegerOptional]

The remaining amount of time, in seconds, before the Aurora DB cluster in serverless mode is paused. A DB cluster can be paused only when it's idle (it has no connections).

timeout_action instance-attribute

timeout_action: NotRequired[String]

The action that occurs when Aurora times out while attempting to change the capacity of an Aurora Serverless v1 cluster. The value is either ForceApplyCapacityChange or RollbackCapacityChange.

ForceApplyCapacityChange, the default, sets the capacity to the specified value as soon as possible.

RollbackCapacityChange ignores the capacity change if a scaling point isn't found in the timeout period.