ClusterScalingConfigurationArgs

data class ClusterScalingConfigurationArgs(val autoPause: Output<Boolean>? = null, val maxCapacity: Output<Int>? = null, val minCapacity: 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, 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

The 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

The 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 secondsUntilAutoPause: Output<Int>? = null

The 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

The 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