TableAutoScalingSettingArgs

data class TableAutoScalingSettingArgs(val autoScalingDisabled: Output<Boolean>? = null, val maximumUnits: Output<Int>? = null, val minimumUnits: Output<Int>? = null, val scalingPolicy: Output<TableScalingPolicyArgs>? = null) : ConvertibleToJava<TableAutoScalingSettingArgs>

Represents configuration for auto scaling.

Constructors

Link copied to clipboard
constructor(autoScalingDisabled: Output<Boolean>? = null, maximumUnits: Output<Int>? = null, minimumUnits: Output<Int>? = null, scalingPolicy: Output<TableScalingPolicyArgs>? = null)

Properties

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

This optional parameter enables auto scaling for the table if set to false .

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

Manage costs by specifying the maximum amount of throughput to provision. The value must be between 1 and the max throughput per second quota for your account (40,000 by default).

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

The minimum level of throughput the table should always be ready to support. The value must be between 1 and the max throughput per second quota for your account (40,000 by default).

Link copied to clipboard

Amazon Keyspaces supports the target tracking auto scaling policy. With this policy, Amazon Keyspaces auto scaling ensures that the table's ratio of consumed to provisioned capacity stays at or near the target value that you specify. You define the target value as a percentage between 20 and 90.

Functions

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