interface StreamOptions
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Logs.StreamOptions |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslogs#StreamOptions |
![]() | software.amazon.awscdk.services.logs.StreamOptions |
![]() | aws_cdk.aws_logs.StreamOptions |
![]() | aws-cdk-lib » aws_logs » StreamOptions |
Properties for a new LogStream created from a LogGroup.
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 streamOptions: logs.StreamOptions = {
logStreamName: 'logStreamName',
};
Properties
Name | Type | Description |
---|---|---|
log | string | The name of the log stream to create. |
logStreamName?
Type:
string
(optional, default: Automatically generated)
The name of the log stream to create.
The name must be unique within the log group.