interface LustreConfiguration
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.FSx.LustreConfiguration |
Java | software.amazon.awscdk.services.fsx.LustreConfiguration |
Python | aws_cdk.aws_fsx.LustreConfiguration |
TypeScript (source) | @aws-cdk/aws-fsx » LustreConfiguration |
The configuration for the Amazon FSx for Lustre file system.
Example
declare const vpc: ec2.Vpc;
const fileSystem = new fsx.LustreFileSystem(this, 'FsxLustreFileSystem', {
lustreConfiguration: { deploymentType: fsx.LustreDeploymentType.SCRATCH_2 },
storageCapacityGiB: 1200,
vpc,
vpcSubnet: vpc.privateSubnets[0],
});
Properties
Name | Type | Description |
---|---|---|
deployment | Lustre | The type of backing file system deployment used by FSx. |
export | string | The path in Amazon S3 where the root of your Amazon FSx file system is exported. |
import | string | The path to the Amazon S3 bucket (including the optional prefix) that you're using as the data repository for your Amazon FSx for Lustre file system. |
imported | number | For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. |
per | number | Required for the PERSISTENT_1 deployment type, describes the amount of read and write throughput for each 1 tebibyte of storage, in MB/s/TiB. |
weekly | Lustre | The preferred day and time to perform weekly maintenance. |
deploymentType
Type:
Lustre
The type of backing file system deployment used by FSx.
exportPath?
Type:
string
(optional, default: s3://import-bucket/FSxLustre[creation-timestamp])
The path in Amazon S3 where the root of your Amazon FSx file system is exported.
The path must use the same Amazon S3 bucket as specified in ImportPath. If you only specify a bucket name, such as s3://import-bucket, you get a 1:1 mapping of file system objects to S3 bucket objects. This mapping means that the input data in S3 is overwritten on export. If you provide a custom prefix in the export path, such as s3://import-bucket/[custom-optional-prefix], Amazon FSx exports the contents of your file system to that export prefix in the Amazon S3 bucket.
importPath?
Type:
string
(optional, default: no bucket is imported)
The path to the Amazon S3 bucket (including the optional prefix) that you're using as the data repository for your Amazon FSx for Lustre file system.
Must be of the format "s3://{bucketName}/optional-prefix" and cannot exceed 900 characters.
importedFileChunkSizeMiB?
Type:
number
(optional, default: 1024)
For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk.
Allowed values are between 1 and 512,000.
perUnitStorageThroughput?
Type:
number
(optional, default: no default, conditionally required for PERSISTENT_1 deployment type)
Required for the PERSISTENT_1 deployment type, describes the amount of read and write throughput for each 1 tebibyte of storage, in MB/s/TiB.
Valid values are 50, 100, 200.
weeklyMaintenanceStartTime?
Type:
Lustre
(optional, default: no preference)
The preferred day and time to perform weekly maintenance.
The first digit is the day of the week, starting at 1 for Monday, then the following are hours and minutes in the UTC time zone, 24 hour clock. For example: '2:20:30' is Tuesdays at 20:30.