enum ReplicationOverwriteProtection
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EFS.ReplicationOverwriteProtection |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsefs#ReplicationOverwriteProtection |
![]() | software.amazon.awscdk.services.efs.ReplicationOverwriteProtection |
![]() | aws_cdk.aws_efs.ReplicationOverwriteProtection |
![]() | aws-cdk-lib » aws_efs » ReplicationOverwriteProtection |
The status of the file system's replication overwrite protection.
Example
const fileSystem = new efs.FileSystem(this, 'MyEfsFileSystem', {
vpc: new ec2.Vpc(this, 'VPC'),
lifecyclePolicy: efs.LifecyclePolicy.AFTER_14_DAYS, // files are not transitioned to infrequent access (IA) storage by default
performanceMode: efs.PerformanceMode.GENERAL_PURPOSE, // default
outOfInfrequentAccessPolicy: efs.OutOfInfrequentAccessPolicy.AFTER_1_ACCESS, // files are not transitioned back from (infrequent access) IA to primary storage by default
transitionToArchivePolicy: efs.LifecyclePolicy.AFTER_14_DAYS, // files are not transitioned to Archive by default
replicationOverwriteProtection: efs.ReplicationOverwriteProtection.ENABLED, // Set to `DISABLED` if you want to create a read-only file system for use as a replication destination
});
Members
Name | Description |
---|---|
ENABLED | Enable the filesystem's replication overwrite protection. |
DISABLED | Disable the filesystem's replication overwrite protection. |
ENABLED
Enable the filesystem's replication overwrite protection.
DISABLED
Disable the filesystem's replication overwrite protection.