Skip to content
v2.274.0

CloudWatchLogsConfigurationProperty Struct ​

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 ​

ts
// 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 ​

enabledboolean | IResolvableenabledtyping.Union[bool, IResolvable]enabledBooleanEnabledboolEnabledinterface{}required#
Whether CloudWatch Logs delivery is enabled.
logGroupNameoptionalstringlog_group_nameoptionalstrlogGroupNameoptionalStringLogGroupNameoptionalstringLogGroupNameoptional*string#
The CloudWatch log group name.

When Enabled is true and LogGroupName is omitted, the service uses the default '/aws/kinesis/<channelName>/<channelId>'.

logStreamNameoptionalstringlog_stream_nameoptionalstrlogStreamNameoptionalStringLogStreamNameoptionalstringLogStreamNameoptional*string= "DestinationDelivery"#
The CloudWatch log stream name.

Defaults to the literal string 'DestinationDelivery' when omitted.