Skip to content
v2.278.0

StorageType Enum ​

The storage type for the file system.

Example ​

ts
declare const vpc: ec2.Vpc;

const fileSystem = new fsx.LustreFileSystem(this, 'FsxLustreFileSystem', {
  lustreConfiguration: { deploymentType: fsx.LustreDeploymentType.PERSISTENT_1 },
  storageCapacityGiB: 1200,
  vpc,
  vpcSubnet: vpc.privateSubnets[0],
  storageType: fsx.StorageType.HDD,
});
python
# vpc: ec2.Vpc


file_system = fsx.LustreFileSystem(self, "FsxLustreFileSystem",
    lustre_configuration=fsx.LustreConfiguration(deployment_type=fsx.LustreDeploymentType.PERSISTENT_1),
    storage_capacity_gi_b=1200,
    vpc=vpc,
    vpc_subnet=vpc.private_subnets[0],
    storage_type=fsx.StorageType.HDD
)
java
Vpc vpc;


LustreFileSystem fileSystem = LustreFileSystem.Builder.create(this, "FsxLustreFileSystem")
        .lustreConfiguration(LustreConfiguration.builder().deploymentType(LustreDeploymentType.PERSISTENT_1).build())
        .storageCapacityGiB(1200)
        .vpc(vpc)
        .vpcSubnet(vpc.getPrivateSubnets()[0])
        .storageType(StorageType.HDD)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
Vpc vpc;


var fileSystem = new LustreFileSystem(this, "FsxLustreFileSystem", new LustreFileSystemProps {
    LustreConfiguration = new LustreConfiguration { DeploymentType = LustreDeploymentType.PERSISTENT_1 },
    StorageCapacityGiB = 1200,
    Vpc = vpc,
    VpcSubnet = vpc.PrivateSubnets[0],
    StorageType = StorageType.HDD
});
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_PERSISTENT_1,
	},
	StorageCapacityGiB: jsii.Number(1200),
	Vpc: Vpc,
	VpcSubnet: vpc.PrivateSubnets[jsii.Number(0)],
	StorageType: fsx.StorageType_HDD,
})

Members ​

MemberDescription
SSDSolid State Drive storage.
HDDHard Disk Drive storage.
INTELLIGENT_TIERINGIntelligent Tiering storage.

Referenced by ​