js-bao-wss-client / CreateBlobBucketParams
Interface: CreateBlobBucketParams
Parameters for blobBuckets.createBucket() (admin/owner only). Names the bucket, picks its retention tier, and sets its access preset or custom rule set.
Properties
accessPolicy?
optionalaccessPolicy?:BlobBucketAccessPolicy
Deprecated
Legacy access enum; accepted as an input alias for preset.
bucketKey
bucketKey:
string
Human-friendly identifier for the bucket (max 64 chars, alnum + dash/underscore)
description?
optionaldescription?:string
Optional description
name
name:
string
Display name for the bucket
preset?
optionalpreset?:"public"|"authenticated"|"admin-only"|"personal-uploads"
Access preset. One of public | authenticated | admin-only | personal-uploads. Provide this OR a ruleSetId (custom). The legacy accessPolicy enum is still accepted as an input alias.
ruleSetId?
optionalruleSetId?:string
Rule set ID for CEL-based access control (makes the bucket custom).
ttlTier
ttlTier:
BlobBucketTtlTier
Retention tier - controls automatic expiration