AWS::Lex::Bot BotLocale
Provides configuration information for a locale.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "CustomVocabulary" :
CustomVocabulary
, "Description" :String
, "Intents" :[ Intent, ... ]
, "LocaleId" :String
, "NluConfidenceThreshold" :Number
, "SlotTypes" :[ SlotType, ... ]
, "VoiceSettings" :VoiceSettings
}
YAML
CustomVocabulary:
CustomVocabulary
Description:String
Intents:- Intent
LocaleId:String
NluConfidenceThreshold:Number
SlotTypes:- SlotType
VoiceSettings:VoiceSettings
Properties
CustomVocabulary
-
Specifies a custom vocabulary to use with a specific locale.
Required: No
Type: CustomVocabulary
Update requires: No interruption
Description
-
A description of the bot locale. Use this to help identify the bot locale in lists.
Required: No
Type: String
Maximum:
200
Update requires: No interruption
Intents
-
One or more intents defined for the locale.
Required: No
Type: Array of Intent
Maximum:
1000
Update requires: No interruption
LocaleId
-
The identifier of the language and locale that the bot will be used in. The string must match one of the supported locales.
Required: Yes
Type: String
Update requires: No interruption
NluConfidenceThreshold
-
Determines the threshold where Amazon Lex will insert the
AMAZON.FallbackIntent
,AMAZON.KendraSearchIntent
, or both when returning alternative intents. You must configure anAMAZON.FallbackIntent
.AMAZON.KendraSearchIntent
is only inserted if it is configured for the bot.Required: Yes
Type: Number
Minimum:
0
Maximum:
1
Update requires: No interruption
SlotTypes
-
One or more slot types defined for the locale.
Required: No
Type: Array of SlotType
Maximum:
250
Update requires: No interruption
VoiceSettings
-
Defines settings for using an Amazon Polly voice to communicate with a user.
Valid values include:
-
standard
-
neural
-
long-form
-
generative
Required: No
Type: VoiceSettings
Update requires: No interruption
-