aws-cdk-lib.aws_lex.CfnBotAlias.TextLogSettingProperty

interface TextLogSettingProperty

LanguageType name
.NETAmazon.CDK.AWS.Lex.CfnBotAlias.TextLogSettingProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBotAlias_TextLogSettingProperty
Javasoftware.amazon.awscdk.services.lex.CfnBotAlias.TextLogSettingProperty
Pythonaws_cdk.aws_lex.CfnBotAlias.TextLogSettingProperty
TypeScript aws-cdk-lib » aws_lex » CfnBotAlias » 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.CfnBotAlias.TextLogSettingProperty = {
  destination: {
    cloudWatch: {
      cloudWatchLogGroupArn: 'cloudWatchLogGroupArn',
      logPrefix: 'logPrefix',
    },
  },
  enabled: false,
};

Properties

NameTypeDescription
destinationIResolvable | TextLogDestinationPropertyDefines 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

Defines 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.