Skip to content

aws-fsx: L2 Constructs for DataRepositoryAssociation #34649

Description

@AlJohri

Describe the feature

Currently we have an L2 construct for LustreFileSystem but we are missing the L2 constructs for DataRepositoryAssociation (CfnDataRepositoryAssociation).

Use Case

Use case is to create an FSx backed by an S3 bucket using a DRA. Currently its confusing since the LustreFileSystem L2 construct accepts the LustreConfiguration which defines an importPath and exportPath but its not clear (or verified via the type system) that this cannot be used in conjunction with the DRA.

Docs: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-fsx-filesystem-lustreconfiguration.html

This parameter is not supported for file systems with a data repository association.

Proposed Solution

Create an L2 construct for DataRepositoryAssociation which validates that importPath/exportPath is not set on the LustreFileSystem. And make the documentation clear on how to set up a LustreFileSystem backed by an S3 bucket.

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

AWS CDK Library version (aws-cdk-lib)

2.191.0

AWS CDK CLI version

2.1011.0 (build cd4ec06)

Environment details (OS name and version, etc.)

Amazon Linux 2

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions