interface BotLocaleProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins.CfnBotPropsMixin.BotLocaleProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslex/mixins#CfnBotPropsMixin_BotLocaleProperty |
Java | software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotPropsMixin.BotLocaleProperty |
Python | aws_cdk.mixins_preview.aws_lex.mixins.CfnBotPropsMixin.BotLocaleProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lex » mixins » CfnBotPropsMixin » BotLocaleProperty |
Provides configuration information for a locale.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-botlocale.html
Example
// The generated example for this type would exceed 500 lines,
// and has been elided for readability.
Properties
| Name | Type | Description |
|---|---|---|
| custom | IResolvable | Custom | Specifies a custom vocabulary to use with a specific locale. |
| description? | string | A description of the bot locale. |
| generative | IResolvable | Generative | |
| intents? | IResolvable | (IResolvable | Intent)[] | One or more intents defined for the locale. |
| locale | string | The identifier of the language and locale that the bot will be used in. |
| nlu | number | Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent , AMAZON.KendraSearchIntent , or both when returning alternative intents. You must configure an AMAZON.FallbackIntent . AMAZON.KendraSearchIntent is only inserted if it is configured for the bot. |
| slot | IResolvable | (IResolvable | Slot)[] | One or more slot types defined for the locale. |
| voice | IResolvable | Voice | Defines settings for using an Amazon Polly voice to communicate with a user. |
customVocabulary?
Type:
IResolvable | Custom
(optional)
Specifies a custom vocabulary to use with a specific locale.
description?
Type:
string
(optional)
A description of the bot locale.
Use this to help identify the bot locale in lists.
generativeAiSettings?
Type:
IResolvable | Generative
(optional)
intents?
Type:
IResolvable | (IResolvable | Intent)[]
(optional)
One or more intents defined for the locale.
localeId?
Type:
string
(optional)
The identifier of the language and locale that the bot will be used in.
The string must match one of the supported locales.
nluConfidenceThreshold?
Type:
number
(optional)
Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent , AMAZON.KendraSearchIntent , or both when returning alternative intents. You must configure an AMAZON.FallbackIntent . AMAZON.KendraSearchIntent is only inserted if it is configured for the bot.
slotTypes?
Type:
IResolvable | (IResolvable | Slot)[]
(optional)
One or more slot types defined for the locale.
voiceSettings?
Type:
IResolvable | Voice
(optional)
Defines settings for using an Amazon Polly voice to communicate with a user.
Valid values include:
standardneurallong-formgenerative

.NET
Go
Java
Python
TypeScript