Skip to content
Français

CloudDependencyCache

  • transportRequired
    Transport
    Caller-owned Transport used on the host to restore before sandboxReady and archive before release. Credentials stay on the host. Conditional publication keeps a concurrent newer snapshot; other storage failures propagate while sandbox cleanup is still attempted.
  • timeoutMsOptional
    number | undefined
    Cache transfer deadline in milliseconds, default 60000. Restoration shares the largest declared timeout; each save has its own deadline.
  • nameRequired
    string
    Cache name and directory under /outpost/cache: up to 48 lowercase letters, digits or hyphens, starting with a letter, unique per provider.
  • keyRequired
    string
    Compatibility key of 1 to 1024 characters. Changing it selects a new archive; repository, provider environment and sandbox UID/GID also participate in identity.
export interface CloudDependencyCache extends DependencyCache {
  readonly transport: Transport;
  readonly timeoutMs?: number;
}