Skip to content
Français

S3TombstonePruneOptions

import type { S3TombstonePruneOptions } from "@elie-laloum/outpost/transports/s3";
  • prefixRequired
    string
    Nonempty transport prefix; deletion is restricted to its descendants.
  • writersStoppedRequired
    true
    Required true after stopping every writer sharing the prefix; keep them stopped until pruning ends.
  • signalOptional
    AbortSignal | undefined
    Optional cancellation signal; completed deletions remain applied.
  • clientRequired
    S3Client
    Caller-owned S3 client.
  • bucketRequired
    string
    Bucket containing the transport prefix.
export interface S3TombstonePruneOptions extends Pick<
  S3TransportOptions,
  "client" | "bucket"
> {
  readonly prefix: string;
  readonly writersStopped: true;
  readonly signal?: AbortSignal;
}