aws-cdk-lib.aws_lex.CfnBot.TextLogSettingProperty

interface TextLogSettingProperty

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

Defines settings to enable text conversation logs.

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 textLogSettingProperty: lex.CfnBot.TextLogSettingProperty = {
  destination: {
    cloudWatch: {
      cloudWatchLogGroupArn: 'cloudWatchLogGroupArn',
      logPrefix: 'logPrefix',
    },
  },
  enabled: false,
};

Properties

NameTypeDescription
destinationIResolvable | TextLogDestinationPropertySpecifies the Amazon CloudWatch Logs destination log group for conversation text logs.
enabledboolean | IResolvableDetermines whether conversation logs should be stored for an alias.

destination

Type: IResolvable | TextLogDestinationProperty

Specifies the Amazon CloudWatch Logs destination log group for conversation text logs.


enabled

Type: boolean | IResolvable

Determines whether conversation logs should be stored for an alias.