aws-cdk-lib.aws_dynamodb.CfnTable.ProvisionedThroughputProperty

interface ProvisionedThroughputProperty

LanguageType name
.NETAmazon.CDK.AWS.DynamoDB.CfnTable.ProvisionedThroughputProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsdynamodb#CfnTable_ProvisionedThroughputProperty
Javasoftware.amazon.awscdk.services.dynamodb.CfnTable.ProvisionedThroughputProperty
Pythonaws_cdk.aws_dynamodb.CfnTable.ProvisionedThroughputProperty
TypeScript aws-cdk-lib » 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 { aws_dynamodb as dynamodb } from 'aws-cdk-lib';
const provisionedThroughputProperty: dynamodb.CfnTable.ProvisionedThroughputProperty = {
  readCapacityUnits: 123,
  writeCapacityUnits: 123,
};

Properties

NameTypeDescription
readCapacityUnitsnumberThe maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException .
writeCapacityUnitsnumberThe 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.