# BotLocaleProperty

Provides configuration information for a locale.

- Source: Generated code
- Type last changed: v2.258.0 · 4 Jun 2026

## Example

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

## Properties

- `audioFillerSettings`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.AudioFillerSettingsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.AudioFillerSettingsProperty.html)

- `customVocabulary`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.CustomVocabularyProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.CustomVocabularyProperty.html) — Specifies a custom vocabulary to use with a specific locale.

- `description`: string — A description of the bot locale.

  Use this to help identify the bot locale in lists.

- `generativeAiSettings`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.GenerativeAISettingsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.GenerativeAISettingsProperty.html)

- `intents`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.IntentProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.IntentProperty.html)[] — One or more intents defined for the locale.

- `localeId`: string (required) — The identifier of the language and locale that the bot will be used in.

  The string must match one of the supported locales.

- `nluConfidenceThreshold`: number (required) — 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`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.SlotTypeProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SlotTypeProperty.html)[] — One or more slot types defined for the locale.

- `speechDetectionSensitivity`: string

- `speechRecognitionSettings`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.SpeechRecognitionSettingsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SpeechRecognitionSettingsProperty.html)

- `unifiedSpeechSettings`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.UnifiedSpeechSettingsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.UnifiedSpeechSettingsProperty.html)

- `voiceSettings`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.VoiceSettingsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.VoiceSettingsProperty.html) — Defines settings for using an Amazon Polly voice to communicate with a user.

  Valid values include:

  - `standard`
  - `neural`
  - `long-form`
  - `generative`
