ClusterScalingConfigurationArgs

data class ClusterScalingConfigurationArgs(val autoPause: Output<Boolean>? = null, val maxCapacity: Output<Int>? = null, val minCapacity: Output<Int>? = null, val secondsBeforeTimeout: Output<Int>? = null, val secondsUntilAutoPause: Output<Int>? = null, val timeoutAction: Output<String>? = null) : ConvertibleToJava<ClusterScalingConfigurationArgs>

Constructors

Link copied to clipboard
constructor(autoPause: Output<Boolean>? = null, maxCapacity: Output<Int>? = null, minCapacity: Output<Int>? = null, secondsBeforeTimeout: Output<Int>? = null, secondsUntilAutoPause: Output<Int>? = null, timeoutAction: Output<String>? = null)

Properties

Link copied to clipboard
val autoPause: Output<Boolean>? = null

Whether to enable automatic pause. A DB cluster can be paused only when it's idle (it has no connections). If a DB cluster is paused for more than seven days, the DB cluster might be backed up with a snapshot. In this case, the DB cluster is restored when there is a request to connect to it. Defaults to true.

Link copied to clipboard
val maxCapacity: Output<Int>? = null

Maximum capacity for an Aurora DB cluster in serverless DB engine mode. The maximum capacity must be greater than or equal to the minimum capacity. Valid Aurora MySQL capacity values are 1, 2, 4, 8, 16, 32, 64, 128, 256. Valid Aurora PostgreSQL capacity values are (2, 4, 8, 16, 32, 64, 192, and 384). Defaults to 16.

Link copied to clipboard
val minCapacity: Output<Int>? = null

Minimum capacity for an Aurora DB cluster in serverless DB engine mode. The minimum capacity must be lesser than or equal to the maximum capacity. Valid Aurora MySQL capacity values are 1, 2, 4, 8, 16, 32, 64, 128, 256. Valid Aurora PostgreSQL capacity values are (2, 4, 8, 16, 32, 64, 192, and 384). Defaults to 1.

Link copied to clipboard
val secondsBeforeTimeout: Output<Int>? = null

Amount of time, in seconds, that Aurora Serverless v1 tries to find a scaling point to perform seamless scaling before enforcing the timeout action. Valid values are 60 through 600. Defaults to 300.

Link copied to clipboard
val secondsUntilAutoPause: Output<Int>? = null

Time, in seconds, before an Aurora DB cluster in serverless mode is paused. Valid values are 300 through 86400. Defaults to 300.

Link copied to clipboard
val timeoutAction: Output<String>? = null

Action to take when the timeout is reached. Valid values: ForceApplyCapacityChange, RollbackCapacityChange. Defaults to RollbackCapacityChange. See documentation.

Functions

Link copied to clipboard
open override fun toJava(): ClusterScalingConfigurationArgs