aws-cdk-lib.aws_lex.CfnBot.BotLocaleProperty

interface BotLocaleProperty

LanguageType name
.NETAmazon.CDK.AWS.Lex.CfnBot.BotLocaleProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_BotLocaleProperty
Javasoftware.amazon.awscdk.services.lex.CfnBot.BotLocaleProperty
Pythonaws_cdk.aws_lex.CfnBot.BotLocaleProperty
TypeScript aws-cdk-lib » aws_lex » CfnBot » BotLocaleProperty

Provides configuration information for a locale.

Example

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

Properties

NameTypeDescription
localeIdstringThe identifier of the language and locale that the bot will be used in.
nluConfidenceThresholdnumberDetermines 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.
customVocabulary?IResolvable | CustomVocabularyPropertySpecifies a custom vocabulary to use with a specific locale.
description?stringA description of the bot locale.
intents?IResolvable | IResolvable | IntentProperty[]One or more intents defined for the locale.
slotTypes?IResolvable | IResolvable | SlotTypeProperty[]One or more slot types defined for the locale.
voiceSettings?IResolvable | VoiceSettingsPropertyDefines settings for using an Amazon Polly voice to communicate with a user.

localeId

Type: string

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

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.


customVocabulary?

Type: IResolvable | CustomVocabularyProperty (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.


intents?

Type: IResolvable | IResolvable | IntentProperty[] (optional)

One or more intents defined for the locale.


slotTypes?

Type: IResolvable | IResolvable | SlotTypeProperty[] (optional)

One or more slot types defined for the locale.


voiceSettings?

Type: IResolvable | VoiceSettingsProperty (optional)

Defines settings for using an Amazon Polly voice to communicate with a user.