LustreFileSystemArgs constructor
- Input<
String?> ? autoImportPolicy, - Input<
int?> ? automaticBackupRetentionDays, - Input<
String?> ? backupId, - Input<
bool?> ? copyTagsToBackups, - Input<
String?> ? dailyAutomaticBackupStartTime, - Input<
String?> ? dataCompressionType, - Input<
LustreFileSystemDataReadCacheConfiguration?> ? dataReadCacheConfiguration, - Input<
String?> ? deploymentType, - Input<
String?> ? driveCacheType, - Input<
bool?> ? efaEnabled, - Input<
String?> ? exportPath, - Input<
String?> ? fileSystemTypeVersion, - Input<
Map< ? finalBackupTags,String, String> ?> - Input<
String?> ? importPath, - Input<
int?> ? importedFileChunkSize, - Input<
String?> ? kmsKeyId, - Input<
LustreFileSystemLogConfiguration?> ? logConfiguration, - Input<
LustreFileSystemMetadataConfiguration?> ? metadataConfiguration, - Input<
int?> ? perUnitStorageThroughput, - Input<
String?> ? region, - Input<
LustreFileSystemRootSquashConfiguration?> ? rootSquashConfiguration, - Input<
List< ? securityGroupIds,String> ?> - Input<
bool?> ? skipFinalBackup, - Input<
int?> ? storageCapacity, - Input<
String?> ? storageType, - required Input<
String> subnetIds, - Input<
Map< ? tags,String, String> ?> - Input<
int?> ? throughputCapacity, - Input<
String?> ? weeklyMaintenanceStartTime,
Creates a new LustreFileSystemArgs.
autoImportPolicy How Amazon FSx keeps your file and directory listings up to date as you add or modify objects in your linked S3 bucket. see Auto Import Data Repo for more details. Only supported on PERSISTENT_1 deployment types.
automaticBackupRetentionDays Number of days to retain automatic backups. Setting this to 0 disables automatic backups. You can retain automatic backups for a maximum of 90 days. only valid for PERSISTENT_1 and PERSISTENT_2 deployment_type.
backupId ID of the source backup to create the filesystem from.
copyTagsToBackups Whether to copy tags for the file system to backups. Applicable for PERSISTENT_1 and PERSISTENT_2 deployment_type. The default value is false.
dailyAutomaticBackupStartTime Recurring daily time, in the format HH:MM. HH is the zero-padded hour of the day (0-23), and MM is the zero-padded minute of the hour. For example, 05:00 specifies 5 AM daily. only valid for PERSISTENT_1 and PERSISTENT_2 deployment_type. Requires automaticBackupRetentionDays to be set.
dataCompressionType Sets the data compression configuration for the file system. Valid values are LZ4 and NONE. Default value is NONE. Unsetting this value reverts the compression type back to NONE.
dataReadCacheConfiguration Optional.
deploymentType Filesystem deployment type. One of: SCRATCH_1, SCRATCH_2, PERSISTENT_1, PERSISTENT_2.
driveCacheType Type of drive cache used by PERSISTENT_1 filesystems that are provisioned with HDD storage_type. Required for HDD storage_type, set to either READ or NONE.
efaEnabled Adds support for Elastic Fabric Adapter (EFA) and GPUDirect Storage (GDS) to Lustre. This must be set at creation. If set this cannot be changed and this prevents changes to perUnitStorageThroughput. This is only supported when deploymentType is set to PERSISTENT_2, metadataConfiguration is used, and an EFA-enabled security group is attached.
exportPath S3 URI (with optional prefix) where the root of your Amazon FSx file system is exported. Can only be specified with importPath argument and the path must use the same Amazon S3 bucket as specified in importPath. Set equal to importPath to overwrite files on export. Defaults to s3://{IMPORT BUCKET}/FSxLustre{CREATION TIMESTAMP}. Only supported on PERSISTENT_1 deployment types.
fileSystemTypeVersion Sets the Lustre version for the file system. Valid values are 2.10, 2.12, and 2.15. When creating a file system, 2.10 is valid for SCRATCH_1, SCRATCH_2, and PERSISTENT_1 deployment types; 2.12 and 2.15 are valid for all deployment types. Changing this value to a higher version triggers an in-place upgrade. Changing to a lower version forces resource replacement (destroy and recreate).
finalBackupTags Map of tags to apply to the file system's final backup.
importPath S3 URI (with optional prefix) that you're using as the data repository for your FSx for Lustre file system. For example, s3://example-bucket/optional-prefix/. Only supported on PERSISTENT_1 deployment types.
importedFileChunkSize 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. Can only be specified with importPath argument. Defaults to 1024. Minimum of 1 and maximum of 512000. Only supported on PERSISTENT_1 deployment types.
kmsKeyId ARN for the KMS Key to encrypt the file system at rest, applicable for PERSISTENT_1 and PERSISTENT_2 deployment_type. Defaults to an AWS managed KMS Key.
logConfiguration Lustre logging configuration used when creating an Amazon FSx for Lustre file system. When logging is enabled, Lustre logs error and warning events for data repositories associated with your file system to Amazon CloudWatch Logs. See logConfiguration Block for details.
metadataConfiguration Lustre metadata configuration used when creating an Amazon FSx for Lustre file system. This can be used to specify a user provisioned metadata scale. This is only supported when deploymentType is set to PERSISTENT_2. See metadataConfiguration Block for details.
perUnitStorageThroughput Amount of read and write throughput for each 1 tebibyte of storage, in MB/s/TiB, required for the PERSISTENT_1 and PERSISTENT_2 deployment_type. Valid values for PERSISTENT_1 deploymentType and SSD storageType are 50, 100, 200. Valid values for PERSISTENT_1 deploymentType and HDD storageType are 12, 40. Valid values for PERSISTENT_2 deploymentType and SSD storageType are 125, 250, 500, 1000.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
rootSquashConfiguration Lustre root squash configuration used when creating an Amazon FSx for Lustre file system. When enabled, root squash restricts root-level access from clients that try to access your file system as a root user. See rootSquashConfiguration Block for details.
securityGroupIds List of IDs for the security groups that apply to the specified network interfaces created for file system access. These security groups will apply to all network interfaces.
skipFinalBackup When enabled, will skip the default final backup taken when the file system is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to true.
storageCapacity Storage capacity (GiB) of the file system. Minimum of 1200. See more details at Allowed values for Fsx storage capacity. Update is allowed only for SCRATCH_2, PERSISTENT_1 and PERSISTENT_2 deployment types, See more details at Fsx Storage Capacity Update. Required when not creating filesystem for a backup.
storageType Filesystem storage type. One of SSD, HDD or INTELLIGENT_TIERING, defaults to SSD. HDD is only supported on PERSISTENT_1 deployment types. INTELLIGENT_TIERING requires dataReadCacheConfiguration and metadataConfiguration to be set and is only supported for PERSISTENT_2 deployment types.
subnetIds List of IDs for the subnets that the file system will be accessible from. File systems currently support only one subnet. The file server is also launched in that subnet's Availability Zone.
tags Map of tags to assign to the file system. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
throughputCapacity Throughput in MBps required for the INTELLIGENT_TIERING storage type. Must be 4000 or multiples of 4000.
weeklyMaintenanceStartTime Preferred start time (in d:HH:MM format) to perform weekly maintenance, in the UTC time zone.
Implementation
const LustreFileSystemArgs({
this.autoImportPolicy,
this.automaticBackupRetentionDays,
this.backupId,
this.copyTagsToBackups,
this.dailyAutomaticBackupStartTime,
this.dataCompressionType,
this.dataReadCacheConfiguration,
this.deploymentType,
this.driveCacheType,
this.efaEnabled,
this.exportPath,
this.fileSystemTypeVersion,
this.finalBackupTags,
this.importPath,
this.importedFileChunkSize,
this.kmsKeyId,
this.logConfiguration,
this.metadataConfiguration,
this.perUnitStorageThroughput,
this.region,
this.rootSquashConfiguration,
this.securityGroupIds,
this.skipFinalBackup,
this.storageCapacity,
this.storageType,
required this.subnetIds,
this.tags,
this.throughputCapacity,
this.weeklyMaintenanceStartTime,
});