ts-lambda-api - v2.5.2
    Preparing search index...

    Interface FlexibleChecksumsInputConfig

    interface FlexibleChecksumsInputConfig {
        requestChecksumCalculation?:
            | RequestChecksumCalculation
            | Provider<RequestChecksumCalculation>;
        requestStreamBufferSize?: number | false;
        responseChecksumValidation?:
            | ResponseChecksumValidation
            | Provider<ResponseChecksumValidation>;
    }
    Index

    Properties

    requestChecksumCalculation?:
        | RequestChecksumCalculation
        | Provider<RequestChecksumCalculation>

    Determines when a checksum will be calculated for request payloads.

    requestStreamBufferSize?: number | false

    Default 0 (off).

    When set to a value greater than or equal to 8192, sets the minimum number of bytes to buffer into a chunk when processing input streams with chunked encoding (that is, when request checksums are enabled). A minimum of 8kb = 8 * 1024 is required, and 64kb or higher is recommended.

    See https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-streaming.html.

    This has a slight performance penalty because it must wrap and buffer your input stream. You do not need to set this value if your stream already flows chunks of 8kb or greater.

    responseChecksumValidation?:
        | ResponseChecksumValidation
        | Provider<ResponseChecksumValidation>

    Determines when checksum validation will be performed on response payloads.