@Stability(value=Experimental) public static final class AccessPoint.Builder extends Object implements software.amazon.jsii.Builder<AccessPoint>
AccessPoint
.Modifier and Type | Method and Description |
---|---|
AccessPoint |
build() |
static AccessPoint.Builder |
create(software.constructs.Construct scope,
String id) |
AccessPoint.Builder |
createAcl(Acl createAcl)
(experimental) Specifies the POSIX IDs and permissions to apply when creating the access point's root directory.
|
AccessPoint.Builder |
fileSystem(IFileSystem fileSystem)
(experimental) The efs filesystem.
|
AccessPoint.Builder |
path(String path)
(experimental) 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.
|
AccessPoint.Builder |
posixUser(PosixUser posixUser)
(experimental) The full POSIX identity, including the user ID, group ID, and any secondary group IDs, on the access point that is used for all file system operations performed by NFS clients using the access point.
|
@Stability(value=Experimental) public static AccessPoint.Builder create(software.constructs.Construct scope, String id)
scope
- This parameter is required.id
- This parameter is required.AccessPoint.Builder
.@Stability(value=Experimental) public AccessPoint.Builder createAcl(Acl createAcl)
If the
root directory specified by path
does not exist, EFS creates the root directory and applies the
permissions specified here. If the specified path
does not exist, you must specify createAcl
.
Default: - None. The directory specified by `path` must exist.
createAcl
- Specifies the POSIX IDs and permissions to apply when creating the access point's root directory. This parameter is required.this
@Stability(value=Experimental) public AccessPoint.Builder path(String path)
Default: '/'
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. This parameter is required.this
@Stability(value=Experimental) public AccessPoint.Builder posixUser(PosixUser posixUser)
Specify this to enforce a user identity using an access point.
Default: - user identity not enforced
posixUser
- The full POSIX identity, including the user ID, group ID, and any secondary group IDs, on the access point that is used for all file system operations performed by NFS clients using the access point. This parameter is required.this
[Enforcing a User Identity Using an Access Point](https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html)
@Stability(value=Experimental) public AccessPoint.Builder fileSystem(IFileSystem fileSystem)
fileSystem
- The efs filesystem. This parameter is required.this
@Stability(value=Experimental) public AccessPoint build()
build
in interface software.amazon.jsii.Builder<AccessPoint>
Copyright © 2021. All rights reserved.