interface TestBotAliasSettingsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins.CfnBotPropsMixin.TestBotAliasSettingsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslex/mixins#CfnBotPropsMixin_TestBotAliasSettingsProperty |
Java | software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotPropsMixin.TestBotAliasSettingsProperty |
Python | aws_cdk.mixins_preview.aws_lex.mixins.CfnBotPropsMixin.TestBotAliasSettingsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lex » mixins » CfnBotPropsMixin » TestBotAliasSettingsProperty |
Specifies configuration settings for the alias used to test the bot.
If the TestBotAliasSettings property is not specified, the settings are configured with default values.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as lex_mixins } from '@aws-cdk/mixins-preview/aws-lex';
declare const sentimentAnalysisSettings: any;
const testBotAliasSettingsProperty: lex_mixins.CfnBotPropsMixin.TestBotAliasSettingsProperty = {
botAliasLocaleSettings: [{
botAliasLocaleSetting: {
codeHookSpecification: {
lambdaCodeHook: {
codeHookInterfaceVersion: 'codeHookInterfaceVersion',
lambdaArn: 'lambdaArn',
},
},
enabled: false,
},
localeId: 'localeId',
}],
conversationLogSettings: {
audioLogSettings: [{
destination: {
s3Bucket: {
kmsKeyArn: 'kmsKeyArn',
logPrefix: 'logPrefix',
s3BucketArn: 's3BucketArn',
},
},
enabled: false,
}],
textLogSettings: [{
destination: {
cloudWatch: {
cloudWatchLogGroupArn: 'cloudWatchLogGroupArn',
logPrefix: 'logPrefix',
},
},
enabled: false,
}],
},
description: 'description',
sentimentAnalysisSettings: sentimentAnalysisSettings,
};
Properties
| Name | Type | Description |
|---|---|---|
| bot | IResolvable | (IResolvable | Bot)[] | Specifies settings that are unique to a locale. |
| conversation | IResolvable | Conversation | Specifies settings for conversation logs that save audio, text, and metadata information for conversations with your users. |
| description? | string | Specifies a description for the test bot alias. |
| sentiment | any | Specifies whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances. |
botAliasLocaleSettings?
Type:
IResolvable | (IResolvable | Bot)[]
(optional)
Specifies settings that are unique to a locale.
For example, you can use a different Lambda function depending on the bot's locale.
conversationLogSettings?
Type:
IResolvable | Conversation
(optional)
Specifies settings for conversation logs that save audio, text, and metadata information for conversations with your users.
description?
Type:
string
(optional)
Specifies a description for the test bot alias.
sentimentAnalysisSettings?
Type:
any
(optional)
Specifies whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.

.NET
Go
Java
Python
TypeScript