brows3r — TypeScript API
    Preparing search index...

    Interface ObjectHead

    All properties returned by HeadObject for a single S3 object.

    User-defined metadata (x-amz-meta-*) is surfaced in metadata with keys stripped of the prefix.

    interface ObjectHead {
        cacheControl: string | null;
        contentDisposition: string | null;
        contentEncoding: string | null;
        contentLength: number | null;
        contentType: string | null;
        etag: string | null;
        expires: number | null;
        lastModified: number | null;
        metadata: Record<string, string>;
        serverSideEncryption: string | null;
        sseKmsKeyId: string | null;
        storageClass: string | null;
        versionId: string | null;
    }
    Index

    Properties

    cacheControl: string | null

    Cache-Control header value.

    contentDisposition: string | null

    Content-Disposition header value.

    contentEncoding: string | null

    Content-Encoding header value, e.g. "gzip".

    contentLength: number | null

    Object size in bytes.

    contentType: string | null

    MIME type, e.g. "application/octet-stream".

    etag: string | null

    HTTP ETag string (including surrounding quotes from S3).

    expires: number | null

    Expires header as Unix epoch (seconds), if present.

    lastModified: number | null

    Unix epoch (seconds) of last modification.

    metadata: Record<string, string>

    User-defined metadata keys (stripped of x-amz-meta- prefix).

    serverSideEncryption: string | null

    SSE algorithm, e.g. "aws:kms" or "AES256".

    sseKmsKeyId: string | null

    KMS key ID when SSE-KMS is active.

    storageClass: string | null

    S3 storage class, e.g. "STANDARD", "GLACIER".

    versionId: string | null

    Version ID when bucket versioning is enabled.