Enum BillingMode

java.lang.Object
java.lang.Enum<BillingMode>
software.amazon.awscdk.services.dynamodb.BillingMode
All Implemented Interfaces:
Serializable, Comparable<BillingMode>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:15.347Z") @Stability(Stable) public enum BillingMode extends Enum<BillingMode>
DynamoDB's Read/Write capacity modes.
  • Enum Constant Details

    • PAY_PER_REQUEST

      @Stability(Stable) public static final BillingMode PAY_PER_REQUEST
      Pay only for what you use.

      You don't configure Read/Write capacity units.

    • PROVISIONED

      @Stability(Stable) public static final BillingMode PROVISIONED
      Explicitly specified Read/Write capacity units.
  • Method Details

    • values

      public static BillingMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static BillingMode valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null