interface CfnBotAliasMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins.CfnBotAliasMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslex/mixins#CfnBotAliasMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotAliasMixinProps |
Python | aws_cdk.mixins_preview.aws_lex.mixins.CfnBotAliasMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_lex » mixins » CfnBotAliasMixinProps |
Properties for CfnBotAliasPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lex-botalias.html
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 cfnBotAliasMixinProps: lex_mixins.CfnBotAliasMixinProps = {
botAliasLocaleSettings: [{
botAliasLocaleSetting: {
codeHookSpecification: {
lambdaCodeHook: {
codeHookInterfaceVersion: 'codeHookInterfaceVersion',
lambdaArn: 'lambdaArn',
},
},
enabled: false,
},
localeId: 'localeId',
}],
botAliasName: 'botAliasName',
botAliasTags: [{
key: 'key',
value: 'value',
}],
botId: 'botId',
botVersion: 'botVersion',
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. |
| bot | string | The name of the bot alias. |
| bot | IResolvable | (IResolvable | Cfn)[] | An array of key-value pairs to apply to this resource. |
| bot | string | The unique identifier of the bot. |
| bot | string | The version of the bot that the bot alias references. |
| conversation | IResolvable | Conversation | Specifies whether Amazon Lex logs text and audio for conversations with the bot. |
| description? | string | The description of the bot alias. |
| sentiment | any | Determines 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 different Lambda function depending on the bot's locale.
botAliasName?
Type:
string
(optional)
The name of the bot alias.
botAliasTags?
Type:
IResolvable | (IResolvable | Cfn)[]
(optional)
An array of key-value pairs to apply to this resource.
You can only add tags when you specify an alias.
For more information, see Tag .
botId?
Type:
string
(optional)
The unique identifier of the bot.
botVersion?
Type:
string
(optional)
The version of the bot that the bot alias references.
conversationLogSettings?
Type:
IResolvable | Conversation
(optional)
Specifies whether Amazon Lex logs text and audio for conversations with the bot.
When you enable conversation logs, text logs store text input, transcripts of audio input, and associated metadata in Amazon CloudWatch logs. Audio logs store input in Amazon S3 .
description?
Type:
string
(optional)
The description of the bot alias.
sentimentAnalysisSettings?
Type:
any
(optional)
Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.

.NET
Go
Java
Python
TypeScript