interface CloudWatchLogsConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Kinesis.CfnChannel.CloudWatchLogsConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awskinesis#CfnChannel_CloudWatchLogsConfigurationProperty |
Java | software.amazon.awscdk.services.kinesis.CfnChannel.CloudWatchLogsConfigurationProperty |
Python | aws_cdk.aws_kinesis.CfnChannel.CloudWatchLogsConfigurationProperty |
TypeScript | aws-cdk-lib » aws_kinesis » CfnChannel » CloudWatchLogsConfigurationProperty |
CloudWatch Logs configuration for the channel.
When Enabled is true and LogGroupName is omitted, the service uses a default group derived from the channel name and id; LogStreamName defaults to the literal string 'DestinationDelivery'.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kinesis as kinesis } from 'aws-cdk-lib';
const cloudWatchLogsConfigurationProperty: kinesis.CfnChannel.CloudWatchLogsConfigurationProperty = {
enabled: false,
// the properties below are optional
logGroupName: 'logGroupName',
logStreamName: 'logStreamName',
};
Properties
| Name | Type | Description |
|---|---|---|
| enabled | boolean | IResolvable | Whether CloudWatch Logs delivery is enabled. |
| log | string | The CloudWatch log group name. |
| log | string | The CloudWatch log stream name. |
enabled
Type:
boolean | IResolvable
Whether CloudWatch Logs delivery is enabled.
logGroupName?
Type:
string
(optional)
The CloudWatch log group name.
When Enabled is true and LogGroupName is omitted, the service uses the default '/aws/kinesis/<channelName>/<channelId>'.
logStreamName?
Type:
string
(optional, default: "DestinationDelivery")
The CloudWatch log stream name.
Defaults to the literal string 'DestinationDelivery' when omitted.

.NET
Go
Java
Python
TypeScript