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();
 
  • Method Details

    • getMaxReadRequestUnits

      @Stability(Stable) @Nullable default Number 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

      @Stability(Stable) @Nullable default Number 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

      @Stability(Stable) static MaxThroughputProps.Builder builder()
      Returns:
      a MaxThroughputProps.Builder of MaxThroughputProps