variable "enabled" { type = bool default = true description = "Whether to create Lex resources" } variable "region" { type = string description = "AWS region" } variable "namespace" { type = string default = "ai" description = "Namespace for resource naming" } variable "lab" { type = string description = "Lab identifier" } variable "stage" { type = string default = "test" description = "Stage" } variable "name" { type = string default = "lex" description = "Resource name suffix" } # Bot settings variable "bot_description" { type = string default = "AI Lab Chatbot for testing Lex capabilities" description = "Description of the Lex bot" } variable "data_privacy" { type = object({ child_directed = bool }) default = { child_directed = false } description = "Data privacy settings for the bot" } variable "idle_session_ttl_in_seconds" { type = number default = 300 description = "Time in seconds that a session remains active" } # Locale settings variable "locale_id" { type = string default = "en_US" description = "The locale ID for the bot" } variable "nlu_confidence_threshold" { type = number default = 0.40 description = "Minimum confidence for NLU to consider intent match" } # Voice settings variable "voice_id" { type = string default = "Joanna" description = "Amazon Polly voice ID for the bot" } variable "voice_engine" { type = string default = "neural" description = "Voice engine type (standard or neural)" } # Intent settings variable "create_sample_intents" { type = bool default = true description = "Create sample intents for demonstration" } variable "tags" { type = map(string) default = {} description = "Additional tags" }