Skip to content
v2.276.0

CloudWatchLogGroupLogDestinationProperty Struct ​

The Amazon CloudWatch Logs log group where the text and metadata logs are delivered.

The log group must exist before you enable logging.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lex as lex } from 'aws-cdk-lib';
const cloudWatchLogGroupLogDestinationProperty: lex.CfnBot.CloudWatchLogGroupLogDestinationProperty = {
  cloudWatchLogGroupArn: 'cloudWatchLogGroupArn',
  logPrefix: 'logPrefix',
};

Properties ​

cloudWatchLogGroupArnstringcloud_watch_log_group_arnstrcloudWatchLogGroupArnStringCloudWatchLogGroupArnstringCloudWatchLogGroupArn*stringrequired#
The Amazon Resource Name (ARN) of the log group where text and metadata logs are delivered.
logPrefixstringlog_prefixstrlogPrefixStringLogPrefixstringLogPrefix*stringrequired#
The prefix of the log stream name within the log group that you specified.