interface EnableScalingProps
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.DynamoDB.EnableScalingProps | 
  Java | software.amazon.awscdk.services.dynamodb.EnableScalingProps | 
  Python | aws_cdk.aws_dynamodb.EnableScalingProps | 
  TypeScript (source) | @aws-cdk/aws-dynamodb » EnableScalingProps | 
Properties for enabling DynamoDB capacity scaling.
Example
const globalTable = new dynamodb.Table(this, 'Table', {
  partitionKey: { name: 'id', type: dynamodb.AttributeType.STRING },
  replicationRegions: ['us-east-1', 'us-east-2', 'us-west-2'],
  billingMode: dynamodb.BillingMode.PROVISIONED,
});
globalTable.autoScaleWriteCapacity({
  minCapacity: 1,
  maxCapacity: 10,
}).scaleOnUtilization({ targetUtilizationPercent: 75 });
Properties
| Name | Type | Description | 
|---|---|---|
| max | number | Maximum capacity to scale to. | 
| min | number | Minimum capacity to scale to. | 
maxCapacity
Type:
number
Maximum capacity to scale to.
minCapacity
Type:
number
Minimum capacity to scale to.

 .NET
 Java
 Python
 TypeScript (