enum BillingMode
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.DynamoDB.BillingMode |
Java | software.amazon.awscdk.services.dynamodb.BillingMode |
Python | aws_cdk.aws_dynamodb.BillingMode |
TypeScript (source) | @aws-cdk/aws-dynamodb » BillingMode |
DynamoDB's Read/Write capacity modes.
Example
const table = new dynamodb.Table(this, 'Table', {
partitionKey: { name: 'id', type: dynamodb.AttributeType.STRING },
billingMode: dynamodb.BillingMode.PAY_PER_REQUEST,
});
Members
Name | Description |
---|---|
PAY_PER_REQUEST | Pay only for what you use. |
PROVISIONED | Explicitly specified Read/Write capacity units. |
PAY_PER_REQUEST
Pay only for what you use.
You don't configure Read/Write capacity units.
PROVISIONED
Explicitly specified Read/Write capacity units.