AWS::Cassandra::Table AutoScalingSetting
The optional auto scaling settings for a table with provisioned throughput capacity.
To turn on auto scaling for a table in throughputMode:PROVISIONED
,
you must specify the following parameters.
Configure the minimum and maximum capacity units. The auto scaling policy ensures that capacity never goes below the minimum or above the maximum range.
-
minimumUnits
: 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). -
maximumUnits
: The maximum 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). -
scalingPolicy
: Amazon Keyspaces supports thetarget tracking
scaling policy. The auto scaling target is a percentage of the provisioned capacity of the table.
For more information, see Managing throughput capacity automatically with Amazon Keyspaces auto scaling in the Amazon Keyspaces Developer Guide.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "AutoScalingDisabled" :
Boolean
, "MaximumUnits" :Integer
, "MinimumUnits" :Integer
, "ScalingPolicy" :ScalingPolicy
}
YAML
AutoScalingDisabled:
Boolean
MaximumUnits:Integer
MinimumUnits:Integer
ScalingPolicy:ScalingPolicy
Properties
AutoScalingDisabled
-
This optional parameter enables auto scaling for the table if set to
false
.Required: No
Type: Boolean
Update requires: No interruption
MaximumUnits
-
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).
Required: No
Type: Integer
Minimum:
1
Update requires: No interruption
MinimumUnits
-
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).
Required: No
Type: Integer
Minimum:
1
Update requires: No interruption
ScalingPolicy
-
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.Required: No
Type: ScalingPolicy
Update requires: No interruption