@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.456Z") @Stability(value=Stable) public interface LustreConfiguration extends software.amazon.jsii.JsiiSerializable
Example:
// Example automatically generated from non-compiling source. May contain errors.
Vpc vpc;
s3.Bucket bucket;
Map<String, Object> lustreConfiguration = Map.of(
"deploymentType", LustreDeploymentType.SCRATCH_2,
"exportPath", bucket.s3UrlForObject(),
"importPath", bucket.s3UrlForObject(),
"autoImportPolicy", LustreAutoImportPolicy.NEW_CHANGED_DELETED);
LustreFileSystem fs = LustreFileSystem.Builder.create(this, "FsxLustreFileSystem")
.vpc(vpc)
.vpcSubnet(vpc.getPrivateSubnets()[0])
.storageCapacityGiB(1200)
.lustreConfiguration(lustreConfiguration)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
LustreConfiguration.Builder
A builder for
LustreConfiguration |
static class |
LustreConfiguration.Jsii$Proxy
An implementation for
LustreConfiguration |
| Modifier and Type | Method and Description |
|---|---|
static LustreConfiguration.Builder |
builder() |
default LustreAutoImportPolicy |
getAutoImportPolicy()
Available with `Scratch` and `Persistent_1` deployment types.
|
default LustreDataCompressionType |
getDataCompressionType()
Sets the data compression configuration for the file system.
|
LustreDeploymentType |
getDeploymentType()
The type of backing file system deployment used by FSx.
|
default String |
getExportPath()
The path in Amazon S3 where the root of your Amazon FSx file system is exported.
|
default Number |
getImportedFileChunkSizeMiB()
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.
|
default String |
getImportPath()
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.
|
default Number |
getPerUnitStorageThroughput()
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.
|
default LustreMaintenanceTime |
getWeeklyMaintenanceStartTime()
The preferred day and time to perform weekly maintenance.
|
@Stability(value=Stable) @NotNull LustreDeploymentType getDeploymentType()
@Stability(value=Stable) @Nullable default LustreAutoImportPolicy getAutoImportPolicy()
When you create your file system, your existing S3 objects appear as file and directory listings. Use this property to choose how Amazon FSx keeps your file and directory listings up to date as you add or modify objects in your linked S3 bucket. AutoImportPolicy can have the following values:
For more information, see Automatically import updates from your S3 bucket .
This parameter is not supported for Lustre file systems using the
Persistent_2deployment type.
Default: - no import policy
@Stability(value=Stable) @Nullable default LustreDataCompressionType getDataCompressionType()
For more information, see Lustre data compression in the Amazon FSx for Lustre User Guide .
Default: - no compression
@Stability(value=Stable) @Nullable default String getExportPath()
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.
Default: s3://import-bucket/FSxLustre[creation-timestamp]
@Stability(value=Stable) @Nullable default Number getImportedFileChunkSizeMiB()
Allowed values are between 1 and 512,000.
Default: 1024
@Stability(value=Stable) @Nullable default String getImportPath()
Must be of the format "s3://{bucketName}/optional-prefix" and cannot exceed 900 characters.
Default: - no bucket is imported
@Stability(value=Stable) @Nullable default Number getPerUnitStorageThroughput()
Valid values are 50, 100, 200.
Default: - no default, conditionally required for PERSISTENT_1 deployment type
@Stability(value=Stable) @Nullable default LustreMaintenanceTime getWeeklyMaintenanceStartTime()
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.
Default: - no preference
@Stability(value=Stable) static LustreConfiguration.Builder builder()
LustreConfiguration.Builder of LustreConfigurationCopyright © 2022. All rights reserved.