Home > @hapoosjs/api-buckets > PutFileOptions
Optional settings passed when uploading a file to a bucket
Signature:
export declare class PutFileOptions extends BaseOptions
Extends: BaseOptions
Constructor | Modifiers | Description |
---|---|---|
(constructor)(providerOptions) | Constructs the options object with supplied provider-specific options |
Property | Modifiers | Type | Description |
---|---|---|---|
access? | Access | (Optional) Access level | |
contentType? | string | (Optional) Mime type | |
expires? | Date | (Optional) Expiry date after which the file is to be deleted | |
redirect? | string | (Optional) Redirect location | |
storageClass? | string | (Optional) Cloud platform dependent storage class |