Skip to content
v2.273.0

FileSystemProtectionProperty Struct ​

Describes the protection on the file system.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_efs as efs } from 'aws-cdk-lib';
const fileSystemProtectionProperty: efs.CfnFileSystem.FileSystemProtectionProperty = {
  replicationOverwriteProtection: 'replicationOverwriteProtection',
};

Properties ​

replicationOverwriteProtectionstringreplication_overwrite_protectionstrreplicationOverwriteProtectionStringReplicationOverwriteProtectionstringReplicationOverwriteProtection*string#
The status of the file system's replication overwrite protection.
notes
  • ENABLED – The file system cannot be used as the destination file system in a replication configuration. The file system is writeable. Replication overwrite protection is ENABLED by default.
  • DISABLED – The file system can be used as the destination file system in a replication configuration. The file system is read-only and can only be modified by EFS replication.
  • REPLICATING – The file system is being used as the destination file system in a replication configuration. The file system is read-only and is modified only by EFS replication.

If the replication configuration is deleted, the file system's replication overwrite protection is re-enabled, the file system becomes writeable.