# DataReadCacheConfigurationProperty

The configuration for the optional provisioned SSD read cache on Amazon FSx for Lustre file systems that use the Intelligent-Tiering storage class.

- Source: Generated at build time
- Type last changed: v2.200.0 · 2 Jun 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_fsx as fsx } from 'aws-cdk-lib';
const dataReadCacheConfigurationProperty: fsx.CfnFileSystem.DataReadCacheConfigurationProperty = {
  sizeGiB: 123,
  sizingMode: 'sizingMode',
};
```

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_fsx as fsx

data_read_cache_configuration_property = fsx.CfnFileSystem.DataReadCacheConfigurationProperty(
    size_gi_b=123,
    sizing_mode="sizingMode"
)
```

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.fsx.*;

DataReadCacheConfigurationProperty dataReadCacheConfigurationProperty = DataReadCacheConfigurationProperty.builder()
        .sizeGiB(123)
        .sizingMode("sizingMode")
        .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.FSx;

var dataReadCacheConfigurationProperty = new DataReadCacheConfigurationProperty {
    SizeGiB = 123,
    SizingMode = "sizingMode"
};
```

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"

dataReadCacheConfigurationProperty := &DataReadCacheConfigurationProperty{
	SizeGiB: jsii.Number(123),
	SizingMode: jsii.String("sizingMode"),
}
```

## Properties

- `sizeGiB`: number — Required if `SizingMode` is set to `USER_PROVISIONED` .

  Specifies the size of the file system's SSD read cache, in gibibytes (GiB).

- `sizingMode`: string — Specifies how the provisioned SSD read cache is sized, as follows:.

  - Set to `NO_CACHE` if you do not want to use an SSD read cache with your Intelligent-Tiering file system.
  - Set to `USER_PROVISIONED` to specify the exact size of your SSD read cache.
  - Set to `PROPORTIONAL_TO_THROUGHPUT_CAPACITY` to have your SSD read cache automatically sized based on your throughput capacity.
