LustreDeploymentType

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

Bases: Enum

The different kinds of file system deployments used by Lustre.

ExampleMetadata:

infused

Example:

from aws_cdk import aws_s3 as s3

# vpc: ec2.Vpc
# bucket: s3.Bucket


lustre_configuration = {
    "deployment_type": fsx.LustreDeploymentType.SCRATCH_2,
    "export_path": bucket.s3_url_for_object(),
    "import_path": bucket.s3_url_for_object(),
    "auto_import_policy": fsx.LustreAutoImportPolicy.NEW_CHANGED_DELETED
}

fs = fsx.LustreFileSystem(self, "FsxLustreFileSystem",
    vpc=vpc,
    vpc_subnet=vpc.private_subnets[0],
    storage_capacity_gi_b=1200,
    lustre_configuration=lustre_configuration
)

Attributes

PERSISTENT_1

Long term storage.

Data is replicated and file servers are replaced if they fail.

PERSISTENT_2

Newer type of long term storage with higher throughput tiers.

Data is replicated and file servers are replaced if they fail.

SCRATCH_1

Original type for shorter term data processing.

Data is not replicated and does not persist on server fail.

SCRATCH_2

Newer type for shorter term data processing.

Data is not replicated and does not persist on server fail. Provides better support for spiky workloads.