Skip to content
v2.277.0

DataReadCacheConfigurationProperty Struct ​

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

Example ​

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
# 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
// 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();
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"
};
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 ​

sizeGiBoptionalnumbersize_gi_boptionalint | floatsizeGiBoptionalNumberSizeGiBoptionaldoubleSizeGiBoptional*float64 #
Required if `SizingMode` is set to `USER_PROVISIONED` .

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

sizingModeoptionalstringsizing_modeoptionalstrsizingModeoptionalStringSizingModeoptionalstringSizingModeoptional*string #
Specifies how the provisioned SSD read cache is sized, as follows:.
notes
  • 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.