AWS::EFS::AccessPoint RootDirectory
Specifies the directory on the Amazon EFS file system that the access point
provides access to. The access point exposes the specified file system path as the root
directory of your file system to applications using the access point. NFS clients using the
access point can only access data in the access point's RootDirectory
and its
subdirectories.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "CreationInfo" :
CreationInfo
, "Path" :String
}
YAML
CreationInfo:
CreationInfo
Path:String
Properties
CreationInfo
-
(Optional) Specifies the POSIX IDs and permissions to apply to the access point's
RootDirectory
. If theRootDirectory
>Path
specified does not exist, EFS creates the root directory using theCreationInfo
settings when a client connects to an access point. When specifying theCreationInfo
, you must provide values for all properties.Important
If you do not provide
CreationInfo
and the specifiedRootDirectory
>Path
does not exist, attempts to mount the file system using the access point will fail.Required: No
Type: CreationInfo
Update requires: Replacement
Path
-
Specifies the path on the EFS file system to expose as the root directory to NFS clients using the access point to access the EFS file system. A path can have up to four subdirectories. If the specified path does not exist, you are required to provide the
CreationInfo
.Required: No
Type: String
Minimum:
1
Maximum:
100
Update requires: Replacement