Skip to content
v2.274.0

CfnLogStreamProps Struct ​

Properties for defining a CfnLogStream.

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 cfnLogStreamProps: logs.CfnLogStreamProps = {
  logGroupName: 'logGroupName',

  // the properties below are optional
  logStreamName: 'logStreamName',
};

Properties ​

logGroupNamestring | ILogGroupReflog_group_nametyping.Union[str, ILogGroupRef]logGroupNameStringLogGroupNamestringLogGroupNameinterface{}required#
The name of the log group where the log stream is created.
logStreamNamestringlog_stream_namestrlogStreamNameStringLogStreamNamestringLogStreamName*string#
The name of the log stream.

The name must be unique within the log group.

Used as props by ​