# WarmThroughputProperty

Provides visibility into the number of read and write operations your table or secondary index can instantaneously support.

The settings can be modified using the `UpdateTable` operation to meet the throughput requirements of an upcoming peak event.

- Source: Generated at build time
- Type last changed: v2.168.0 · 20 Nov 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_dynamodb as dynamodb } from 'aws-cdk-lib';
const warmThroughputProperty: dynamodb.CfnGlobalTable.WarmThroughputProperty = {
  readUnitsPerSecond: 123,
  writeUnitsPerSecond: 123,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_dynamodb as dynamodb

warm_throughput_property = dynamodb.CfnGlobalTable.WarmThroughputProperty(
    read_units_per_second=123,
    write_units_per_second=123
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.dynamodb.*;

WarmThroughputProperty warmThroughputProperty = WarmThroughputProperty.builder()
        .readUnitsPerSecond(123)
        .writeUnitsPerSecond(123)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DynamoDB;

var warmThroughputProperty = new WarmThroughputProperty {
    ReadUnitsPerSecond = 123,
    WriteUnitsPerSecond = 123
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

warmThroughputProperty := &WarmThroughputProperty{
	ReadUnitsPerSecond: jsii.Number(123),
	WriteUnitsPerSecond: jsii.Number(123),
}
```

## Properties

- `readUnitsPerSecond`: number — Represents the number of read operations your base table can instantaneously support.

- `writeUnitsPerSecond`: number — Represents the number of write operations your base table can instantaneously support.
