Skip to content

efs: support for FileSystemProtection property for file system #28912

@badmintoncryer

Description

@badmintoncryer

Describe the feature

There is FileSystemProtection.ReplicationOverwriteProtection parameter for replication configuration in the EFS file system. CloudFormation supports this setting, so I want to enable its configuration through the L2 constructor.

Use Case

When creating a replication destination filesystem, it is necessary to set the ReplicationOverwriteProtection configuration to DISABLED, but this cannot be executed from the L2 construct.

Proposed Solution

Since this parameter can only take two values, 'ENABLED' or 'DISABLED', I plan to convert a boolean type argument into the appropriate string within the L2 construct.

new FileSystem(stack, 'EfsFileSystem', {
    vpc,
    replicationOverwriteProtection: false, // 'DISABLED'
  });

Other Information

No response

Acknowledgements

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

CDK version used

2.123.0

Environment details (OS name and version, etc.)

irrelevant

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-efsRelated to Amazon Elastic File Systemeffort/mediumMedium work item – several days of effortfeature-requestA feature should be added or improved.p2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions