Skip to content

Commit

Permalink
feat(fsx): support HDD storage type for a Lustre file systems (aws#30207
Browse files Browse the repository at this point in the history
)

### Issue # (if applicable)

Closes aws#30206.

### Reason for this change

AWS FSx for Luster file systems supports HDD storage type and LusterFileSystem construct cannot configure it.

### Description of changes

- Add `storageType` for `fsx.FileStstemProps`
  - For future expansion, `storageType` is added not to `LusterFileSystemProps` but to `FileSystemProps` because HDD storage is also supported by Windows file systems.
- Update the validation of the props below to address the HDD storage type.
  - `LusterConfiguration.perUnitStorageThroughput`
  - `FileSystemProps.storageCapacityGiB`

### Description of how you validated changes

Added both unit and integ tests.

### Checklist
- [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
badmintoncryer authored Oct 10, 2024
1 parent 361df5f commit 2d9aefb
Show file tree
Hide file tree
Showing 13 changed files with 3,034 additions and 23 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2d9aefb

Please sign in to comment.