interface IMountableLinuxFilesystem
| Language | Type name |
|---|---|
Python | aws_rfdk.IMountableLinuxFilesystem |
TypeScript (source) | aws-rfdk » IMountableLinuxFilesystem |
Implemented by
Mountable, Mountable, Mountable
A filesystem that can be mounted onto a Linux system.
Methods
| Name | Description |
|---|---|
| mount | Mount the filesystem to the given instance at instance startup. |
| uses | Returns whether the mounted file-system evaluates the UID/GID of the system user accessing the file-system. |
mountToLinuxInstance(target, mount)
public mountToLinuxInstance(target: IMountingInstance, mount: LinuxMountPointProps): void
Parameters
- target
IMounting— Target instance to mount the filesystem to.Instance - mount
Linux— The directory, or drive letter, to mount the filesystem to.Mount Point Props
Mount the filesystem to the given instance at instance startup.
This is accomplished by adding scripting to the UserData of the instance to mount the filesystem on startup. If required, the instance's security group is granted ingress to the filesystem's security group on the required ports.
usesUserPosixPermissions()
public usesUserPosixPermissions(): boolean
Returns
boolean
Returns whether the mounted file-system evaluates the UID/GID of the system user accessing the file-system.
Some network file-systems provide features to fix a UID/GID for all access to the mounted file-system and ignore the system user accessing the file. If this is the case, an implementing class must indicate this in the return value.

Python
TypeScript (