{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-efs/json-schema/amazon-efs-access-point-description-schema.json",
  "title": "AccessPointDescription",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-efs-access-points-api-openapi.yml#/components/schemas/AccessPointDescription",
  "type": "object",
  "properties": {
    "ClientToken": {
      "type": "string",
      "description": "The opaque string specified in the request to ensure idempotent creation."
    },
    "Name": {
      "type": "string",
      "description": "The name of the access point. This is the value of the Name tag."
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "The tags associated with the access point, presented as an array of Tag objects."
    },
    "AccessPointId": {
      "type": "string",
      "description": "The ID of the access point, assigned by Amazon EFS."
    },
    "AccessPointArn": {
      "type": "string",
      "description": "The unique Amazon Resource Name (ARN) associated with the access point."
    },
    "FileSystemId": {
      "type": "string",
      "description": "The ID of the EFS file system that the access point applies to."
    },
    "PosixUser": {
      "$ref": "#/$defs/PosixUser"
    },
    "RootDirectory": {
      "$ref": "#/$defs/RootDirectory"
    },
    "OwnerId": {
      "type": "string",
      "description": "Identifies the Amazon Web Services account that owns the access point resource."
    },
    "LifeCycleState": {
      "type": "string",
      "enum": [
        "creating",
        "available",
        "updating",
        "deleting",
        "deleted",
        "error"
      ],
      "description": "Identifies the lifecycle phase of the access point."
    }
  },
  "$defs": {
    "CreationInfo": {
      "type": "object",
      "properties": {
        "OwnerUid": {
          "type": "integer",
          "description": "Specifies the POSIX user ID to apply to the RootDirectory. Accepts values from 0 to 2^32 (4294967295)."
        },
        "OwnerGid": {
          "type": "integer",
          "description": "Specifies the POSIX group ID to apply to the RootDirectory. Accepts values from 0 to 2^32 (4294967295)."
        },
        "Permissions": {
          "type": "string",
          "description": "Specifies the POSIX permissions to apply to the RootDirectory, in the format of an octal number representing the file's mode bits."
        }
      },
      "required": [
        "OwnerUid",
        "OwnerGid",
        "Permissions"
      ]
    },
    "PosixUser": {
      "type": "object",
      "properties": {
        "Uid": {
          "type": "integer",
          "description": "The POSIX user ID used for all file system operations using this access point."
        },
        "Gid": {
          "type": "integer",
          "description": "The POSIX group ID used for all file system operations using this access point."
        },
        "SecondaryGids": {
          "type": "array",
          "items": {
            "type": "integer"
          },
          "description": "Secondary POSIX group IDs used for all file system operations using this access point."
        }
      },
      "required": [
        "Uid",
        "Gid"
      ]
    },
    "RootDirectory": {
      "type": "object",
      "properties": {
        "Path": {
          "type": "string",
          "description": "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."
        },
        "CreationInfo": {
          "$ref": "#/$defs/CreationInfo"
        }
      }
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The tag key (String). The key can't start with aws:."
        },
        "Value": {
          "type": "string",
          "description": "The value of the tag key."
        }
      },
      "required": [
        "Key",
        "Value"
      ]
    }
  }
}