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.103.1 (build bef2dea)",
date="2024-10-05T03:43:43.940Z")
@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:
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.fsx.IFileSystem
IFileSystem.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default
-
Constructor Summary
ModifierConstructorDescriptionprotected
LustreFileSystem
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
LustreFileSystem
(software.amazon.jsii.JsiiObjectRef objRef) LustreFileSystem
(software.constructs.Construct scope, String id, LustreFileSystemProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IFileSystem
fromLustreFileSystemAttributes
(software.constructs.Construct scope, String id, FileSystemAttributes attrs) Import an existing FSx for Lustre file system from the given properties.The security groups/rules used to allow network connections to the file system.The DNS name assigned to this file system.The ID that AWS assigns to the file system.The mount name of the file system, generated by FSx.Methods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResource
Methods inherited from class software.constructs.Construct
getNode, isConstruct, toString
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.constructs.IConstruct
getNode
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
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
The security groups/rules used to allow network connections to the file system.- Specified by:
getConnections
in interfaceIConnectable
- Specified by:
getConnections
in classFileSystemBase
-
getDnsName
The DNS name assigned to this file system.- Specified by:
getDnsName
in classFileSystemBase
-
getFileSystemId
The ID that AWS assigns to the file system.- Specified by:
getFileSystemId
in interfaceIFileSystem
- Specified by:
getFileSystemId
in classFileSystemBase
-
getMountName
The mount name of the file system, generated by FSx.
-