1. Packages
  2. AWS
  3. API Docs
  4. lex
  5. V2modelsBotLocale
AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi

aws.lex.V2modelsBotLocale

Explore with Pulumi AI

aws logo
AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi

    Resource for managing an AWS Lex V2 Models Bot Locale.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.lex.V2modelsBotLocale("example", {
        botId: exampleAwsLexv2modelsBot.id,
        botVersion: "DRAFT",
        localeId: "en_US",
        nLuIntentConfidenceThreshold: 0.7,
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.lex.V2modelsBotLocale("example",
        bot_id=example_aws_lexv2models_bot["id"],
        bot_version="DRAFT",
        locale_id="en_US",
        n_lu_intent_confidence_threshold=0.7)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lex"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := lex.NewV2modelsBotLocale(ctx, "example", &lex.V2modelsBotLocaleArgs{
    			BotId:                        pulumi.Any(exampleAwsLexv2modelsBot.Id),
    			BotVersion:                   pulumi.String("DRAFT"),
    			LocaleId:                     pulumi.String("en_US"),
    			NLuIntentConfidenceThreshold: pulumi.Float64(0.7),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.Lex.V2modelsBotLocale("example", new()
        {
            BotId = exampleAwsLexv2modelsBot.Id,
            BotVersion = "DRAFT",
            LocaleId = "en_US",
            NLuIntentConfidenceThreshold = 0.7,
        });
    
    });
    
    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(exampleAwsLexv2modelsBot.id())
                .botVersion("DRAFT")
                .localeId("en_US")
                .nLuIntentConfidenceThreshold(0.7)
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:lex:V2modelsBotLocale
        properties:
          botId: ${exampleAwsLexv2modelsBot.id}
          botVersion: DRAFT
          localeId: en_US
          nLuIntentConfidenceThreshold: 0.7
    

    Voice Settings

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.lex.V2modelsBotLocale("example", {
        botId: exampleAwsLexv2modelsBot.id,
        botVersion: "DRAFT",
        localeId: "en_US",
        nLuIntentConfidenceThreshold: 0.7,
        voiceSettings: {
            voiceId: "Kendra",
            engine: "standard",
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.lex.V2modelsBotLocale("example",
        bot_id=example_aws_lexv2models_bot["id"],
        bot_version="DRAFT",
        locale_id="en_US",
        n_lu_intent_confidence_threshold=0.7,
        voice_settings={
            "voice_id": "Kendra",
            "engine": "standard",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lex"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := lex.NewV2modelsBotLocale(ctx, "example", &lex.V2modelsBotLocaleArgs{
    			BotId:                        pulumi.Any(exampleAwsLexv2modelsBot.Id),
    			BotVersion:                   pulumi.String("DRAFT"),
    			LocaleId:                     pulumi.String("en_US"),
    			NLuIntentConfidenceThreshold: pulumi.Float64(0.7),
    			VoiceSettings: &lex.V2modelsBotLocaleVoiceSettingsArgs{
    				VoiceId: pulumi.String("Kendra"),
    				Engine:  pulumi.String("standard"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.Lex.V2modelsBotLocale("example", new()
        {
            BotId = exampleAwsLexv2modelsBot.Id,
            BotVersion = "DRAFT",
            LocaleId = "en_US",
            NLuIntentConfidenceThreshold = 0.7,
            VoiceSettings = new Aws.Lex.Inputs.V2modelsBotLocaleVoiceSettingsArgs
            {
                VoiceId = "Kendra",
                Engine = "standard",
            },
        });
    
    });
    
    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(exampleAwsLexv2modelsBot.id())
                .botVersion("DRAFT")
                .localeId("en_US")
                .nLuIntentConfidenceThreshold(0.7)
                .voiceSettings(V2modelsBotLocaleVoiceSettingsArgs.builder()
                    .voiceId("Kendra")
                    .engine("standard")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:lex:V2modelsBotLocale
        properties:
          botId: ${exampleAwsLexv2modelsBot.id}
          botVersion: DRAFT
          localeId: en_US
          nLuIntentConfidenceThreshold: 0.7
          voiceSettings:
            voiceId: Kendra
            engine: standard
    

    Create V2modelsBotLocale Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new V2modelsBotLocale(name: string, args: V2modelsBotLocaleArgs, opts?: CustomResourceOptions);
    @overload
    def V2modelsBotLocale(resource_name: str,
                          args: V2modelsBotLocaleArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def V2modelsBotLocale(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          bot_id: Optional[str] = None,
                          bot_version: Optional[str] = None,
                          locale_id: Optional[str] = None,
                          n_lu_intent_confidence_threshold: Optional[float] = None,
                          description: Optional[str] = None,
                          name: Optional[str] = None,
                          timeouts: Optional[V2modelsBotLocaleTimeoutsArgs] = None,
                          voice_settings: Optional[V2modelsBotLocaleVoiceSettingsArgs] = None)
    func NewV2modelsBotLocale(ctx *Context, name string, args V2modelsBotLocaleArgs, opts ...ResourceOption) (*V2modelsBotLocale, error)
    public V2modelsBotLocale(string name, V2modelsBotLocaleArgs args, CustomResourceOptions? opts = null)
    public V2modelsBotLocale(String name, V2modelsBotLocaleArgs args)
    public V2modelsBotLocale(String name, V2modelsBotLocaleArgs args, CustomResourceOptions options)
    
    type: aws:lex:V2modelsBotLocale
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args V2modelsBotLocaleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args V2modelsBotLocaleArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args V2modelsBotLocaleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args V2modelsBotLocaleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args V2modelsBotLocaleArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var v2modelsBotLocaleResource = new Aws.Lex.V2modelsBotLocale("v2modelsBotLocaleResource", new()
    {
        BotId = "string",
        BotVersion = "string",
        LocaleId = "string",
        NLuIntentConfidenceThreshold = 0,
        Description = "string",
        Name = "string",
        Timeouts = new Aws.Lex.Inputs.V2modelsBotLocaleTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
        VoiceSettings = new Aws.Lex.Inputs.V2modelsBotLocaleVoiceSettingsArgs
        {
            VoiceId = "string",
            Engine = "string",
        },
    });
    
    example, err := lex.NewV2modelsBotLocale(ctx, "v2modelsBotLocaleResource", &lex.V2modelsBotLocaleArgs{
    	BotId:                        pulumi.String("string"),
    	BotVersion:                   pulumi.String("string"),
    	LocaleId:                     pulumi.String("string"),
    	NLuIntentConfidenceThreshold: pulumi.Float64(0),
    	Description:                  pulumi.String("string"),
    	Name:                         pulumi.String("string"),
    	Timeouts: &lex.V2modelsBotLocaleTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	VoiceSettings: &lex.V2modelsBotLocaleVoiceSettingsArgs{
    		VoiceId: pulumi.String("string"),
    		Engine:  pulumi.String("string"),
    	},
    })
    
    var v2modelsBotLocaleResource = new V2modelsBotLocale("v2modelsBotLocaleResource", V2modelsBotLocaleArgs.builder()
        .botId("string")
        .botVersion("string")
        .localeId("string")
        .nLuIntentConfidenceThreshold(0)
        .description("string")
        .name("string")
        .timeouts(V2modelsBotLocaleTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .voiceSettings(V2modelsBotLocaleVoiceSettingsArgs.builder()
            .voiceId("string")
            .engine("string")
            .build())
        .build());
    
    v2models_bot_locale_resource = aws.lex.V2modelsBotLocale("v2modelsBotLocaleResource",
        bot_id="string",
        bot_version="string",
        locale_id="string",
        n_lu_intent_confidence_threshold=0,
        description="string",
        name="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        },
        voice_settings={
            "voiceId": "string",
            "engine": "string",
        })
    
    const v2modelsBotLocaleResource = new aws.lex.V2modelsBotLocale("v2modelsBotLocaleResource", {
        botId: "string",
        botVersion: "string",
        localeId: "string",
        nLuIntentConfidenceThreshold: 0,
        description: "string",
        name: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
        voiceSettings: {
            voiceId: "string",
            engine: "string",
        },
    });
    
    type: aws:lex:V2modelsBotLocale
    properties:
        botId: string
        botVersion: string
        description: string
        localeId: string
        nLuIntentConfidenceThreshold: 0
        name: string
        timeouts:
            create: string
            delete: string
            update: string
        voiceSettings:
            engine: string
            voiceId: string
    

    V2modelsBotLocale Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The V2modelsBotLocale resource accepts the following input properties:

    BotId string
    Identifier of the bot to create the locale for.
    BotVersion string
    Version of the bot to create the locale for. This can only be the draft version of the bot.
    LocaleId string
    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)
    NLuIntentConfidenceThreshold double

    Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents.

    The following arguments are optional:

    Description string
    Description of the bot locale. Use this to help identify the bot locale in lists.
    Name string
    Specified locale name.
    Timeouts V2modelsBotLocaleTimeouts
    VoiceSettings V2modelsBotLocaleVoiceSettings
    Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. See voice_settings.
    BotId string
    Identifier of the bot to create the locale for.
    BotVersion string
    Version of the bot to create the locale for. This can only be the draft version of the bot.
    LocaleId string
    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)
    NLuIntentConfidenceThreshold float64

    Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents.

    The following arguments are optional:

    Description string
    Description of the bot locale. Use this to help identify the bot locale in lists.
    Name string
    Specified locale name.
    Timeouts V2modelsBotLocaleTimeoutsArgs
    VoiceSettings V2modelsBotLocaleVoiceSettingsArgs
    Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. See voice_settings.
    botId String
    Identifier of the bot to create the locale for.
    botVersion String
    Version of the bot to create the locale for. This can only be the draft version of the bot.
    localeId String
    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)
    nLuIntentConfidenceThreshold Double

    Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents.

    The following arguments are optional:

    description String
    Description of the bot locale. Use this to help identify the bot locale in lists.
    name String
    Specified locale name.
    timeouts V2modelsBotLocaleTimeouts
    voiceSettings V2modelsBotLocaleVoiceSettings
    Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. See voice_settings.
    botId string
    Identifier of the bot to create the locale for.
    botVersion string
    Version of the bot to create the locale for. This can only be the draft version of the bot.
    localeId string
    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)
    nLuIntentConfidenceThreshold number

    Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents.

    The following arguments are optional:

    description string
    Description of the bot locale. Use this to help identify the bot locale in lists.
    name string
    Specified locale name.
    timeouts V2modelsBotLocaleTimeouts
    voiceSettings V2modelsBotLocaleVoiceSettings
    Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. See voice_settings.
    bot_id str
    Identifier of the bot to create the locale for.
    bot_version str
    Version of the bot to create the locale for. This can only be the draft version of the bot.
    locale_id str
    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)
    n_lu_intent_confidence_threshold float

    Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents.

    The following arguments are optional:

    description str
    Description of the bot locale. Use this to help identify the bot locale in lists.
    name str
    Specified locale name.
    timeouts V2modelsBotLocaleTimeoutsArgs
    voice_settings V2modelsBotLocaleVoiceSettingsArgs
    Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. See voice_settings.
    botId String
    Identifier of the bot to create the locale for.
    botVersion String
    Version of the bot to create the locale for. This can only be the draft version of the bot.
    localeId String
    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)
    nLuIntentConfidenceThreshold Number

    Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents.

    The following arguments are optional:

    description String
    Description of the bot locale. Use this to help identify the bot locale in lists.
    name String
    Specified locale name.
    timeouts Property Map
    voiceSettings Property Map
    Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. See voice_settings.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the V2modelsBotLocale resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing V2modelsBotLocale Resource

    Get an existing V2modelsBotLocale resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: V2modelsBotLocaleState, opts?: CustomResourceOptions): V2modelsBotLocale
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            bot_id: Optional[str] = None,
            bot_version: Optional[str] = None,
            description: Optional[str] = None,
            locale_id: Optional[str] = None,
            n_lu_intent_confidence_threshold: Optional[float] = None,
            name: Optional[str] = None,
            timeouts: Optional[V2modelsBotLocaleTimeoutsArgs] = None,
            voice_settings: Optional[V2modelsBotLocaleVoiceSettingsArgs] = None) -> V2modelsBotLocale
    func GetV2modelsBotLocale(ctx *Context, name string, id IDInput, state *V2modelsBotLocaleState, opts ...ResourceOption) (*V2modelsBotLocale, error)
    public static V2modelsBotLocale Get(string name, Input<string> id, V2modelsBotLocaleState? state, CustomResourceOptions? opts = null)
    public static V2modelsBotLocale get(String name, Output<String> id, V2modelsBotLocaleState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    BotId string
    Identifier of the bot to create the locale for.
    BotVersion string
    Version of the bot to create the locale for. This can only be the draft version of the bot.
    Description string
    Description of the bot locale. Use this to help identify the bot locale in lists.
    LocaleId string
    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)
    NLuIntentConfidenceThreshold double

    Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents.

    The following arguments are optional:

    Name string
    Specified locale name.
    Timeouts V2modelsBotLocaleTimeouts
    VoiceSettings V2modelsBotLocaleVoiceSettings
    Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. See voice_settings.
    BotId string
    Identifier of the bot to create the locale for.
    BotVersion string
    Version of the bot to create the locale for. This can only be the draft version of the bot.
    Description string
    Description of the bot locale. Use this to help identify the bot locale in lists.
    LocaleId string
    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)
    NLuIntentConfidenceThreshold float64

    Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents.

    The following arguments are optional:

    Name string
    Specified locale name.
    Timeouts V2modelsBotLocaleTimeoutsArgs
    VoiceSettings V2modelsBotLocaleVoiceSettingsArgs
    Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. See voice_settings.
    botId String
    Identifier of the bot to create the locale for.
    botVersion String
    Version of the bot to create the locale for. This can only be the draft version of the bot.
    description String
    Description of the bot locale. Use this to help identify the bot locale in lists.
    localeId String
    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)
    nLuIntentConfidenceThreshold Double

    Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents.

    The following arguments are optional:

    name String
    Specified locale name.
    timeouts V2modelsBotLocaleTimeouts
    voiceSettings V2modelsBotLocaleVoiceSettings
    Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. See voice_settings.
    botId string
    Identifier of the bot to create the locale for.
    botVersion string
    Version of the bot to create the locale for. This can only be the draft version of the bot.
    description string
    Description of the bot locale. Use this to help identify the bot locale in lists.
    localeId string
    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)
    nLuIntentConfidenceThreshold number

    Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents.

    The following arguments are optional:

    name string
    Specified locale name.
    timeouts V2modelsBotLocaleTimeouts
    voiceSettings V2modelsBotLocaleVoiceSettings
    Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. See voice_settings.
    bot_id str
    Identifier of the bot to create the locale for.
    bot_version str
    Version of the bot to create the locale for. This can only be the draft version of the bot.
    description str
    Description of the bot locale. Use this to help identify the bot locale in lists.
    locale_id str
    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)
    n_lu_intent_confidence_threshold float

    Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents.

    The following arguments are optional:

    name str
    Specified locale name.
    timeouts V2modelsBotLocaleTimeoutsArgs
    voice_settings V2modelsBotLocaleVoiceSettingsArgs
    Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. See voice_settings.
    botId String
    Identifier of the bot to create the locale for.
    botVersion String
    Version of the bot to create the locale for. This can only be the draft version of the bot.
    description String
    Description of the bot locale. Use this to help identify the bot locale in lists.
    localeId String
    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)
    nLuIntentConfidenceThreshold Number

    Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents.

    The following arguments are optional:

    name String
    Specified locale name.
    timeouts Property Map
    voiceSettings Property Map
    Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. See voice_settings.

    Supporting Types

    V2modelsBotLocaleTimeouts, V2modelsBotLocaleTimeoutsArgs

    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

    V2modelsBotLocaleVoiceSettings, V2modelsBotLocaleVoiceSettingsArgs

    VoiceId string
    Identifier of the Amazon Polly voice to use.
    Engine string
    Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. Valid values are standard and neural. If not specified, the default is standard.
    VoiceId string
    Identifier of the Amazon Polly voice to use.
    Engine string
    Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. Valid values are standard and neural. If not specified, the default is standard.
    voiceId String
    Identifier of the Amazon Polly voice to use.
    engine String
    Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. Valid values are standard and neural. If not specified, the default is standard.
    voiceId string
    Identifier of the Amazon Polly voice to use.
    engine string
    Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. Valid values are standard and neural. If not specified, the default is standard.
    voice_id str
    Identifier of the Amazon Polly voice to use.
    engine str
    Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. Valid values are standard and neural. If not specified, the default is standard.
    voiceId String
    Identifier of the Amazon Polly voice to use.
    engine String
    Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. Valid values are standard and neural. If not specified, the default is standard.

    Import

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

    $ pulumi import aws:lex/v2modelsBotLocale:V2modelsBotLocale example en_US,abcd-12345678,1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi