AccessPointOptions
- class aws_cdk.aws_efs.AccessPointOptions(*, client_token=None, create_acl=None, path=None, posix_user=None)
Bases:
objectOptions to create an AccessPoint.
- Parameters:
client_token (
Optional[str]) – The opaque string specified in the request to ensure idempotent creation. Default: - No client tokencreate_acl (
Union[Acl,Dict[str,Any],None]) – Specifies the POSIX IDs and permissions to apply when creating the access point’s root directory. If the root directory specified bypathdoes not exist, EFS creates the root directory and applies the permissions specified here. If the specifiedpathdoes not exist, you must specifycreateAcl. Default: - None. The directory specified bypathmust 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 (
Union[PosixUser,Dict[str,Any],None]) – 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
- ExampleMetadata:
fixture=with-filesystem-instance infused
Example:
file_system.add_access_point("MyAccessPoint", # create a unique access point via an optional client token client_token="client-token" )
Attributes
- client_token
The opaque string specified in the request to ensure idempotent creation.
- create_acl
Specifies the POSIX IDs and permissions to apply when creating the access point’s root directory.
If the root directory specified by
pathdoes not exist, EFS creates the root directory and applies the permissions specified here. If the specifiedpathdoes not exist, you must specifycreateAcl.- Default:
None. The directory specified by
pathmust exist.
- 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:
‘/’
- 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: