interface ProvisionedThroughputProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.DynamoDB.CfnTable.ProvisionedThroughputProperty |
Java | software.amazon.awscdk.services.dynamodb.CfnTable.ProvisionedThroughputProperty |
Python | aws_cdk.aws_dynamodb.CfnTable.ProvisionedThroughputProperty |
TypeScript | @aws-cdk/aws-dynamodb » CfnTable » ProvisionedThroughputProperty |
Throughput for the specified table, which consists of values for ReadCapacityUnits and WriteCapacityUnits .
For more information about the contents of a provisioned throughput structure, see Amazon DynamoDB Table ProvisionedThroughput .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as dynamodb from '@aws-cdk/aws-dynamodb';
const provisionedThroughputProperty: dynamodb.CfnTable.ProvisionedThroughputProperty = {
readCapacityUnits: 123,
writeCapacityUnits: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| read | number | The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException . |
| write | number | The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException . |
readCapacityUnits
Type:
number
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException .
For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide .
If read/write capacity mode is PAY_PER_REQUEST the value is set to 0.
writeCapacityUnits
Type:
number
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException .
For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide .
If read/write capacity mode is PAY_PER_REQUEST the value is set to 0.

.NET
Java
Python
TypeScript