idea-aws
    Preparing search index...

    Interface SignedURLGetOptions

    Options for generating a signed URL to get a file.

    interface SignedURLGetOptions {
        contentType?: string;
        filename?: string;
        inline?: boolean;
        secToExp?: number;
        versionId?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    contentType?: string

    The content type the file is served with, whatever the one it was stored with.

    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.

    inline?: boolean

    If true, the browser shows the file (e.g. a PDF in its viewer) instead of downloading it.

    secToExp?: number

    Seconds to URL expiration; default: 180 for GET, 300 for PUT.

    versionId?: string

    A version of the object, in a versioned bucket; default: the current one.