public static interface CfnAccessPoint.RootDirectoryProperty
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 it's subdirectories.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.efs.*; RootDirectoryProperty rootDirectoryProperty = RootDirectoryProperty.builder() .creationInfo(CreationInfoProperty.builder() .ownerGid("ownerGid") .ownerUid("ownerUid") .permissions("permissions") .build()) .path("path") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnAccessPoint.RootDirectoryProperty.Builder
A builder for
CfnAccessPoint.RootDirectoryProperty |
static class |
CfnAccessPoint.RootDirectoryProperty.Jsii$Proxy
An implementation for
CfnAccessPoint.RootDirectoryProperty |
Modifier and Type | Method and Description |
---|---|
static CfnAccessPoint.RootDirectoryProperty.Builder |
builder() |
default java.lang.Object |
getCreationInfo()
(Optional) Specifies the POSIX IDs and permissions to apply to the access point's `RootDirectory` .
|
default java.lang.String |
getPath()
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.
|
default java.lang.Object getCreationInfo()
If the RootDirectory
> Path
specified does not exist, EFS creates the root directory using the CreationInfo
settings when a client connects to an access point. When specifying the CreationInfo
, you must provide values for all properties.
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.
default java.lang.String getPath()
A path can have up to four subdirectories. If the specified path does not exist, you are required to provide the CreationInfo
.
static CfnAccessPoint.RootDirectoryProperty.Builder builder()