WarmThroughput

class aws_cdk.aws_dynamodb.WarmThroughput(*, read_units_per_second=None, write_units_per_second=None)

Bases: object

Reference to WarmThroughput for a DynamoDB table.

Parameters:
  • read_units_per_second (Union[int, float, None]) – Configures the number of read units per second a table will be able to handle instantly. Default: - no readUnitsPerSecond configured

  • write_units_per_second (Union[int, float, None]) – Configures the number of write units per second a table will be able to handle instantly. Default: - no writeUnitsPerSecond configured

ExampleMetadata:

infused

Example:

table = dynamodb.TableV2(self, "Table",
    partition_key=dynamodb.Attribute(name="id", type=dynamodb.AttributeType.STRING),
    warm_throughput=dynamodb.WarmThroughput(
        read_units_per_second=15000,
        write_units_per_second=20000
    )
)

Attributes

read_units_per_second

Configures the number of read units per second a table will be able to handle instantly.

Default:
  • no readUnitsPerSecond configured

write_units_per_second

Configures the number of write units per second a table will be able to handle instantly.

Default:
  • no writeUnitsPerSecond configured