aws-cdk-lib.aws_lex.CfnBotAlias.CloudWatchLogGroupLogDestinationProperty

interface CloudWatchLogGroupLogDestinationProperty

LanguageType name
.NETAmazon.CDK.AWS.Lex.CfnBotAlias.CloudWatchLogGroupLogDestinationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBotAlias_CloudWatchLogGroupLogDestinationProperty
Javasoftware.amazon.awscdk.services.lex.CfnBotAlias.CloudWatchLogGroupLogDestinationProperty
Pythonaws_cdk.aws_lex.CfnBotAlias.CloudWatchLogGroupLogDestinationProperty
TypeScript aws-cdk-lib » aws_lex » CfnBotAlias » CloudWatchLogGroupLogDestinationProperty

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

The log group must exist before you enable logging.

Example

// 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.CfnBotAlias.CloudWatchLogGroupLogDestinationProperty = {
  cloudWatchLogGroupArn: 'cloudWatchLogGroupArn',
  logPrefix: 'logPrefix',
};

Properties

NameTypeDescription
cloudWatchLogGroupArnstringThe Amazon Resource Name (ARN) of the log group where text and metadata logs are delivered.
logPrefixstringThe prefix of the log stream name within the log group that you specified.

cloudWatchLogGroupArn

Type: string

The Amazon Resource Name (ARN) of the log group where text and metadata logs are delivered.


logPrefix

Type: string

The prefix of the log stream name within the log group that you specified.