/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The scaling configuration for an Aurora DB cluster in For more information, see Using
* Amazon Aurora Serverless v1 in the Amazon Aurora User
* Guide.serverless
* DB engine mode.See Also:
AWS
* API Reference
The minimum capacity for an Aurora DB cluster in serverless
DB
* engine mode.
The minimum capacity for an Aurora DB cluster in serverless
DB
* engine mode.
The minimum capacity for an Aurora DB cluster in serverless
DB
* engine mode.
The minimum capacity for an Aurora DB cluster in serverless
DB
* engine mode.
The maximum capacity for an Aurora DB cluster in serverless
DB
* engine mode.
The maximum capacity for an Aurora DB cluster in serverless
DB
* engine mode.
The maximum capacity for an Aurora DB cluster in serverless
DB
* engine mode.
The maximum capacity for an Aurora DB cluster in serverless
DB
* engine mode.
A value that 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.
*/ inline bool GetAutoPause() const{ return m_autoPause; } /** *A value that 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.
*/ inline bool AutoPauseHasBeenSet() const { return m_autoPauseHasBeenSet; } /** *A value that 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.
*/ inline void SetAutoPause(bool value) { m_autoPauseHasBeenSet = true; m_autoPause = value; } /** *A value that 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.
*/ inline ScalingConfigurationInfo& WithAutoPause(bool value) { SetAutoPause(value); return *this;} /** *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).
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).
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).
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).
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.
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.
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.
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.
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.
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.
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.
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.
The number of seconds before scaling times out. What happens when an
* attempted scaling action times out is determined by the
* TimeoutAction
setting.
The number of seconds before scaling times out. What happens when an
* attempted scaling action times out is determined by the
* TimeoutAction
setting.
The number of seconds before scaling times out. What happens when an
* attempted scaling action times out is determined by the
* TimeoutAction
setting.
The number of seconds before scaling times out. What happens when an
* attempted scaling action times out is determined by the
* TimeoutAction
setting.