class Aws::EFS::Types::CreateAccessPointRequest

@note When making an API call, you may pass CreateAccessPointRequest

data as a hash:

    {
      client_token: "ClientToken", # required
      tags: [
        {
          key: "TagKey", # required
          value: "TagValue", # required
        },
      ],
      file_system_id: "FileSystemId", # required
      posix_user: {
        uid: 1, # required
        gid: 1, # required
        secondary_gids: [1],
      },
      root_directory: {
        path: "Path",
        creation_info: {
          owner_uid: 1, # required
          owner_gid: 1, # required
          permissions: "Permissions", # required
        },
      },
    }

@!attribute [rw] client_token

A string of up to 64 ASCII characters that Amazon EFS uses to ensure
idempotent creation.

**A suitable default value is auto-generated.** You should normally
not need to pass this option.
@return [String]

@!attribute [rw] tags

Creates tags associated with the access point. Each tag is a
key-value pair, each key must be unique. For more information, see
[Tagging Amazon Web Services resources][1] in the *Amazon Web
Services General Reference Guide*.

[1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
@return [Array<Types::Tag>]

@!attribute [rw] file_system_id

The ID of the EFS file system that the access point provides access
to.
@return [String]

@!attribute [rw] posix_user

The operating system user and group applied to all file system
requests made using the access point.
@return [Types::PosixUser]

@!attribute [rw] root_directory

Specifies the directory on the Amazon EFS file system that the
access point exposes as the root directory of your file system to
NFS clients using the access point. The clients using the access
point can only access the root directory and below. If the
`RootDirectory` &gt; `Path` specified does not exist, EFS creates it
and applies the `CreationInfo` settings when a client connects to an
access point. When specifying a `RootDirectory`, you need to provide
the `Path`, and the `CreationInfo`.

Amazon EFS creates a root directory only if you have provided the
CreationInfo: OwnUid, OwnGID, and permissions for the directory. If
you do not provide this information, Amazon EFS does not create the
root directory. If the root directory does not exist, attempts to
mount using the access point will fail.
@return [Types::RootDirectory]

@see docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateAccessPointRequest AWS API Documentation

Constants

SENSITIVE