Home > @hapoosjs/api-buckets > CreateBucketOptions
Optional configuration specified at bucket creation.
Signature:
export declare class CreateBucketOptions extends BaseOptions
Extends: BaseOptions
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.
Constructor | Modifiers | Description |
---|---|---|
(constructor)(providerOptions) | Constructs the options object with supplied provider-specific options |
Property | Modifiers | Type | Description |
---|---|---|---|
access | Access | Access level: private or public-read | |
location? | string | (Optional) Bucket region if different than default |