interface CfnLogStreamProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Logs.CfnLogStreamProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslogs#CfnLogStreamProps |
Java | software.amazon.awscdk.services.logs.CfnLogStreamProps |
Python | aws_cdk.aws_logs.CfnLogStreamProps |
TypeScript | aws-cdk-lib » aws_logs » CfnLogStreamProps |
Properties for defining a CfnLogStream
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-logstream.html
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 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.