# CfnLogStreamProps

Properties for defining a `CfnLogStream`.

Extends: CfnLogStreamProps
Used as props by: CfnLogStream

- Source: Generated code
- Type last changed: v2.227.0 · 21 Nov 2025

## 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

- `logGroupName`: string | [ILogGroupRef](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_logs.ILogGroupRef.html) (required) — The name of the log group where the log stream is created.

- `logStreamName`: string — The name of the log stream.

  The name must be unique within the log group.
