rootDirectory
construct an aws.sdk.kotlin.services.efs.model.RootDirectory inside the given block
Specifies the directory on the EFS file system that the access point exposes as the root directory of your file system to NFS clients using the access point. The clients using the access point can only access the root directory and below. If the RootDirectory
Path
specified does not exist, Amazon EFS creates it and applies the CreationInfo
settings when a client connects to an access point. When specifying a RootDirectory
, you must provide the Path
, and the CreationInfo
.
Amazon EFS creates a root directory only if you have provided the CreationInfo: OwnUid, OwnGID, and permissions for the directory. If you do not provide this information, Amazon EFS does not create the root directory. If the root directory does not exist, attempts to mount using the access point will fail.