interface CfnLogStreamProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Logs.CfnLogStreamProps |
![]() | software.amazon.awscdk.services.logs.CfnLogStreamProps |
![]() | aws_cdk.aws_logs.CfnLogStreamProps |
![]() | @aws-cdk/aws-logs » CfnLogStreamProps |
Properties for defining a CfnLogStream
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as logs from '@aws-cdk/aws-logs';
const cfnLogStreamProps: logs.CfnLogStreamProps = {
logGroupName: 'logGroupName',
// the properties below are optional
logStreamName: 'logStreamName',
};
Properties
Name | Type | Description |
---|---|---|
log | string | The name of the log group where the log stream is created. |
log | string | The name of the log stream. |
logGroupName
Type:
string
The name of the log group where the log stream is created.
logStreamName?
Type:
string
(optional)
The name of the log stream.
The name must be unique within the log group.