Home > @hapoosjs/api-buckets > PutFileOptions

PutFileOptions class

Optional settings passed when uploading a file to a bucket

Signature:

export declare class PutFileOptions extends BaseOptions 

Extends: BaseOptions

Constructors

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

Properties

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