AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::EFS::AccessPoint

CfnAccessPoint

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

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

Or use the module namespace:

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

Properties

Configuration passed to the constructor as CfnAccessPointProps.

fileSystemIdRequired
string | IFileSystemRef

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

accessPointTagsOptional
AccessPointTagProperty[]

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

clientTokenOptional
string

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

posixUserOptional
IResolvable | PosixUserProperty

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

rootDirectoryOptional
IResolvable | RootDirectoryProperty

The directory on the EFS file system that the access point exposes as the root directory to NFS clients using the access point.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

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

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-efs
CFN TypeAWS::EFS::AccessPoint
Properties5

External Links