V2models Bot Locale Args
data class V2modelsBotLocaleArgs(val botId: Output<String>? = null, val botVersion: Output<String>? = null, val description: Output<String>? = null, val localeId: Output<String>? = null, val nLuIntentConfidenceThreshold: Output<Double>? = null, val name: Output<String>? = null, val timeouts: Output<V2modelsBotLocaleTimeoutsArgs>? = null, val voiceSettings: Output<V2modelsBotLocaleVoiceSettingsArgs>? = null) : ConvertibleToJava<V2modelsBotLocaleArgs>
Resource for managing an AWS Lex V2 Models Bot Locale.
Example Usage
Basic Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.lex.V2modelsBotLocale;
import com.pulumi.aws.lex.V2modelsBotLocaleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new V2modelsBotLocale("example", V2modelsBotLocaleArgs.builder()
.botId(aws_lexv2models_bot.example().id())
.botVersion("DRAFT")
.localeId("en_US")
.nLuIntentConfidenceThreshold(0.7)
.build());
}
}
Content copied to clipboard
Voice Settings
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.lex.V2modelsBotLocale;
import com.pulumi.aws.lex.V2modelsBotLocaleArgs;
import com.pulumi.aws.lex.inputs.V2modelsBotLocaleVoiceSettingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new V2modelsBotLocale("example", V2modelsBotLocaleArgs.builder()
.botId(aws_lexv2models_bot.example().id())
.botVersion("DRAFT")
.localeId("en_US")
.nLuIntentConfidenceThreshold(0.7)
.voiceSettings(V2modelsBotLocaleVoiceSettingsArgs.builder()
.voiceId("Kendra")
.engine("standard")
.build())
.build());
}
}
Content copied to clipboard
Import
Using pulumi import
, import Lex V2 Models Bot Locale using the id
. For example:
$ pulumi import aws:lex/v2modelsBotLocale:V2modelsBotLocale example bot_locale-id-12345678
Content copied to clipboard
Constructors
Link copied to clipboard
fun V2modelsBotLocaleArgs(botId: Output<String>? = null, botVersion: Output<String>? = null, description: Output<String>? = null, localeId: Output<String>? = null, nLuIntentConfidenceThreshold: Output<Double>? = null, name: Output<String>? = null, timeouts: Output<V2modelsBotLocaleTimeoutsArgs>? = null, voiceSettings: Output<V2modelsBotLocaleVoiceSettingsArgs>? = null)
Functions
Properties
Link copied to clipboard
Identifier of the language and locale that the bot will be used in. The string must match one of the supported locales. All of the intents, slot types, and slots used in the bot must have the same locale. For more information, see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html)