libZSservicesZSamazonka-efsZSamazonka-efs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.EFS.Types.RootDirectory

Description

 
Synopsis

Documentation

data RootDirectory Source #

Specifies the directory on the Amazon EFS file system that the access point provides access to. The access point exposes the specified file system path as the root directory of your file system to applications using the access point. NFS clients using the access point can only access data in the access point's RootDirectory and it's subdirectories.

See: newRootDirectory smart constructor.

Constructors

RootDirectory' 

Fields

  • creationInfo :: Maybe CreationInfo

    (Optional) Specifies the POSIX IDs and permissions to apply to the access point's RootDirectory. If the RootDirectory > Path specified does not exist, EFS creates the root directory using the CreationInfo settings when a client connects to an access point. When specifying the CreationInfo, you must provide values for all properties.

    If you do not provide CreationInfo and the specified RootDirectory > Path does not exist, attempts to mount the file system using the access point will fail.

  • path :: Maybe Text

    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. A path can have up to four subdirectories. If the specified path does not exist, you are required to provide the CreationInfo.

Instances

Instances details
Eq RootDirectory Source # 
Instance details

Defined in Amazonka.EFS.Types.RootDirectory

Read RootDirectory Source # 
Instance details

Defined in Amazonka.EFS.Types.RootDirectory

Show RootDirectory Source # 
Instance details

Defined in Amazonka.EFS.Types.RootDirectory

Generic RootDirectory Source # 
Instance details

Defined in Amazonka.EFS.Types.RootDirectory

Associated Types

type Rep RootDirectory :: Type -> Type #

NFData RootDirectory Source # 
Instance details

Defined in Amazonka.EFS.Types.RootDirectory

Methods

rnf :: RootDirectory -> () #

Hashable RootDirectory Source # 
Instance details

Defined in Amazonka.EFS.Types.RootDirectory

ToJSON RootDirectory Source # 
Instance details

Defined in Amazonka.EFS.Types.RootDirectory

FromJSON RootDirectory Source # 
Instance details

Defined in Amazonka.EFS.Types.RootDirectory

type Rep RootDirectory Source # 
Instance details

Defined in Amazonka.EFS.Types.RootDirectory

type Rep RootDirectory = D1 ('MetaData "RootDirectory" "Amazonka.EFS.Types.RootDirectory" "libZSservicesZSamazonka-efsZSamazonka-efs" 'False) (C1 ('MetaCons "RootDirectory'" 'PrefixI 'True) (S1 ('MetaSel ('Just "creationInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CreationInfo)) :*: S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newRootDirectory :: RootDirectory Source #

Create a value of RootDirectory with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:creationInfo:RootDirectory', rootDirectory_creationInfo - (Optional) Specifies the POSIX IDs and permissions to apply to the access point's RootDirectory. If the RootDirectory > Path specified does not exist, EFS creates the root directory using the CreationInfo settings when a client connects to an access point. When specifying the CreationInfo, you must provide values for all properties.

If you do not provide CreationInfo and the specified RootDirectory > Path does not exist, attempts to mount the file system using the access point will fail.

$sel:path:RootDirectory', rootDirectory_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. A path can have up to four subdirectories. If the specified path does not exist, you are required to provide the CreationInfo.

rootDirectory_creationInfo :: Lens' RootDirectory (Maybe CreationInfo) Source #

(Optional) Specifies the POSIX IDs and permissions to apply to the access point's RootDirectory. If the RootDirectory > Path specified does not exist, EFS creates the root directory using the CreationInfo settings when a client connects to an access point. When specifying the CreationInfo, you must provide values for all properties.

If you do not provide CreationInfo and the specified RootDirectory > Path does not exist, attempts to mount the file system using the access point will fail.

rootDirectory_path :: Lens' RootDirectory (Maybe Text) Source #

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. A path can have up to four subdirectories. If the specified path does not exist, you are required to provide the CreationInfo.