interface ProvisionedThroughputProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.DynamoDB.CfnTable.ProvisionedThroughputProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsdynamodb#CfnTable_ProvisionedThroughputProperty |
![]() | software.amazon.awscdk.services.dynamodb.CfnTable.ProvisionedThroughputProperty |
![]() | aws_cdk.aws_dynamodb.CfnTable.ProvisionedThroughputProperty |
![]() | 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
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.