libZSservicesZSamazonka-rdsZSamazonka-rds
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.RDS.Types.ScalingConfigurationInfo

Description

 
Synopsis

Documentation

data ScalingConfigurationInfo Source #

Shows the scaling configuration for an Aurora DB cluster in serverless DB engine mode.

For more information, see Using Amazon Aurora Serverless in the Amazon Aurora User Guide.

See: newScalingConfigurationInfo smart constructor.

Constructors

ScalingConfigurationInfo' 

Fields

  • secondsUntilAutoPause :: Maybe Int

    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).

  • timeoutAction :: Maybe Text

    The action that occurs when Aurora times out while attempting to change the capacity of an Aurora Serverless 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.

  • autoPause :: Maybe Bool

    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 DB cluster, the DB cluster automatically resumes.

  • maxCapacity :: Maybe Int

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

  • minCapacity :: Maybe Int

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

  • secondsBeforeTimeout :: Maybe Int

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

Instances

Instances details
Eq ScalingConfigurationInfo Source # 
Instance details

Defined in Amazonka.RDS.Types.ScalingConfigurationInfo

Read ScalingConfigurationInfo Source # 
Instance details

Defined in Amazonka.RDS.Types.ScalingConfigurationInfo

Show ScalingConfigurationInfo Source # 
Instance details

Defined in Amazonka.RDS.Types.ScalingConfigurationInfo

Generic ScalingConfigurationInfo Source # 
Instance details

Defined in Amazonka.RDS.Types.ScalingConfigurationInfo

Associated Types

type Rep ScalingConfigurationInfo :: Type -> Type #

NFData ScalingConfigurationInfo Source # 
Instance details

Defined in Amazonka.RDS.Types.ScalingConfigurationInfo

Hashable ScalingConfigurationInfo Source # 
Instance details

Defined in Amazonka.RDS.Types.ScalingConfigurationInfo

FromXML ScalingConfigurationInfo Source # 
Instance details

Defined in Amazonka.RDS.Types.ScalingConfigurationInfo

type Rep ScalingConfigurationInfo Source # 
Instance details

Defined in Amazonka.RDS.Types.ScalingConfigurationInfo

type Rep ScalingConfigurationInfo = D1 ('MetaData "ScalingConfigurationInfo" "Amazonka.RDS.Types.ScalingConfigurationInfo" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "ScalingConfigurationInfo'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "secondsUntilAutoPause") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "timeoutAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "autoPause") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "maxCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "minCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "secondsBeforeTimeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))))

newScalingConfigurationInfo :: ScalingConfigurationInfo Source #

Create a value of ScalingConfigurationInfo with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:secondsUntilAutoPause:ScalingConfigurationInfo', scalingConfigurationInfo_secondsUntilAutoPause - 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).

$sel:timeoutAction:ScalingConfigurationInfo', scalingConfigurationInfo_timeoutAction - The action that occurs when Aurora times out while attempting to change the capacity of an Aurora Serverless 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.

$sel:autoPause:ScalingConfigurationInfo', scalingConfigurationInfo_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 DB cluster, the DB cluster automatically resumes.

$sel:maxCapacity:ScalingConfigurationInfo', scalingConfigurationInfo_maxCapacity - The maximum capacity for an Aurora DB cluster in serverless DB engine mode.

$sel:minCapacity:ScalingConfigurationInfo', scalingConfigurationInfo_minCapacity - The maximum capacity for the Aurora DB cluster in serverless DB engine mode.

$sel:secondsBeforeTimeout:ScalingConfigurationInfo', scalingConfigurationInfo_secondsBeforeTimeout - The number of seconds before scaling times out. What happens when an attempted scaling action times out is determined by the TimeoutAction setting.

scalingConfigurationInfo_secondsUntilAutoPause :: Lens' ScalingConfigurationInfo (Maybe Int) Source #

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).

scalingConfigurationInfo_timeoutAction :: Lens' ScalingConfigurationInfo (Maybe Text) Source #

The action that occurs when Aurora times out while attempting to change the capacity of an Aurora Serverless 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.

scalingConfigurationInfo_autoPause :: Lens' ScalingConfigurationInfo (Maybe Bool) Source #

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 DB cluster, the DB cluster automatically resumes.

scalingConfigurationInfo_maxCapacity :: Lens' ScalingConfigurationInfo (Maybe Int) Source #

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

scalingConfigurationInfo_minCapacity :: Lens' ScalingConfigurationInfo (Maybe Int) Source #

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

scalingConfigurationInfo_secondsBeforeTimeout :: Lens' ScalingConfigurationInfo (Maybe Int) Source #

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