interface AutoScalingSpecificationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Cassandra.CfnTable.AutoScalingSpecificationProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscassandra#CfnTable_AutoScalingSpecificationProperty |
![]() | software.amazon.awscdk.services.cassandra.CfnTable.AutoScalingSpecificationProperty |
![]() | aws_cdk.aws_cassandra.CfnTable.AutoScalingSpecificationProperty |
![]() | aws-cdk-lib » aws_cassandra » CfnTable » AutoScalingSpecificationProperty |
The optional auto scaling capacity settings for a table in provisioned capacity mode.
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 autoScalingSpecificationProperty: cassandra.CfnTable.AutoScalingSpecificationProperty = {
readCapacityAutoScaling: {
autoScalingDisabled: false,
maximumUnits: 123,
minimumUnits: 123,
scalingPolicy: {
targetTrackingScalingPolicyConfiguration: {
targetValue: 123,
// the properties below are optional
disableScaleIn: false,
scaleInCooldown: 123,
scaleOutCooldown: 123,
},
},
},
writeCapacityAutoScaling: {
autoScalingDisabled: false,
maximumUnits: 123,
minimumUnits: 123,
scalingPolicy: {
targetTrackingScalingPolicyConfiguration: {
targetValue: 123,
// the properties below are optional
disableScaleIn: false,
scaleInCooldown: 123,
scaleOutCooldown: 123,
},
},
},
};
Properties
Name | Type | Description |
---|---|---|
read | IResolvable | Auto | The auto scaling settings for the table's read capacity. |
write | IResolvable | Auto | The auto scaling settings for the table's write capacity. |
readCapacityAutoScaling?
Type:
IResolvable
|
Auto
(optional)
The auto scaling settings for the table's read capacity.
writeCapacityAutoScaling?
Type:
IResolvable
|
Auto
(optional)
The auto scaling settings for the table's write capacity.