AWS Fundamentals Logo
AWS Fundamentals
L2 Construct

AccessPoint

Represents the AccessPoint.

Import

import { AccessPoint } from 'aws-cdk-lib/aws-efs';

Or use the module namespace:

import * as efs from 'aws-cdk-lib/aws-efs';
// efs.AccessPoint

Properties

Configuration passed to the constructor as AccessPointProps.

fileSystemRequired
IFileSystemRef

The efs filesystem.

4 properties inherited from AccessPointOptions
clientTokenOptionalinherited from AccessPointOptions
string

The opaque string specified in the request to ensure idempotent creation.

Default: - No client token

createAclOptionalinherited from AccessPointOptions
Acl

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`.

Default: - None. The directory specified by `path` must exist.

pathOptionalinherited from AccessPointOptions
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.

Default: '/'

posixUserOptionalinherited from AccessPointOptions
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. Specify this to enforce a user identity using an access point.

Default: - user identity not enforced

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter