@Stability(value=Stable)
public static interface CfnTable.ProvisionedThroughputProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.dynamodb.*;
ProvisionedThroughputProperty provisionedThroughputProperty = ProvisionedThroughputProperty.builder()
.readCapacityUnits(123)
.writeCapacityUnits(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnTable.ProvisionedThroughputProperty.Builder
A builder for
CfnTable.ProvisionedThroughputProperty |
static class |
CfnTable.ProvisionedThroughputProperty.Jsii$Proxy
An implementation for
CfnTable.ProvisionedThroughputProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnTable.ProvisionedThroughputProperty.Builder |
builder() |
Number |
getReadCapacityUnits()
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a `ThrottlingException` .
|
Number |
getWriteCapacityUnits()
The maximum number of writes consumed per second before DynamoDB returns a `ThrottlingException` .
|
@Stability(value=Stable) @NotNull Number getReadCapacityUnits()
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.
@Stability(value=Stable) @NotNull Number getWriteCapacityUnits()
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.
@Stability(value=Stable) static CfnTable.ProvisionedThroughputProperty.Builder builder()
Copyright © 2022. All rights reserved.