interface ScalingPolicyProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Cassandra.CfnTable.ScalingPolicyProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscassandra#CfnTable_ScalingPolicyProperty |
Java | software.amazon.awscdk.services.cassandra.CfnTable.ScalingPolicyProperty |
Python | aws_cdk.aws_cassandra.CfnTable.ScalingPolicyProperty |
TypeScript | aws-cdk-lib » aws_cassandra » CfnTable » ScalingPolicyProperty |
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.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cassandra as cassandra } from 'aws-cdk-lib';
const scalingPolicyProperty: cassandra.CfnTable.ScalingPolicyProperty = {
targetTrackingScalingPolicyConfiguration: {
targetValue: 123,
// the properties below are optional
disableScaleIn: false,
scaleInCooldown: 123,
scaleOutCooldown: 123,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| target | IResolvable | Target | The auto scaling policy that scales a table based on the ratio of consumed to provisioned capacity. |
targetTrackingScalingPolicyConfiguration?
Type:
IResolvable | Target
(optional)
The auto scaling policy that scales a table based on the ratio of consumed to provisioned capacity.

.NET
Go
Java
Python
TypeScript