Interface IFileSystem
- All Superinterfaces:
IConnectable,software.constructs.IConstruct,software.constructs.IDependable,IEnvironmentAware,IResource,IResourceWithPolicy,IResourceWithPolicyV2,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IFileSystem.Jsii$Default
- All Known Implementing Classes:
FileSystem,IFileSystem.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T10:47:20.130Z")
@Stability(Stable)
public interface IFileSystem
extends software.amazon.jsii.JsiiSerializable, IConnectable, IResourceWithPolicy
Represents an Amazon EFS file system.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forIFileSystem.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the file system.The ID of the file system, assigned by Amazon EFS.software.constructs.IDependableDependable that can be depended upon to ensure the mount targets of the filesystem are ready.grant(IGrantable grantee, String... actions) Grant the actions defined in actions to the given grantee on this File System resource.grantRead(IGrantable grantee) Grant read permissions for this file system to an IAM principal.grantReadWrite(IGrantable grantee) Grant read and write permissions for this file system to an IAM principal.grantRootAccess(IGrantable grantee) As root user, grant read and write permissions for this file system to an IAM principal.Methods inherited from interface software.amazon.awscdk.services.ec2.IConnectable
getConnectionsMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.awscdk.services.iam.IResourceWithPolicy
getEnvMethods inherited from interface software.amazon.awscdk.services.iam.IResourceWithPolicyV2
addToResourcePolicyMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFileSystemArn
The ARN of the file system. -
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
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
Grant read permissions for this file system to an IAM principal.- Parameters:
grantee- The principal to grant read to. This parameter is required.
-
grantReadWrite
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
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.
-