Skip to content

/AWS1/CL_RDSSERVERLESSV2SCAC00

Contains the scaling configuration of an Aurora Serverless v2 DB cluster.

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

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_mincapacity TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. For Aurora versions that support the Aurora Serverless v2 auto-pause feature, the smallest value that you can use is 0. For versions that don't support Aurora Serverless v2 auto-pause, the smallest value that you can use is 0.5.

iv_maxcapacity TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

The maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 32, 32.5, 33, and so on. The largest value that you can use is 256 for recent Aurora versions, or 128 for older versions.

iv_secondsuntilautopause TYPE /AWS1/RDSINTEGEROPTIONAL /AWS1/RDSINTEGEROPTIONAL

Specifies the number of seconds an Aurora Serverless v2 DB instance must be idle before Aurora attempts to automatically pause it.

Specify a value between 300 seconds (five minutes) and 86,400 seconds (one day). The default is 300 seconds.


Queryable Attributes

MinCapacity

The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. For Aurora versions that support the Aurora Serverless v2 auto-pause feature, the smallest value that you can use is 0. For versions that don't support Aurora Serverless v2 auto-pause, the smallest value that you can use is 0.5.

Accessible with the following methods

Method Description
GET_MINCAPACITY() Getter for MINCAPACITY, with configurable default
ASK_MINCAPACITY() Getter for MINCAPACITY w/ exceptions if field has no value
STR_MINCAPACITY() String format for MINCAPACITY, with configurable default
HAS_MINCAPACITY() Determine if MINCAPACITY has a value

MaxCapacity

The maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 32, 32.5, 33, and so on. The largest value that you can use is 256 for recent Aurora versions, or 128 for older versions.

Accessible with the following methods

Method Description
GET_MAXCAPACITY() Getter for MAXCAPACITY, with configurable default
ASK_MAXCAPACITY() Getter for MAXCAPACITY w/ exceptions if field has no value
STR_MAXCAPACITY() String format for MAXCAPACITY, with configurable default
HAS_MAXCAPACITY() Determine if MAXCAPACITY has a value

SecondsUntilAutoPause

Specifies the number of seconds an Aurora Serverless v2 DB instance must be idle before Aurora attempts to automatically pause it.

Specify a value between 300 seconds (five minutes) and 86,400 seconds (one day). The default is 300 seconds.

Accessible with the following methods

Method Description
GET_SECONDSUNTILAUTOPAUSE() Getter for SECONDSUNTILAUTOPAUSE, with configurable default
ASK_SECONDSUNTILAUTOPAUSE() Getter for SECONDSUNTILAUTOPAUSE w/ exceptions if field has
HAS_SECONDSUNTILAUTOPAUSE() Determine if SECONDSUNTILAUTOPAUSE has a value