FileSystemTypeVersion Enum
The Lustre version for the file system.
| Source | aws-fsx/lib/lustre-file-system.ts |
|---|---|
| Type last changed |
Example
ts
declare const vpc: ec2.Vpc;
const fileSystem = new fsx.LustreFileSystem(this, 'FsxLustreFileSystem', {
lustreConfiguration: { deploymentType: fsx.LustreDeploymentType.SCRATCH_2 },
storageCapacityGiB: 1200,
vpc,
vpcSubnet: vpc.privateSubnets[0],
fileSystemTypeVersion: fsx.FileSystemTypeVersion.V_2_15,
});
python
# vpc: ec2.Vpc
file_system = fsx.LustreFileSystem(self, "FsxLustreFileSystem",
lustre_configuration=fsx.LustreConfiguration(deployment_type=fsx.LustreDeploymentType.SCRATCH_2),
storage_capacity_gi_b=1200,
vpc=vpc,
vpc_subnet=vpc.private_subnets[0],
file_system_type_version=fsx.FileSystemTypeVersion.V_2_15
)
java
Vpc vpc;
LustreFileSystem fileSystem = LustreFileSystem.Builder.create(this, "FsxLustreFileSystem")
.lustreConfiguration(LustreConfiguration.builder().deploymentType(LustreDeploymentType.SCRATCH_2).build())
.storageCapacityGiB(1200)
.vpc(vpc)
.vpcSubnet(vpc.getPrivateSubnets()[0])
.fileSystemTypeVersion(FileSystemTypeVersion.V_2_15)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
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],
FileSystemTypeVersion = FileSystemTypeVersion.V_2_15
});
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
var vpc Vpc
fileSystem := fsx.NewLustreFileSystem(this, jsii.String("FsxLustreFileSystem"), &LustreFileSystemProps{
LustreConfiguration: &LustreConfiguration{
DeploymentType: fsx.LustreDeploymentType_SCRATCH_2,
},
StorageCapacityGiB: jsii.Number(1200),
Vpc: Vpc,
VpcSubnet: vpc.PrivateSubnets[jsii.Number(0)],
FileSystemTypeVersion: fsx.FileSystemTypeVersion_V_2_15,
})
Members
| Member | Description |
|---|---|
V_2_10 | Version 2.10. |
V_2_12 | Version 2.12. |
V_2_15 | Version 2.15. |
Referenced by
LustreFileSystemProps.fileSystemTypeVersionfile_system_type_versionfileSystemTypeVersionFileSystemTypeVersionFileSystemTypeVersion