Home > @hapoosjs/aws-buckets > AWSBuckets > createBucket

AWSBuckets.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>

Remarks

This operation is not atomic if the access is not private