IFileSystem

class aws_cdk.aws_efs.IFileSystem(*args, **kwds)

Bases: aws_cdk.aws_ec2.IConnectable, aws_cdk.core.IResource, typing_extensions.Protocol

Represents an Amazon EFS file system.

Methods

grant(grantee, *actions)

Grant the actions defined in actions to the given grantee on this File System resource.

Parameters
Return type

Grant

Attributes

connections

The network connections associated with this resource.

Return type

Connections

env

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.

Return type

ResourceEnvironment

file_system_arn

The ARN of the file system.

Attribute

true

Return type

str

file_system_id

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

Attribute

true

Return type

str

mount_targets_available

Dependable that can be depended upon to ensure the mount targets of the filesystem are ready.

Return type

IDependable

node

The construct tree node for this construct.

Return type

ConstructNode

stack

The stack in which this resource is defined.

Return type

Stack