libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway
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.StorageGateway.Types.NFSFileShareDefaults

Description

 
Synopsis

Documentation

data NFSFileShareDefaults Source #

Describes Network File System (NFS) file share default values. Files and folders stored as Amazon S3 objects in S3 buckets don't, by default, have Unix file permissions assigned to them. Upon discovery in an S3 bucket by Storage Gateway, the S3 objects that represent files and folders are assigned these default Unix permissions. This operation is only supported for S3 File Gateways.

See: newNFSFileShareDefaults smart constructor.

Constructors

NFSFileShareDefaults' 

Fields

  • fileMode :: Maybe Text

    The Unix file mode in the form "nnnn". For example, 0666 represents the default file mode inside the file share. The default value is 0666.

  • ownerId :: Maybe Natural

    The default owner ID for files in the file share (unless the files have another owner ID specified). The default value is nfsnobody.

  • directoryMode :: Maybe Text

    The Unix directory mode in the form "nnnn". For example, 0666 represents the default access mode for all directories inside the file share. The default value is 0777.

  • groupId :: Maybe Natural

    The default group ID for the file share (unless the files have another group ID specified). The default value is nfsnobody.

Instances

Instances details
Eq NFSFileShareDefaults Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.NFSFileShareDefaults

Read NFSFileShareDefaults Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.NFSFileShareDefaults

Show NFSFileShareDefaults Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.NFSFileShareDefaults

Generic NFSFileShareDefaults Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.NFSFileShareDefaults

Associated Types

type Rep NFSFileShareDefaults :: Type -> Type #

NFData NFSFileShareDefaults Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.NFSFileShareDefaults

Methods

rnf :: NFSFileShareDefaults -> () #

Hashable NFSFileShareDefaults Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.NFSFileShareDefaults

ToJSON NFSFileShareDefaults Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.NFSFileShareDefaults

FromJSON NFSFileShareDefaults Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.NFSFileShareDefaults

type Rep NFSFileShareDefaults Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.NFSFileShareDefaults

type Rep NFSFileShareDefaults = D1 ('MetaData "NFSFileShareDefaults" "Amazonka.StorageGateway.Types.NFSFileShareDefaults" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "NFSFileShareDefaults'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "fileMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ownerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "directoryMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "groupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))

newNFSFileShareDefaults :: NFSFileShareDefaults Source #

Create a value of NFSFileShareDefaults 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:fileMode:NFSFileShareDefaults', nFSFileShareDefaults_fileMode - The Unix file mode in the form "nnnn". For example, 0666 represents the default file mode inside the file share. The default value is 0666.

$sel:ownerId:NFSFileShareDefaults', nFSFileShareDefaults_ownerId - The default owner ID for files in the file share (unless the files have another owner ID specified). The default value is nfsnobody.

$sel:directoryMode:NFSFileShareDefaults', nFSFileShareDefaults_directoryMode - The Unix directory mode in the form "nnnn". For example, 0666 represents the default access mode for all directories inside the file share. The default value is 0777.

$sel:groupId:NFSFileShareDefaults', nFSFileShareDefaults_groupId - The default group ID for the file share (unless the files have another group ID specified). The default value is nfsnobody.

nFSFileShareDefaults_fileMode :: Lens' NFSFileShareDefaults (Maybe Text) Source #

The Unix file mode in the form "nnnn". For example, 0666 represents the default file mode inside the file share. The default value is 0666.

nFSFileShareDefaults_ownerId :: Lens' NFSFileShareDefaults (Maybe Natural) Source #

The default owner ID for files in the file share (unless the files have another owner ID specified). The default value is nfsnobody.

nFSFileShareDefaults_directoryMode :: Lens' NFSFileShareDefaults (Maybe Text) Source #

The Unix directory mode in the form "nnnn". For example, 0666 represents the default access mode for all directories inside the file share. The default value is 0777.

nFSFileShareDefaults_groupId :: Lens' NFSFileShareDefaults (Maybe Natural) Source #

The default group ID for the file share (unless the files have another group ID specified). The default value is nfsnobody.