Class LustreFileSystem
The FSx for Lustre File System implementation of IFileSystem.
Inherited Members
Namespace: Amazon.CDK.AWS.FSx
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class LustreFileSystem : FileSystemBase, IResource, IFileSystem, IConnectable
Syntax (vb)
Public Class LustreFileSystem
Inherits FileSystemBase
Implements IResource, IFileSystem, IConnectable
Remarks
See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-filesystem.html
Resource: AWS::FSx::FileSystem
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.S3;
Vpc vpc;
Bucket bucket;
IDictionary<string, object> lustreConfiguration = new Dictionary<string, object> {
{ "deploymentType", LustreDeploymentType.SCRATCH_2 },
{ "exportPath", bucket.S3UrlForObject() },
{ "importPath", bucket.S3UrlForObject() },
{ "autoImportPolicy", LustreAutoImportPolicy.NEW_CHANGED_DELETED }
};
var fs = new LustreFileSystem(this, "FsxLustreFileSystem", new LustreFileSystemProps {
Vpc = vpc,
VpcSubnet = vpc.PrivateSubnets[0],
StorageCapacityGiB = 1200,
LustreConfiguration = lustreConfiguration
});
Synopsis
Constructors
LustreFileSystem(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
LustreFileSystem(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
LustreFileSystem(Construct, String, ILustreFileSystemProps) |
Properties
Connections | The security groups/rules used to allow network connections to the file system. |
DnsName | The DNS name assigned to this file system. |
FileSystemId | The ID that AWS assigns to the file system. |
MountName | The mount name of the file system, generated by FSx. |
Methods
FromLustreFileSystemAttributes(Construct, String, IFileSystemAttributes) | Import an existing FSx for Lustre file system from the given properties. |
Constructors
LustreFileSystem(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected LustreFileSystem(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
LustreFileSystem(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected LustreFileSystem(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
LustreFileSystem(Construct, String, ILustreFileSystemProps)
public LustreFileSystem(Construct scope, string id, ILustreFileSystemProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props ILustreFileSystemProps
Properties
Connections
The security groups/rules used to allow network connections to the file system.
public override Connections_ Connections { get; }
Property Value
Overrides
DnsName
The DNS name assigned to this file system.
public override string DnsName { get; }
Property Value
System.String
Overrides
FileSystemId
The ID that AWS assigns to the file system.
public override string FileSystemId { get; }
Property Value
System.String
Overrides
MountName
The mount name of the file system, generated by FSx.
public virtual string MountName { get; }
Property Value
System.String
Remarks
Attribute: LustreMountName
Methods
FromLustreFileSystemAttributes(Construct, String, IFileSystemAttributes)
Import an existing FSx for Lustre file system from the given properties.
public static IFileSystem FromLustreFileSystemAttributes(Construct scope, string id, IFileSystemAttributes attrs)
Parameters
- scope Constructs.Construct
- id System.String
- attrs IFileSystemAttributes
Returns