Enum LustreDeploymentType

java.lang.Object
java.lang.Enum<LustreDeploymentType>
software.amazon.awscdk.services.fsx.LustreDeploymentType
All Implemented Interfaces:
Serializable, Comparable<LustreDeploymentType>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-24T21:00:30.400Z") @Stability(Stable) public enum LustreDeploymentType extends Enum<LustreDeploymentType>
The different kinds of file system deployments used by Lustre.

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();
 
  • Enum Constant Details

    • SCRATCH_1

      @Stability(Stable) public static final LustreDeploymentType SCRATCH_1
      Original type for shorter term data processing.

      Data is not replicated and does not persist on server fail.

    • SCRATCH_2

      @Stability(Stable) public static final LustreDeploymentType SCRATCH_2
      Newer type for shorter term data processing.

      Data is not replicated and does not persist on server fail. Provides better support for spiky workloads.

    • PERSISTENT_1

      @Stability(Stable) public static final LustreDeploymentType PERSISTENT_1
      Long term storage.

      Data is replicated and file servers are replaced if they fail.

    • PERSISTENT_2

      @Stability(Stable) public static final LustreDeploymentType PERSISTENT_2
      Newer type of long term storage with higher throughput tiers.

      Data is replicated and file servers are replaced if they fail.

  • Method Details

    • values

      public static LustreDeploymentType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static LustreDeploymentType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null