Skip to content
v2.275.0

WarmThroughput Struct ​

Reference to WarmThroughput for a DynamoDB table.

Example ​

ts
const table = new dynamodb.TableV2(this, 'Table', {
  partitionKey: { name: 'id', type: dynamodb.AttributeType.STRING },
  warmThroughput: {
      readUnitsPerSecond: 15000,
      writeUnitsPerSecond: 20000,
    },
});

Properties ​

readUnitsPerSecondoptionalnumberread_units_per_secondoptionalint | floatreadUnitsPerSecondoptionalNumberReadUnitsPerSecondoptionaldoubleReadUnitsPerSecondoptional*float64#
Configures the number of read units per second a table will be able to handle instantly.

Default: no readUnitsPerSecond configured

writeUnitsPerSecondoptionalnumberwrite_units_per_secondoptionalint | floatwriteUnitsPerSecondoptionalNumberWriteUnitsPerSecondoptionaldoubleWriteUnitsPerSecondoptional*float64#
Configures the number of write units per second a table will be able to handle instantly.

Default: no writeUnitsPerSecond configured