Show / Hide Table of Contents

Interface IFileSystem

Represents an Amazon EFS file system.

Inherited Members
IFileSystemRef.FileSystemRef
IConnectable.Connections
IResourceWithPolicyV2.AddToResourcePolicy(PolicyStatement)
IResource.ApplyRemovalPolicy(RemovalPolicy)
IResource.Stack
IEnvironmentAware.Env
Namespace: Amazon.CDK.AWS.EFS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IFileSystem : IFileSystemRef, IConnectable, IResourceWithPolicy, IResourceWithPolicyV2, IResource, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Interface IFileSystem Inherits IFileSystemRef, IConnectable, IResourceWithPolicy, IResourceWithPolicyV2, IResource, IConstruct, IDependable, IEnvironmentAware

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, params 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

string

Remarks

Attribute: true

FileSystemId

The ID of the file system, assigned by Amazon EFS.

string FileSystemId { get; }
Property Value

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

IDependable

Methods

Grant(IGrantable, params 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 string[]
Returns

Grant

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

Grant

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

Grant

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

Grant

Back to top Generated by DocFX