idea-aws
    Preparing search index...

    Interface CreateDownloadURLFromDataOptions

    Options for creating a download URL.

    interface CreateDownloadURLFromDataOptions {
        bucket?: string;
        contentType?: string;
        filename?: string;
        key?: string;
        prefix?: string;
        secToExp?: number;
    }
    Index

    Properties

    bucket?: string

    Downloads bucket; default: idea-downloads.

    contentType?: string

    Content type, e.g. application/json; default: guessed.

    filename?: string

    The suggested name for the file once it's downloaded/saved. Note: the string is cleaned to ensure maximum compatibility with every OS.

    key?: string

    The unique filepath in which to store the file; default: random.

    prefix?: string

    Folder (e.g. the project name); default: common.

    secToExp?: number

    Seconds to URL expiration; default: 180.