Creating access points
You can create and delete Amazon EFS access points using the AWS Management Console, the AWS Command Line Interface (AWS CLI), and the Amazon EFS API and SDKs. You cannot modify an access point once it is created. A file system can have a maximum of 10,000 access points unless you request an increase.
Note
If multiple requests to create access points on the same file system are sent in quick succession, and the file system is nearing the access points limit, you may experience a throttling response for these requests. This is to ensure that the file system does not exceed the stated access point quota.
For more information about EFS access points, see Working with access points.
In the following example, the create-access-point CLI command creates an
access point for an EFS file system. The equivalent API command is CreateAccessPoint.
aws efs create-access-point --file-system-id fs-abcdef0123456789a --client-token 010102020-3 \ --root-directory “Path=/efs/mobileapp/east,CreationInfo={OwnerUid=0,OwnerGid=11,Permissions=775}” \ --posix-user “Uid=22,Gid=4” \ --tags Key=Name,Value=east-users
If the request is successful, the CLI responds with the access point description.
{ "ClientToken": "010102020-3", "Name": "east-users", "AccessPointId": "fsap-abcd1234ef5678901", "AccessPointArn": "arn:aws:elasticfilesystem:us-east-2:111122223333:access-point/fsap-abcd1234ef5678901", "FileSystemId": "fs-01234567", "LifeCycleState": "creating", "OwnerId": "111122223333", "PosixUser": { "Gid": 4, "Uid": 22 }, "RootDirectory": { "CreationInfo": { "OwnerGid": 0, "OwnerUid": 11, "Permissions": "775" }, "Path": "/efs/mobileapp/east", }, "Tags": [] }
Note
If multiple requests to create access points on the same file system are sent in quick succession, and the file system is nearing the access points limit, you may experience a throttling response for these requests. This is to ensure that the file system does not exceed the stated access point quota.