class Aws::StorageGateway::Types::NFSFileShareDefaults

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.

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

data as a hash:

    {
      file_mode: "PermissionMode",
      directory_mode: "PermissionMode",
      group_id: 1,
      owner_id: 1,
    }

@!attribute [rw] file_mode

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`.
@return [String]

@!attribute [rw] directory_mode

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`.
@return [String]

@!attribute [rw] group_id

The default group ID for the file share (unless the files have
another group ID specified). The default value is `nfsnobody`.
@return [Integer]

@!attribute [rw] owner_id

The default owner ID for files in the file share (unless the files
have another owner ID specified). The default value is `nfsnobody`.
@return [Integer]

@see docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/NFSFileShareDefaults AWS API Documentation

Constants

SENSITIVE