# StreamOptions

Properties for a new LogStream created from a LogGroup.

- Source: [`aws-logs/lib/log-group.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/aws-logs/lib/log-group.ts#L767)

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

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

  **Default:** Automatically generated

  The name must be unique within the log group.
