interface AccessPointOptions
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EFS.AccessPointOptions |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsefs#AccessPointOptions |
![]() | software.amazon.awscdk.services.efs.AccessPointOptions |
![]() | aws_cdk.aws_efs.AccessPointOptions |
![]() | aws-cdk-lib » aws_efs » AccessPointOptions |
Options to create an AccessPoint.
Example
fileSystem.addAccessPoint('MyAccessPoint', {
// create a unique access point via an optional client token
clientToken: 'client-token',
});
Properties
Name | Type | Description |
---|---|---|
client | string | The opaque string specified in the request to ensure idempotent creation. |
create | Acl | Specifies the POSIX IDs and permissions to apply when creating the access point's root directory. |
path? | string | 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. |
posix | Posix | 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. |
clientToken?
Type:
string
(optional, default: No client token)
The opaque string specified in the request to ensure idempotent creation.
createAcl?
Type:
Acl
(optional, default: None. The directory specified by path
must exist.)
Specifies the POSIX IDs and permissions to apply when creating the access point's root directory.
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
.
path?
Type:
string
(optional, default: '/')
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.
posixUser?
Type:
Posix
(optional, default: user identity not enforced)
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.
Specify this to enforce a user identity using an access point.
See also: [ - Enforcing a User Identity Using an Access Point]( - Enforcing a User Identity Using an Access Point)