# ReadCacheConfigurationProperty

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

- Source: Generated at build time
- Type last changed: v2.173.0 · 12 Dec 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_fsx as fsx } from 'aws-cdk-lib';
const readCacheConfigurationProperty: fsx.CfnFileSystem.ReadCacheConfigurationProperty = {
  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

read_cache_configuration_property = fsx.CfnFileSystem.ReadCacheConfigurationProperty(
    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.*;

ReadCacheConfigurationProperty readCacheConfigurationProperty = ReadCacheConfigurationProperty.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 readCacheConfigurationProperty = new ReadCacheConfigurationProperty {
    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"

readCacheConfigurationProperty := &ReadCacheConfigurationProperty{
	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.
