Interface CfnTablePropsMixin.ProvisionedThroughputProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTablePropsMixin.ProvisionedThroughputProperty.Jsii$Proxy
- Enclosing class:
CfnTablePropsMixin
@Stability(Stable)
public static interface CfnTablePropsMixin.ProvisionedThroughputProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.mixins.preview.services.dynamodb.mixins.*;
ProvisionedThroughputProperty provisionedThroughputProperty = ProvisionedThroughputProperty.builder()
.readCapacityUnits(123)
.writeCapacityUnits(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTablePropsMixin.ProvisionedThroughputPropertystatic final classAn implementation forCfnTablePropsMixin.ProvisionedThroughputProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getReadCapacityUnits
The maximum number of strongly consistent reads consumed per second before DynamoDB returns aThrottlingException.For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide .
If read/write capacity mode is
PAY_PER_REQUESTthe value is set to 0.- See Also:
-
getWriteCapacityUnits
The maximum number of writes consumed per second before DynamoDB returns aThrottlingException.For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide .
If read/write capacity mode is
PAY_PER_REQUESTthe value is set to 0.- See Also:
-
builder
-