Amazon Storage Gateway · JSON Structure

Amazon Storage Gateway Nfs File Share Defaults Structure

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: 4
BackupFile StorageGatewayHybrid CloudStorage

NFSFileShareDefaults is a JSON Structure definition published by Amazon Storage Gateway, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

FileMode DirectoryMode GroupId OwnerId

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "type": "object",
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-storage-gateway/refs/heads/main/json-structure/amazon-storage-gateway-nfs-file-share-defaults-structure.json",
  "name": "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.",
  "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>."
        }
      ]
    }
  }
}