aws-logs-sink
Version:
Stream logs to Amazon CloudWatch logs
15 lines (14 loc) • 414 B
TypeScript
/// <reference types="node" />
import * as stream from "stream";
import { CloudWatchLogsClient } from "@aws-sdk/client-cloudwatch-logs";
export default function sink(config: {
logGroupName: string;
logStreamName: string;
tee?: boolean;
flushInterval?: number;
profile?: string;
region?: string;
client?: CloudWatchLogsClient;
eol?: string;
}): stream.Transform;