Skip to content
v2.274.0

StreamOptions Struct ​

Properties for a new LogStream created from a LogGroup.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_logs as logs } from 'aws-cdk-lib';
const streamOptions: logs.StreamOptions = {
  logStreamName: 'logStreamName',
};

Properties ​

logStreamNamestringlog_stream_namestrlogStreamNameStringLogStreamNamestringLogStreamName*string= Automatically generated#
The name of the log stream to create.

The name must be unique within the log group.