Home > @hapoosjs/api-buckets > CreateBucketOptions

CreateBucketOptions class

Optional configuration specified at bucket creation.

Signature:

export declare class CreateBucketOptions extends BaseOptions 

Extends: BaseOptions

Remarks

In addition to specifying the bucket region, CreateBucketOptions allow you to specify access level as “private” or “public-read”. Depending on the cloud platform, the access specification may translate to different security mechanisms.

Constructors

Constructor Modifiers Description
(constructor)(providerOptions) Constructs the options object with supplied provider-specific options

Properties

Property Modifiers Type Description
access Access Access level: private or public-read
location? string (Optional) Bucket region if different than default