Interface LustreConfiguration
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LustreConfiguration.Jsii$Proxy
Example:
import software.amazon.awscdk.services.s3.*; Vpc vpc; 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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forLustreConfiguration
static final class
An implementation forLustreConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionstatic LustreConfiguration.Builder
builder()
default LustreAutoImportPolicy
Available withScratch
andPersistent_1
deployment types.default Duration
The number of days to retain automatic backups.default Boolean
A boolean flag indicating whether tags for the file system should be copied to backups.default DailyAutomaticBackupStartTime
Start time for 30-minute daily automatic backup window in Coordinated Universal Time (UTC).default LustreDataCompressionType
Sets the data compression configuration for the file system.The type of backing file system deployment used by FSx.default DriveCacheType
The type of drive cache used by PERSISTENT_1 file systems that are provisioned with HDD storage devices.default String
The path in Amazon S3 where the root of your Amazon FSx file system is exported.default 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.default 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.default Number
Provisions the amount of read and write throughput for each 1 tebibyte (TiB) of file system storage capacity, in MB/s/TiB.default LustreMaintenanceTime
The preferred day and time to perform weekly maintenance.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDeploymentType
The type of backing file system deployment used by FSx. -
getAutoImportPolicy
Available withScratch
andPersistent_1
deployment types.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_2
deployment type.Default: - no import policy
-
getAutomaticBackupRetention
The number of days to retain automatic backups.Setting this property to 0 disables automatic backups. You can retain automatic backups for a maximum of 90 days.
Automatic Backups is not supported on scratch file systems.
Default: Duration.days(0)
-
getCopyTagsToBackups
A boolean flag indicating whether tags for the file system should be copied to backups.Default: - false
-
getDailyAutomaticBackupStartTime
@Stability(Stable) @Nullable default DailyAutomaticBackupStartTime getDailyAutomaticBackupStartTime()Start time for 30-minute daily automatic backup window in Coordinated Universal Time (UTC).Default: - no backup window
-
getDataCompressionType
Sets the data compression configuration for the file system.For more information, see Lustre data compression in the Amazon FSx for Lustre User Guide .
Default: - no compression
-
getDriveCacheType
The type of drive cache used by PERSISTENT_1 file systems that are provisioned with HDD storage devices.Default: - no drive cache
-
getExportPath
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.
Default: s3://import-bucket/FSxLustre[creation-timestamp]
-
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.Allowed values are between 1 and 512,000.
Default: 1024
-
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.Must be of the format "s3://{bucketName}/optional-prefix" and cannot exceed 900 characters.
Default: - no bucket is imported
-
getPerUnitStorageThroughput
Provisions the amount of read and write throughput for each 1 tebibyte (TiB) of file system storage capacity, in MB/s/TiB.Required with PERSISTENT_1 and PERSISTENT_2 deployment types.
Valid values:
- For PERSISTENT_1 SSD storage: 50, 100, 200 MB/s/TiB.
- For PERSISTENT_1 HDD storage: 12, 40 MB/s/TiB.
- For PERSISTENT_2 SSD storage: 125, 250, 500, 1000 MB/s/TiB.
Default: - no default, conditionally required for PERSISTENT_1 and PERSISTENT_2 deployment type
-
getWeeklyMaintenanceStartTime
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.
Default: - no preference
-
builder
- Returns:
- a
LustreConfiguration.Builder
ofLustreConfiguration
-