Interface LustreFileSystemProps
- All Superinterfaces:
FileSystemProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LustreFileSystemProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.93.0 (build 1706ca5)",
date="2024-01-03T18:29:27.016Z")
@Stability(Stable)
public interface LustreFileSystemProps
extends software.amazon.jsii.JsiiSerializable, FileSystemProps
Properties specific to the Lustre version of the FSx file system.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forLustreFileSystemPropsstatic final classAn implementation forLustreFileSystemProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Additional configuration for FSx specific to Lustre.The subnet that the file system will be accessible from.Methods inherited from interface software.amazon.awscdk.services.fsx.FileSystemProps
getBackupId, getKmsKey, getRemovalPolicy, getSecurityGroup, getStorageCapacityGiB, getVpcMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLustreConfiguration
Additional configuration for FSx specific to Lustre. -
getVpcSubnet
The subnet that the file system will be accessible from. -
builder
- Returns:
- a
LustreFileSystemProps.BuilderofLustreFileSystemProps
-