ScalingConfigurationInfo¶
Structure Class¶
ScalingConfigurationInfo
dataclass
¶
Bases: _SerdeShape
The scaling configuration for an Aurora DB cluster in serverless DB
engine mode.
For more information, see Using Amazon Aurora Serverless v1 in the Amazon Aurora User Guide.
Attributes¶
auto_pause
class-attribute
instance-attribute
¶
auto_pause: bool | None = ...
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
class-attribute
instance-attribute
¶
max_capacity: int | None = ...
The maximum capacity for an Aurora DB cluster in serverless DB engine
mode.
min_capacity
class-attribute
instance-attribute
¶
min_capacity: int | None = ...
The minimum capacity for an Aurora DB cluster in serverless DB engine
mode.
seconds_before_timeout
class-attribute
instance-attribute
¶
seconds_before_timeout: int | None = ...
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
class-attribute
instance-attribute
¶
seconds_until_auto_pause: int | None = ...
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
class-attribute
instance-attribute
¶
timeout_action: str | None = ...
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.