Skip to content

ObjectStoragePluginOptions

Defined in: src/persistence/object-storage/ObjectStoragePlugin.ts:43

readonly backend: ObjectStorageBackendSpec

Defined in: src/persistence/object-storage/ObjectStoragePlugin.ts:49

Backend definition — filesystem, S3, or custom.


readonly optional compression?: CompressionConfig | CompressionResolver

Defined in: src/persistence/object-storage/ObjectStoragePlugin.ts:55

Compression config or per-pid resolver. Default: gzip.


readonly optional durableStatePluginId?: string

Defined in: src/persistence/object-storage/ObjectStoragePlugin.ts:47

Plugin ID for the durable-state store.


readonly optional encryption?: EncryptionConfig | EncryptionResolver

Defined in: src/persistence/object-storage/ObjectStoragePlugin.ts:57

Encryption config or per-pid resolver. Default: none.


readonly optional keepN?: number

Defined in: src/persistence/object-storage/ObjectStoragePlugin.ts:53

Snapshot history retention; 0 disables pruning. Default: 3.


readonly optional prefix?: string

Defined in: src/persistence/object-storage/ObjectStoragePlugin.ts:51

Key prefix prepended to every object — e.g. 'env-prod/'.


readonly optional snapshotPluginId?: string

Defined in: src/persistence/object-storage/ObjectStoragePlugin.ts:45

Plugin ID under which the snapshot store is registered.