Interface MaxThroughputProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
MaxThroughputProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.106.0 (build e852934)",
date="2025-02-06T22:15:52.757Z")
@Stability(Stable)
public interface MaxThroughputProps
extends software.amazon.jsii.JsiiSerializable
Properties used to configure maximum throughput for an on-demand table.
Example:
TableV2 table = TableV2.Builder.create(this, "Table") .partitionKey(Attribute.builder().name("pk").type(AttributeType.STRING).build()) .billing(Billing.onDemand(MaxThroughputProps.builder() .maxReadRequestUnits(100) .maxWriteRequestUnits(115) .build())) .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forMaxThroughputProps
static final class
An implementation forMaxThroughputProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic MaxThroughputProps.Builder
builder()
default Number
The max read request units.default Number
The max write request units.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMaxReadRequestUnits
The max read request units.Default: - if table mode is on-demand and this property is undefined, no maximum throughput limit will be put in place for read requests. This property is only applicable for tables using on-demand mode.
-
getMaxWriteRequestUnits
The max write request units.Default: - if table mode is on-demand and this property is undefined, no maximum throughput limit will be put in place for write requests. This property is only applicable for tables using on-demand mode.
-
builder
- Returns:
- a
MaxThroughputProps.Builder
ofMaxThroughputProps
-