Resource: aws_lexv2models_bot_locale

Terraform resource for managing an AWS Lex V2 Models Bot Locale.

Example Usage

Basic Usage

resource "aws_lexv2models_bot_locale" "example" {
  bot_id                           = aws_lexv2models_bot.example.id
  bot_version                      = "DRAFT"
  locale_id                        = "en_US"
  n_lu_intent_confidence_threshold = 0.70
}

Voice Settings

resource "aws_lexv2models_bot_locale" "example" {
  bot_id                           = aws_lexv2models_bot.example.id
  bot_version                      = "DRAFT"
  locale_id                        = "en_US"
  n_lu_intent_confidence_threshold = 0.70

  voice_settings {
    voice_id = "Kendra"
    engine   = "standard"
  }
}

Argument Reference

The following arguments are required:

The following arguments are optional:

Voice Settings

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Timeouts

Configuration options:

Import

In Terraform v1.5.0 and later, use an import block to import Lex V2 Models Bot Locale using the id. For example:

import {
  to = aws_lexv2models_bot_locale.example
  id = "en_US,abcd-12345678,1"
}

Using terraform import, import Lex V2 Models Bot Locale using the id. For example:

% terraform import aws_lexv2models_bot_locale.example en_US,abcd-12345678,1