Interface IFileSystem

All Superinterfaces:
IConnectable, software.constructs.IConstruct, software.constructs.IDependable, IResource, IResourceWithPolicy, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IFileSystem.Jsii$Default
All Known Implementing Classes:
FileSystem, IFileSystem.Jsii$Proxy

@Generated(value="jsii-pacmak/1.94.0 (build b380f01)", date="2024-02-23T02:06:32.105Z") @Stability(Stable) public interface IFileSystem extends software.amazon.jsii.JsiiSerializable, IConnectable, IResourceWithPolicy
Represents an Amazon EFS file system.
  • Method Details

    • getFileSystemArn

      @Stability(Stable) @NotNull String getFileSystemArn()
      The ARN of the file system.
    • getFileSystemId

      @Stability(Stable) @NotNull String getFileSystemId()
      The ID of the file system, assigned by Amazon EFS.
    • getMountTargetsAvailable

      @Stability(Stable) @NotNull software.constructs.IDependable getMountTargetsAvailable()
      Dependable that can be depended upon to ensure the mount targets of the filesystem are ready.
    • grant

      @Stability(Stable) @NotNull Grant grant(@NotNull IGrantable grantee, @NotNull @NotNull String... actions)
      Grant the actions defined in actions to the given grantee on this File System resource.

      Parameters:
      grantee - This parameter is required.
      actions - This parameter is required.
    • grantRead

      @Stability(Stable) @NotNull Grant grantRead(@NotNull IGrantable grantee)
      Grant read permissions for this file system to an IAM principal.

      Parameters:
      grantee - The principal to grant read to. This parameter is required.
    • grantReadWrite

      @Stability(Stable) @NotNull Grant grantReadWrite(@NotNull IGrantable grantee)
      Grant read and write permissions for this file system to an IAM principal.

      Parameters:
      grantee - The principal to grant read and write to. This parameter is required.
    • grantRootAccess

      @Stability(Stable) @NotNull Grant grantRootAccess(@NotNull IGrantable grantee)
      As root user, grant read and write permissions for this file system to an IAM principal.

      Parameters:
      grantee - The principal to grant root access to. This parameter is required.