Class LustreFileSystem

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.fsx.FileSystemBase
software.amazon.awscdk.services.fsx.LustreFileSystem
All Implemented Interfaces:
IResource, IConnectable, IFileSystem, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-22T22:42:52.232Z") @Stability(Stable) public class LustreFileSystem extends FileSystemBase
The FSx for Lustre File System implementation of IFileSystem.

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:
  • Constructor Details

    • LustreFileSystem

      protected LustreFileSystem(software.amazon.jsii.JsiiObjectRef objRef)
    • LustreFileSystem

      protected LustreFileSystem(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • LustreFileSystem

      @Stability(Stable) public LustreFileSystem(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull LustreFileSystemProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details

    • fromLustreFileSystemAttributes

      @Stability(Stable) @NotNull public static IFileSystem fromLustreFileSystemAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull FileSystemAttributes attrs)
      Import an existing FSx for Lustre file system from the given properties.

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      attrs - This parameter is required.
    • getConnections

      @Stability(Stable) @NotNull public Connections getConnections()
      The security groups/rules used to allow network connections to the file system.
      Specified by:
      getConnections in interface IConnectable
      Specified by:
      getConnections in class FileSystemBase
    • getDnsName

      @Stability(Stable) @NotNull public String getDnsName()
      The DNS name assigned to this file system.
      Specified by:
      getDnsName in class FileSystemBase
    • getFileSystemId

      @Stability(Stable) @NotNull public String getFileSystemId()
      The ID that AWS assigns to the file system.
      Specified by:
      getFileSystemId in interface IFileSystem
      Specified by:
      getFileSystemId in class FileSystemBase
    • getMountName

      @Stability(Stable) @NotNull public String getMountName()
      The mount name of the file system, generated by FSx.