type for S3 item.

interface Item {
    contentType?: string;
    eTag?: string;
    key: string;
    lastModified?: Date;
    metadata?: Record<string, string>;
    size?: number;
    versionId?: string;
}

Hierarchy (view full)

Properties

contentType?: string

A standard MIME type describing the format of the object data.

eTag?: string

An entity tag (ETag) is an opaque identifier assigned by a web server to a specific version of a resource found at a URL.

key: string

Key of the object

lastModified?: Date

Creation date of the object.

metadata?: Record<string, string>

The user-defined metadata for the object uploaded to S3.

size?: number

Size of the body in bytes.

versionId?: string

VersionId used to reference a specific version of the object.