ReadCacheConfigurationProperty Struct
The configuration for the optional provisioned SSD read cache on Amazon FSx for OpenZFS 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 readCacheConfigurationProperty: fsx.CfnFileSystem.ReadCacheConfigurationProperty = {
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
read_cache_configuration_property = fsx.CfnFileSystem.ReadCacheConfigurationProperty(
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.*;
ReadCacheConfigurationProperty readCacheConfigurationProperty = ReadCacheConfigurationProperty.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 readCacheConfigurationProperty = new ReadCacheConfigurationProperty {
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"
readCacheConfigurationProperty := &ReadCacheConfigurationProperty{
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_CACHEif you do not want to use an SSD read cache with your Intelligent-Tiering file system. - Set to
USER_PROVISIONEDto specify the exact size of your SSD read cache. - Set to
PROPORTIONAL_TO_THROUGHPUT_CAPACITYto have your SSD read cache automatically sized based on your throughput capacity.