Class LustreFileSystemProps
Properties specific to the Lustre version of the FSx file system.
Inheritance
Namespace: Amazon.CDK.AWS.FSx
Assembly: Amazon.CDK.AWS.FSx.dll
Syntax (csharp)
public class LustreFileSystemProps : Object, ILustreFileSystemProps, IFileSystemProps
Syntax (vb)
Public Class LustreFileSystemProps
Inherits Object
Implements ILustreFileSystemProps, IFileSystemProps
Remarks
ExampleMetadata: infused
Examples
Vpc vpc;
var fileSystem = new LustreFileSystem(this, "FsxLustreFileSystem", new LustreFileSystemProps {
LustreConfiguration = new LustreConfiguration { DeploymentType = LustreDeploymentType.SCRATCH_2 },
StorageCapacityGiB = 1200,
Vpc = vpc,
VpcSubnet = vpc.PrivateSubnets[0]
});
Synopsis
Constructors
LustreFileSystemProps() |
Properties
BackupId | The ID of the backup. |
KmsKey | The KMS key used for encryption to protect your data at rest. |
LustreConfiguration | Additional configuration for FSx specific to Lustre. |
RemovalPolicy | Policy to apply when the file system is removed from the stack. |
SecurityGroup | Security Group to assign to this file system. |
StorageCapacityGiB | The storage capacity of the file system being created. |
Vpc | The VPC to launch the file system in. |
VpcSubnet | The subnet that the file system will be accessible from. |
Constructors
LustreFileSystemProps()
public LustreFileSystemProps()
Properties
BackupId
The ID of the backup.
public string BackupId { get; set; }
Property Value
System.String
Remarks
Specifies the backup to use if you're creating a file system from an existing backup.
Default: - no backup will be used.
KmsKey
The KMS key used for encryption to protect your data at rest.
public IKey KmsKey { get; set; }
Property Value
Remarks
Default: - the aws/fsx default KMS key for the AWS account being deployed into.
LustreConfiguration
Additional configuration for FSx specific to Lustre.
public ILustreConfiguration LustreConfiguration { get; set; }
Property Value
RemovalPolicy
Policy to apply when the file system is removed from the stack.
public Nullable<RemovalPolicy> RemovalPolicy { get; set; }
Property Value
System.Nullable<RemovalPolicy>
Remarks
Default: RemovalPolicy.RETAIN
SecurityGroup
Security Group to assign to this file system.
public ISecurityGroup SecurityGroup { get; set; }
Property Value
Remarks
Default: - creates new security group which allows all outbound traffic.
StorageCapacityGiB
The storage capacity of the file system being created.
public double StorageCapacityGiB { get; set; }
Property Value
System.Double
Remarks
For Windows file systems, valid values are 32 GiB to 65,536 GiB. For SCRATCH_1 deployment types, valid values are 1,200, 2,400, 3,600, then continuing in increments of 3,600 GiB. For SCRATCH_2 and PERSISTENT_1 types, valid values are 1,200, 2,400, then continuing in increments of 2,400 GiB.
Vpc
VpcSubnet
The subnet that the file system will be accessible from.
public ISubnet VpcSubnet { get; set; }
Property Value