Interface CfnFileSystem.FileSystemProtectionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFileSystem.FileSystemProtectionProperty.Jsii$Proxy
- Enclosing class:
CfnFileSystem
@Stability(Stable)
public static interface CfnFileSystem.FileSystemProtectionProperty
extends software.amazon.jsii.JsiiSerializable
Describes the protection on the file system.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.efs.*; FileSystemProtectionProperty fileSystemProtectionProperty = FileSystemProtectionProperty.builder() .replicationOverwriteProtection("replicationOverwriteProtection") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnFileSystem.FileSystemProtectionProperty
static final class
An implementation forCfnFileSystem.FileSystemProtectionProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getReplicationOverwriteProtection
The status of the file system's replication overwrite protection.ENABLED
– The file system cannot be used as the destination file system in a replication configuration. The file system is writeable. Replication overwrite protection isENABLED
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.
- See Also:
-
builder
-