Skip to content
v2.277.0

BotLocaleProperty Struct ​

Provides configuration information for a locale.

Example ​

ts
// The generated example for this type would exceed 500 lines,
// and has been elided for readability.
python

java

csharp
// Install: dotnet add package Amazon.CDK.Lib

go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2

Properties ​

audioFillerSettingsoptionalIResolvable | CfnBot.AudioFillerSettingsPropertyaudio_filler_settingsoptionaltyping.Union[IResolvable, AudioFillerSettingsProperty]audioFillerSettingsoptionalIResolvableAudioFillerSettingsoptionalIResolvableAudioFillerSettingsoptionalinterface{}#
customVocabularyoptionalIResolvable | CfnBot.CustomVocabularyPropertycustom_vocabularyoptionaltyping.Union[IResolvable, CustomVocabularyProperty]customVocabularyoptionalIResolvableCustomVocabularyoptionalIResolvableCustomVocabularyoptionalinterface{}#
Specifies a custom vocabulary to use with a specific locale.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#
A description of the bot locale.

Use this to help identify the bot locale in lists.

generativeAiSettingsoptionalIResolvable | CfnBot.GenerativeAISettingsPropertygenerative_ai_settingsoptionaltyping.Union[IResolvable, GenerativeAISettingsProperty]generativeAiSettingsoptionalIResolvableGenerativeAiSettingsoptionalIResolvableGenerativeAiSettingsoptionalinterface{}#
intentsoptionalIResolvable | IResolvable | CfnBot.IntentProperty[]intentsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, IntentProperty]]]intentsoptionalIResolvableIntentsoptionalIResolvableIntentsoptionalinterface{}#
One or more intents defined for the locale.
localeIdstringlocale_idstrlocaleIdStringLocaleIdstringLocaleId*stringrequired#
The identifier of the language and locale that the bot will be used in.

The string must match one of the supported locales.

nluConfidenceThresholdnumbernlu_confidence_thresholdint | floatnluConfidenceThresholdNumberNluConfidenceThresholddoubleNluConfidenceThreshold*float64required#
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.
slotTypesoptionalIResolvable | IResolvable | CfnBot.SlotTypeProperty[]slot_typesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, SlotTypeProperty]]]slotTypesoptionalIResolvableSlotTypesoptionalIResolvableSlotTypesoptionalinterface{}#
One or more slot types defined for the locale.
speechDetectionSensitivityoptionalstringspeech_detection_sensitivityoptionalstrspeechDetectionSensitivityoptionalStringSpeechDetectionSensitivityoptionalstringSpeechDetectionSensitivityoptional*string#
speechRecognitionSettingsoptionalIResolvable | CfnBot.SpeechRecognitionSettingsPropertyspeech_recognition_settingsoptionaltyping.Union[IResolvable, SpeechRecognitionSettingsProperty]speechRecognitionSettingsoptionalIResolvableSpeechRecognitionSettingsoptionalIResolvableSpeechRecognitionSettingsoptionalinterface{}#
unifiedSpeechSettingsoptionalIResolvable | CfnBot.UnifiedSpeechSettingsPropertyunified_speech_settingsoptionaltyping.Union[IResolvable, UnifiedSpeechSettingsProperty]unifiedSpeechSettingsoptionalIResolvableUnifiedSpeechSettingsoptionalIResolvableUnifiedSpeechSettingsoptionalinterface{}#
voiceSettingsoptionalIResolvable | CfnBot.VoiceSettingsPropertyvoice_settingsoptionaltyping.Union[IResolvable, VoiceSettingsProperty]voiceSettingsoptionalIResolvableVoiceSettingsoptionalIResolvableVoiceSettingsoptionalinterface{}#
Defines settings for using an Amazon Polly voice to communicate with a user.

Valid values include:

  • standard
  • neural
  • long-form
  • generative