Home > @hapoosjs/api-buckets > Buckets > createBucket

Buckets.createBucket() method

Create a new bucket.

Signature:

createBucket(bucketName: string, options?: CreateBucketOptions): Promise<void>;

Parameters

Parameter Type Description
bucketName string Bucket name
options CreateBucketOptions (Optional)

Returns:

Promise<void>