# LogStreamAttributes

Attributes for importing a LogStream.

- Source: [`aws-logs/lib/log-stream.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-logs/lib/log-stream.ts#L22)
- Type last changed: v2.235.0 · 15 Jan 2026

## 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 logStreamAttributes: logs.LogStreamAttributes = {
  logGroupName: 'logGroupName',
  logStreamName: 'logStreamName',
};
```

## Properties

- `logGroupName`: string (required) — The name of the log group.

  **Default:** When not provided, logStreamRef will throw an error

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