AWS::EFS::AccessPointThe `AWS::EFS::AccessPoint` resource creates an EFS access point. An access point is an application-specific view into an EFS file system that applies an operating system user and group, and a file system path, to any file system request made through the access point. The operating system user and group override any identity information provided by the NFS client. The file system path is exposed as the access point's root directory. Applications using the access point can only access data in its own directory and below. To learn more, see [Mounting a file system using EFS access points](https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html) . This operation requires permissions for the `elasticfilesystem:CreateAccessPoint` action.
import { CfnAccessPoint } from 'aws-cdk-lib/aws-efs';Or use the module namespace:
import * as efs from 'aws-cdk-lib/aws-efs';
// efs.CfnAccessPointConfiguration passed to the constructor as CfnAccessPointProps.
fileSystemIdRequiredstring | IFileSystemRefThe ID of the EFS file system that the access point applies to. Accepts only the ID format for input when specifying a file system, for example `fs-0123456789abcedf2` .
accessPointTagsOptionalAccessPointTagProperty[]An array of key-value pairs to apply to this resource. For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
clientTokenOptionalstringThe opaque string specified in the request to ensure idempotent creation.
posixUserOptionalIResolvable | PosixUserPropertyThe full POSIX identity, including the user ID, group ID, and secondary group IDs on the access point that is used for all file operations by NFS clients using the access point.
rootDirectoryOptionalIResolvable | RootDirectoryPropertyThe directory on the EFS file system that the access point exposes as the root directory to NFS clients using the access point.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-efsAWS::EFS::AccessPoint