interface LogStreamAttributes
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Logs.LogStreamAttributes |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslogs#LogStreamAttributes |
Java | software.amazon.awscdk.services.logs.LogStreamAttributes |
Python | aws_cdk.aws_logs.LogStreamAttributes |
TypeScript (source) | aws-cdk-lib » aws_logs » LogStreamAttributes |
Attributes for importing a LogStream.
Example
// 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
| Name | Type | Description |
|---|---|---|
| log | string | The name of the log group. |
| log | string | The name of the log stream. |
logGroupName
Type:
string
The name of the log group.
logStreamName
Type:
string
The name of the log stream.

.NET
Go
Java
Python
TypeScript (