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
logStreamNameoptionalstringlog_stream_nameoptionalstrlogStreamNameoptionalStringLogStreamNameoptionalstringLogStreamNameoptional*string#The name of the log stream to create.
Default: Automatically generated
The name must be unique within the log group.