interface ScalingPolicyProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Cassandra.CfnTable.ScalingPolicyProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscassandra#CfnTable_ScalingPolicyProperty |
![]() | software.amazon.awscdk.services.cassandra.CfnTable.ScalingPolicyProperty |
![]() | aws_cdk.aws_cassandra.CfnTable.ScalingPolicyProperty |
![]() | 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.