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.

BackupFile StorageGatewayHybrid CloudStorage

Properties

Name Type Description
FileMode object
DirectoryMode object
GroupId object
OwnerId object
View JSON Schema on GitHub

JSON Schema

amazon-storage-gateway-nfs-file-share-defaults-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-storage-gateway/refs/heads/main/json-schema/amazon-storage-gateway-nfs-file-share-defaults-schema.json",
  "title": "NFSFileShareDefaults",
  "description": "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.",
  "type": "object",
  "properties": {
    "FileMode": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PermissionMode"
        },
        {
          "description": "The Unix file mode in the form \"nnnn\". For example, <code>0666</code> represents the default file mode inside the file share. The default value is <code>0666</code>."
        }
      ]
    },
    "DirectoryMode": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PermissionMode"
        },
        {
          "description": "The Unix directory mode in the form \"nnnn\". For example, <code>0666</code> represents the default access mode for all directories inside the file share. The default value is <code>0777</code>."
        }
      ]
    },
    "GroupId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PermissionId"
        },
        {
          "description": "The default group ID for the file share (unless the files have another group ID specified). The default value is <code>nfsnobody</code>."
        }
      ]
    },
    "OwnerId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PermissionId"
        },
        {
          "description": "The default owner ID for files in the file share (unless the files have another owner ID specified). The default value is <code>nfsnobody</code>."
        }
      ]
    }
  }
}