UNPKG

aws-logs-sink

Version:
15 lines (14 loc) 414 B
#!/usr/bin/env node /// <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;