UNPKG

cdk-encrypted-secret

Version:

CDK Construct that creates an AWS Secret Manager Secret and sets the value from an encrypted Ciphertext.

4 lines (3 loc) 207 B
import { Readable } from "stream"; export const isStreamingPayload = (request) => request?.body instanceof Readable || (typeof ReadableStream !== "undefined" && request?.body instanceof ReadableStream);