Skip to content

LogStream

Source: src/AWS/Logs/LogStream.ts

A CloudWatch Logs log stream — a sequence of log events within a log group.

Most log streams are created automatically by the emitting service (Lambda creates its own streams under /aws/lambda/...); declare one explicitly only when writing custom log events via putLogEvents.

const stream = yield* LogStream("AuditStream", {
logGroupName: logGroup.logGroupName,
});