Interface EfsFileSystemLocationProps

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

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-24T21:00:27.026Z") @Stability(Stable) public interface EfsFileSystemLocationProps extends software.amazon.jsii.JsiiSerializable
Construction properties for EfsFileSystemLocation.

Example:

 Project.Builder.create(this, "MyProject")
         .buildSpec(BuildSpec.fromObject(Map.of(
                 "version", "0.2")))
         .fileSystemLocations(List.of(FileSystemLocation.efs(EfsFileSystemLocationProps.builder()
                 .identifier("myidentifier2")
                 .location("myclodation.mydnsroot.com:/loc")
                 .mountPoint("/media")
                 .mountOptions("opts")
                 .build())))
         .build();
 
  • Method Details

    • getIdentifier

      @Stability(Stable) @NotNull String getIdentifier()
      The name used to access a file system created by Amazon EFS.
    • getLocation

      @Stability(Stable) @NotNull String getLocation()
      A string that specifies the location of the file system, like Amazon EFS.

      This value looks like fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory.

    • getMountPoint

      @Stability(Stable) @NotNull String getMountPoint()
      The location in the container where you mount the file system.
    • getMountOptions

      @Stability(Stable) @Nullable default String getMountOptions()
      The mount options for a file system such as Amazon EFS.

      Default: 'nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2'.

    • builder

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