DriveCacheType

class aws_cdk.aws_fsx.DriveCacheType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

The type of drive cache used by PERSISTENT_1 file systems that are provisioned with HDD storage devices.

ExampleMetadata:

infused

Example:

# vpc: ec2.Vpc


file_system = fsx.LustreFileSystem(self, "FsxLustreFileSystem",
    lustre_configuration=fsx.LustreConfiguration(
        deployment_type=fsx.LustreDeploymentType.PERSISTENT_1,
        drive_cache_type=fsx.DriveCacheType.READ
    ),
    storage_capacity_gi_b=1200,
    vpc=vpc,
    vpc_subnet=vpc.private_subnets[0],
    storage_type=fsx.StorageType.HDD
)

Attributes

NONE

The Lustre file system is configured with no data cache.

READ

The Lustre file system is configured with a read cache.