← API reference
CANONICAL TYPE REFERENCE

CreateStorageBackendConfigInput

A backend's connection settings on create. Exactly one kind, and which one decides the backend's kind — there is no separate discriminator to disagree with it. Google Drive and Dropbox are absent on purpose: they are connected through the OAuth consent flow, so they cannot be declared here at all.

S3-compatible object storage.

A directory on the machine running the server.

An FTP server.

View exact SDL
"""
A backend's connection settings on create. Exactly one kind, and which one decides the backend's kind — there is no separate discriminator to disagree with it. Google Drive and Dropbox are absent on purpose: they are connected through the OAuth consent flow, so they cannot be declared here at all.
"""
input CreateStorageBackendConfigInput @oneOf {
  """S3-compatible object storage."""
  s3: CreateS3BackendInput
  """A directory on the machine running the server."""
  hostPath: HostPathBackendInput
  """An FTP server."""
  ftp: CreateFTPBackendInput
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.