Interface IFileSystem
Represents an Amazon EFS file system.
Inherited Members
Namespace: Amazon.CDK.AWS.EFS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IFileSystem : IConnectable, IResourceWithPolicy, IResource
Syntax (vb)
Public Interface IFileSystem
Inherits IConnectable, IResourceWithPolicy, IResource, IConstruct, IDependable
Synopsis
Properties
FileSystemArn | The ARN of the file system. |
FileSystemId | The ID of the file system, assigned by Amazon EFS. |
MountTargetsAvailable | Dependable that can be depended upon to ensure the mount targets of the filesystem are ready. |
Methods
Grant(IGrantable, String[]) | Grant the actions defined in actions to the given grantee on this File System resource. |
GrantRead(IGrantable) | Grant read permissions for this file system to an IAM principal. |
GrantReadWrite(IGrantable) | Grant read and write permissions for this file system to an IAM principal. |
GrantRootAccess(IGrantable) | As root user, grant read and write permissions for this file system to an IAM principal. |
Properties
FileSystemArn
The ARN of the file system.
string FileSystemArn { get; }
Property Value
System.String
Remarks
Attribute: true
FileSystemId
The ID of the file system, assigned by Amazon EFS.
string FileSystemId { get; }
Property Value
System.String
Remarks
Attribute: true
MountTargetsAvailable
Dependable that can be depended upon to ensure the mount targets of the filesystem are ready.
IDependable MountTargetsAvailable { get; }
Property Value
Constructs.IDependable
Methods
Grant(IGrantable, String[])
Grant the actions defined in actions to the given grantee on this File System resource.
Grant Grant(IGrantable grantee, params string[] actions)
Parameters
- grantee IGrantable
- actions System.String[]
Returns
GrantRead(IGrantable)
Grant read permissions for this file system to an IAM principal.
Grant GrantRead(IGrantable grantee)
Parameters
- grantee IGrantable
The principal to grant read to.
Returns
GrantReadWrite(IGrantable)
Grant read and write permissions for this file system to an IAM principal.
Grant GrantReadWrite(IGrantable grantee)
Parameters
- grantee IGrantable
The principal to grant read and write to.
Returns
GrantRootAccess(IGrantable)
As root user, grant read and write permissions for this file system to an IAM principal.
Grant GrantRootAccess(IGrantable grantee)
Parameters
- grantee IGrantable
The principal to grant root access to.
Returns