AccessPointProps

class aws_cdk.aws_efs.AccessPointProps(*, create_acl=None, path=None, posix_user=None, file_system)

Bases: aws_cdk.aws_efs.AccessPointOptions

Properties for the AccessPoint.

Parameters
  • create_acl (Optional[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.

  • path (Optional[str]) – 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: ‘/’

  • posix_user (Optional[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

  • file_system (IFileSystem) – The efs filesystem.

Attributes

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

Return type

Optional[Acl]

file_system

The efs filesystem.

Return type

IFileSystem

path

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

‘/’

Return type

Optional[str]

posix_user

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

See
Return type

Optional[PosixUser]