Interface OneZoneFileSystemProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
OneZoneFileSystemProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-08-15T01:32:47.854Z") @Stability(Stable) public interface OneZoneFileSystemProps extends software.amazon.jsii.JsiiSerializable
Properties for configuring ReplicationConfiguration to replicate to a new One Zone 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.*;
 import software.amazon.awscdk.services.kms.*;
 Key key;
 OneZoneFileSystemProps oneZoneFileSystemProps = OneZoneFileSystemProps.builder()
         .availabilityZone("availabilityZone")
         .region("region")
         // the properties below are optional
         .kmsKey(key)
         .build();
 
  • Method Details

    • getAvailabilityZone

      @Stability(Stable) @NotNull String getAvailabilityZone()
      The availability zone name of the destination file system.

      One zone file system is used as the destination file system when this property is set.

    • getRegion

      @Stability(Stable) @NotNull String getRegion()
      The AWS Region in which the destination file system is located.
    • getKmsKey

      @Stability(Stable) @Nullable default IKey getKmsKey()
      AWS KMS key used to protect the encrypted file system.

      Default: - use service-managed KMS key for Amazon EFS

    • builder

      @Stability(Stable) static OneZoneFileSystemProps.Builder builder()
      Returns:
      a OneZoneFileSystemProps.Builder of OneZoneFileSystemProps