MaxThroughputProps
- class aws_cdk.aws_dynamodb.MaxThroughputProps(*, max_read_request_units=None, max_write_request_units=None)
Bases:
object
Properties used to configure maximum throughput for an on-demand table.
- Parameters:
max_read_request_units (
Union
[int
,float
,None
]) – 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.max_write_request_units (
Union
[int
,float
,None
]) – 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.
- ExampleMetadata:
infused
Example:
table = dynamodb.TableV2(self, "Table", partition_key=dynamodb.Attribute(name="pk", type=dynamodb.AttributeType.STRING), billing=dynamodb.Billing.on_demand( max_read_request_units=100, max_write_request_units=115 ) )
Attributes
- max_read_request_units
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.
- max_write_request_units
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.