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

aws.lex.V2modelsSlotType

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 Slot Type.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.lex.V2modelsBot("example", {
        name: "example",
        idleSessionTtlInSeconds: 60,
        roleArn: exampleAwsIamRole.arn,
        dataPrivacies: [{
            childDirected: true,
        }],
    });
    const exampleV2modelsBotLocale = new aws.lex.V2modelsBotLocale("example", {
        localeId: "en_US",
        botId: example.id,
        botVersion: "DRAFT",
        nLuIntentConfidenceThreshold: 0.7,
    });
    const exampleV2modelsBotVersion = new aws.lex.V2modelsBotVersion("example", {
        botId: example.id,
        localeSpecification: exampleV2modelsBotLocale.localeId.apply(localeId => {
            [localeId]: {
                sourceBotVersion: "DRAFT",
            },
        }),
    });
    const exampleV2modelsSlotType = new aws.lex.V2modelsSlotType("example", {
        botId: example.id,
        botVersion: exampleV2modelsBotLocale.botVersion,
        name: "example",
        localeId: exampleV2modelsBotLocale.localeId,
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.lex.V2modelsBot("example",
        name="example",
        idle_session_ttl_in_seconds=60,
        role_arn=example_aws_iam_role["arn"],
        data_privacies=[{
            "child_directed": True,
        }])
    example_v2models_bot_locale = aws.lex.V2modelsBotLocale("example",
        locale_id="en_US",
        bot_id=example.id,
        bot_version="DRAFT",
        n_lu_intent_confidence_threshold=0.7)
    example_v2models_bot_version = aws.lex.V2modelsBotVersion("example",
        bot_id=example.id,
        locale_specification=example_v2models_bot_locale.locale_id.apply(lambda locale_id: {
            locale_id: {
                "sourceBotVersion": "DRAFT",
            },
        }))
    example_v2models_slot_type = aws.lex.V2modelsSlotType("example",
        bot_id=example.id,
        bot_version=example_v2models_bot_locale.bot_version,
        name="example",
        locale_id=example_v2models_bot_locale.locale_id)
    
    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 {
    example, err := lex.NewV2modelsBot(ctx, "example", &lex.V2modelsBotArgs{
    Name: pulumi.String("example"),
    IdleSessionTtlInSeconds: pulumi.Int(60),
    RoleArn: pulumi.Any(exampleAwsIamRole.Arn),
    DataPrivacies: lex.V2modelsBotDataPrivacyArray{
    &lex.V2modelsBotDataPrivacyArgs{
    ChildDirected: pulumi.Bool(true),
    },
    },
    })
    if err != nil {
    return err
    }
    exampleV2modelsBotLocale, err := lex.NewV2modelsBotLocale(ctx, "example", &lex.V2modelsBotLocaleArgs{
    LocaleId: pulumi.String("en_US"),
    BotId: example.ID(),
    BotVersion: pulumi.String("DRAFT"),
    NLuIntentConfidenceThreshold: pulumi.Float64(0.7),
    })
    if err != nil {
    return err
    }
    _, err = lex.NewV2modelsBotVersion(ctx, "example", &lex.V2modelsBotVersionArgs{
    BotId: example.ID(),
    LocaleSpecification: exampleV2modelsBotLocale.LocaleId.ApplyT(func(localeId string) (map[string]map[string]interface{}, error) {
    return map[string]map[string]interface{}{
    localeId: map[string]interface{}{
    "sourceBotVersion": "DRAFT",
    },
    }, nil
    }).(pulumi.Map[string]map[string]interface{}Output),
    })
    if err != nil {
    return err
    }
    _, err = lex.NewV2modelsSlotType(ctx, "example", &lex.V2modelsSlotTypeArgs{
    BotId: example.ID(),
    BotVersion: exampleV2modelsBotLocale.BotVersion,
    Name: pulumi.String("example"),
    LocaleId: exampleV2modelsBotLocale.LocaleId,
    })
    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.V2modelsBot("example", new()
        {
            Name = "example",
            IdleSessionTtlInSeconds = 60,
            RoleArn = exampleAwsIamRole.Arn,
            DataPrivacies = new[]
            {
                new Aws.Lex.Inputs.V2modelsBotDataPrivacyArgs
                {
                    ChildDirected = true,
                },
            },
        });
    
        var exampleV2modelsBotLocale = new Aws.Lex.V2modelsBotLocale("example", new()
        {
            LocaleId = "en_US",
            BotId = example.Id,
            BotVersion = "DRAFT",
            NLuIntentConfidenceThreshold = 0.7,
        });
    
        var exampleV2modelsBotVersion = new Aws.Lex.V2modelsBotVersion("example", new()
        {
            BotId = example.Id,
            LocaleSpecification = exampleV2modelsBotLocale.LocaleId.Apply(localeId => 
            {
                { localeId, 
                {
                    { "sourceBotVersion", "DRAFT" },
                } },
            }),
        });
    
        var exampleV2modelsSlotType = new Aws.Lex.V2modelsSlotType("example", new()
        {
            BotId = example.Id,
            BotVersion = exampleV2modelsBotLocale.BotVersion,
            Name = "example",
            LocaleId = exampleV2modelsBotLocale.LocaleId,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.lex.V2modelsBot;
    import com.pulumi.aws.lex.V2modelsBotArgs;
    import com.pulumi.aws.lex.inputs.V2modelsBotDataPrivacyArgs;
    import com.pulumi.aws.lex.V2modelsBotLocale;
    import com.pulumi.aws.lex.V2modelsBotLocaleArgs;
    import com.pulumi.aws.lex.V2modelsBotVersion;
    import com.pulumi.aws.lex.V2modelsBotVersionArgs;
    import com.pulumi.aws.lex.V2modelsSlotType;
    import com.pulumi.aws.lex.V2modelsSlotTypeArgs;
    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 V2modelsBot("example", V2modelsBotArgs.builder()
                .name("example")
                .idleSessionTtlInSeconds(60)
                .roleArn(exampleAwsIamRole.arn())
                .dataPrivacies(V2modelsBotDataPrivacyArgs.builder()
                    .childDirected(true)
                    .build())
                .build());
    
            var exampleV2modelsBotLocale = new V2modelsBotLocale("exampleV2modelsBotLocale", V2modelsBotLocaleArgs.builder()
                .localeId("en_US")
                .botId(example.id())
                .botVersion("DRAFT")
                .nLuIntentConfidenceThreshold(0.7)
                .build());
    
            var exampleV2modelsBotVersion = new V2modelsBotVersion("exampleV2modelsBotVersion", V2modelsBotVersionArgs.builder()
                .botId(example.id())
                .localeSpecification(exampleV2modelsBotLocale.localeId().applyValue(localeId -> Map.of(localeId, Map.of("sourceBotVersion", "DRAFT"))))
                .build());
    
            var exampleV2modelsSlotType = new V2modelsSlotType("exampleV2modelsSlotType", V2modelsSlotTypeArgs.builder()
                .botId(example.id())
                .botVersion(exampleV2modelsBotLocale.botVersion())
                .name("example")
                .localeId(exampleV2modelsBotLocale.localeId())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:lex:V2modelsBot
        properties:
          name: example
          idleSessionTtlInSeconds: 60
          roleArn: ${exampleAwsIamRole.arn}
          dataPrivacies:
            - childDirected: true
      exampleV2modelsBotLocale:
        type: aws:lex:V2modelsBotLocale
        name: example
        properties:
          localeId: en_US
          botId: ${example.id}
          botVersion: DRAFT
          nLuIntentConfidenceThreshold: 0.7
      exampleV2modelsBotVersion:
        type: aws:lex:V2modelsBotVersion
        name: example
        properties:
          botId: ${example.id}
          localeSpecification:
            ${exampleV2modelsBotLocale.localeId}:
              sourceBotVersion: DRAFT
      exampleV2modelsSlotType:
        type: aws:lex:V2modelsSlotType
        name: example
        properties:
          botId: ${example.id}
          botVersion: ${exampleV2modelsBotLocale.botVersion}
          name: example
          localeId: ${exampleV2modelsBotLocale.localeId}
    

    value_selection_setting Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.lex.V2modelsSlotType("example", {
        botId: exampleAwsLexv2modelsBot.id,
        botVersion: exampleAwsLexv2modelsBotLocale.botVersion,
        name: "example",
        localeId: exampleAwsLexv2modelsBotLocale.localeId,
        valueSelectionSetting: {
            resolutionStrategy: "OriginalValue",
            advancedRecognitionSettings: [{
                audioRecognitionStrategy: "UseSlotValuesAsCustomVocabulary",
            }],
        },
        slotTypeValues: {
            sampleValues: [{
                value: "exampleValue",
            }],
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.lex.V2modelsSlotType("example",
        bot_id=example_aws_lexv2models_bot["id"],
        bot_version=example_aws_lexv2models_bot_locale["botVersion"],
        name="example",
        locale_id=example_aws_lexv2models_bot_locale["localeId"],
        value_selection_setting={
            "resolution_strategy": "OriginalValue",
            "advanced_recognition_settings": [{
                "audio_recognition_strategy": "UseSlotValuesAsCustomVocabulary",
            }],
        },
        slot_type_values={
            "sample_values": [{
                "value": "exampleValue",
            }],
        })
    
    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.NewV2modelsSlotType(ctx, "example", &lex.V2modelsSlotTypeArgs{
    			BotId:      pulumi.Any(exampleAwsLexv2modelsBot.Id),
    			BotVersion: pulumi.Any(exampleAwsLexv2modelsBotLocale.BotVersion),
    			Name:       pulumi.String("example"),
    			LocaleId:   pulumi.Any(exampleAwsLexv2modelsBotLocale.LocaleId),
    			ValueSelectionSetting: &lex.V2modelsSlotTypeValueSelectionSettingArgs{
    				ResolutionStrategy: pulumi.String("OriginalValue"),
    				AdvancedRecognitionSettings: lex.V2modelsSlotTypeValueSelectionSettingAdvancedRecognitionSettingArray{
    					&lex.V2modelsSlotTypeValueSelectionSettingAdvancedRecognitionSettingArgs{
    						AudioRecognitionStrategy: pulumi.String("UseSlotValuesAsCustomVocabulary"),
    					},
    				},
    			},
    			SlotTypeValues: &lex.V2modelsSlotTypeSlotTypeValuesArgs{
    				SampleValues: lex.V2modelsSlotTypeSlotTypeValuesSampleValueArray{
    					&lex.V2modelsSlotTypeSlotTypeValuesSampleValueArgs{
    						Value: pulumi.String("exampleValue"),
    					},
    				},
    			},
    		})
    		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.V2modelsSlotType("example", new()
        {
            BotId = exampleAwsLexv2modelsBot.Id,
            BotVersion = exampleAwsLexv2modelsBotLocale.BotVersion,
            Name = "example",
            LocaleId = exampleAwsLexv2modelsBotLocale.LocaleId,
            ValueSelectionSetting = new Aws.Lex.Inputs.V2modelsSlotTypeValueSelectionSettingArgs
            {
                ResolutionStrategy = "OriginalValue",
                AdvancedRecognitionSettings = new[]
                {
                    new Aws.Lex.Inputs.V2modelsSlotTypeValueSelectionSettingAdvancedRecognitionSettingArgs
                    {
                        AudioRecognitionStrategy = "UseSlotValuesAsCustomVocabulary",
                    },
                },
            },
            SlotTypeValues = new Aws.Lex.Inputs.V2modelsSlotTypeSlotTypeValuesArgs
            {
                SampleValues = new[]
                {
                    new Aws.Lex.Inputs.V2modelsSlotTypeSlotTypeValuesSampleValueArgs
                    {
                        Value = "exampleValue",
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.lex.V2modelsSlotType;
    import com.pulumi.aws.lex.V2modelsSlotTypeArgs;
    import com.pulumi.aws.lex.inputs.V2modelsSlotTypeValueSelectionSettingArgs;
    import com.pulumi.aws.lex.inputs.V2modelsSlotTypeSlotTypeValuesArgs;
    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 V2modelsSlotType("example", V2modelsSlotTypeArgs.builder()
                .botId(exampleAwsLexv2modelsBot.id())
                .botVersion(exampleAwsLexv2modelsBotLocale.botVersion())
                .name("example")
                .localeId(exampleAwsLexv2modelsBotLocale.localeId())
                .valueSelectionSetting(V2modelsSlotTypeValueSelectionSettingArgs.builder()
                    .resolutionStrategy("OriginalValue")
                    .advancedRecognitionSettings(V2modelsSlotTypeValueSelectionSettingAdvancedRecognitionSettingArgs.builder()
                        .audioRecognitionStrategy("UseSlotValuesAsCustomVocabulary")
                        .build())
                    .build())
                .slotTypeValues(V2modelsSlotTypeSlotTypeValuesArgs.builder()
                    .sampleValues(V2modelsSlotTypeSlotTypeValuesSampleValueArgs.builder()
                        .value("exampleValue")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:lex:V2modelsSlotType
        properties:
          botId: ${exampleAwsLexv2modelsBot.id}
          botVersion: ${exampleAwsLexv2modelsBotLocale.botVersion}
          name: example
          localeId: ${exampleAwsLexv2modelsBotLocale.localeId}
          valueSelectionSetting:
            resolutionStrategy: OriginalValue
            advancedRecognitionSettings:
              - audioRecognitionStrategy: UseSlotValuesAsCustomVocabulary
          slotTypeValues:
            sampleValues:
              - value: exampleValue
    

    Create V2modelsSlotType Resource

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

    Constructor syntax

    new V2modelsSlotType(name: string, args: V2modelsSlotTypeArgs, opts?: CustomResourceOptions);
    @overload
    def V2modelsSlotType(resource_name: str,
                         args: V2modelsSlotTypeArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def V2modelsSlotType(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         bot_id: Optional[str] = None,
                         bot_version: Optional[str] = None,
                         locale_id: Optional[str] = None,
                         composite_slot_type_setting: Optional[V2modelsSlotTypeCompositeSlotTypeSettingArgs] = None,
                         description: Optional[str] = None,
                         external_source_setting: Optional[V2modelsSlotTypeExternalSourceSettingArgs] = None,
                         name: Optional[str] = None,
                         parent_slot_type_signature: Optional[str] = None,
                         slot_type_values: Optional[V2modelsSlotTypeSlotTypeValuesArgs] = None,
                         timeouts: Optional[V2modelsSlotTypeTimeoutsArgs] = None,
                         value_selection_setting: Optional[V2modelsSlotTypeValueSelectionSettingArgs] = None)
    func NewV2modelsSlotType(ctx *Context, name string, args V2modelsSlotTypeArgs, opts ...ResourceOption) (*V2modelsSlotType, error)
    public V2modelsSlotType(string name, V2modelsSlotTypeArgs args, CustomResourceOptions? opts = null)
    public V2modelsSlotType(String name, V2modelsSlotTypeArgs args)
    public V2modelsSlotType(String name, V2modelsSlotTypeArgs args, CustomResourceOptions options)
    
    type: aws:lex:V2modelsSlotType
    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 V2modelsSlotTypeArgs
    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 V2modelsSlotTypeArgs
    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 V2modelsSlotTypeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args V2modelsSlotTypeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args V2modelsSlotTypeArgs
    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 v2modelsSlotTypeResource = new Aws.Lex.V2modelsSlotType("v2modelsSlotTypeResource", new()
    {
        BotId = "string",
        BotVersion = "string",
        LocaleId = "string",
        CompositeSlotTypeSetting = new Aws.Lex.Inputs.V2modelsSlotTypeCompositeSlotTypeSettingArgs
        {
            SubSlots = new[]
            {
                new Aws.Lex.Inputs.V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs
                {
                    Name = "string",
                    SlotTypeId = "string",
                },
            },
        },
        Description = "string",
        ExternalSourceSetting = new Aws.Lex.Inputs.V2modelsSlotTypeExternalSourceSettingArgs
        {
            GrammarSlotTypeSetting = new Aws.Lex.Inputs.V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSettingArgs
            {
                Source = new Aws.Lex.Inputs.V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSettingSourceArgs
                {
                    KmsKeyArn = "string",
                    S3BucketName = "string",
                    S3ObjectKey = "string",
                },
            },
        },
        Name = "string",
        ParentSlotTypeSignature = "string",
        SlotTypeValues = new Aws.Lex.Inputs.V2modelsSlotTypeSlotTypeValuesArgs
        {
            SampleValues = new[]
            {
                new Aws.Lex.Inputs.V2modelsSlotTypeSlotTypeValuesSampleValueArgs
                {
                    Value = "string",
                },
            },
            Synonyms = new[]
            {
                new Aws.Lex.Inputs.V2modelsSlotTypeSlotTypeValuesSynonymArgs
                {
                    Value = "string",
                },
            },
        },
        Timeouts = new Aws.Lex.Inputs.V2modelsSlotTypeTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
        ValueSelectionSetting = new Aws.Lex.Inputs.V2modelsSlotTypeValueSelectionSettingArgs
        {
            ResolutionStrategy = "string",
            AdvancedRecognitionSettings = new[]
            {
                new Aws.Lex.Inputs.V2modelsSlotTypeValueSelectionSettingAdvancedRecognitionSettingArgs
                {
                    AudioRecognitionStrategy = "string",
                },
            },
            RegexFilters = new[]
            {
                new Aws.Lex.Inputs.V2modelsSlotTypeValueSelectionSettingRegexFilterArgs
                {
                    Pattern = "string",
                },
            },
        },
    });
    
    example, err := lex.NewV2modelsSlotType(ctx, "v2modelsSlotTypeResource", &lex.V2modelsSlotTypeArgs{
    	BotId:      pulumi.String("string"),
    	BotVersion: pulumi.String("string"),
    	LocaleId:   pulumi.String("string"),
    	CompositeSlotTypeSetting: &lex.V2modelsSlotTypeCompositeSlotTypeSettingArgs{
    		SubSlots: lex.V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArray{
    			&lex.V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs{
    				Name:       pulumi.String("string"),
    				SlotTypeId: pulumi.String("string"),
    			},
    		},
    	},
    	Description: pulumi.String("string"),
    	ExternalSourceSetting: &lex.V2modelsSlotTypeExternalSourceSettingArgs{
    		GrammarSlotTypeSetting: &lex.V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSettingArgs{
    			Source: &lex.V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSettingSourceArgs{
    				KmsKeyArn:    pulumi.String("string"),
    				S3BucketName: pulumi.String("string"),
    				S3ObjectKey:  pulumi.String("string"),
    			},
    		},
    	},
    	Name:                    pulumi.String("string"),
    	ParentSlotTypeSignature: pulumi.String("string"),
    	SlotTypeValues: &lex.V2modelsSlotTypeSlotTypeValuesArgs{
    		SampleValues: lex.V2modelsSlotTypeSlotTypeValuesSampleValueArray{
    			&lex.V2modelsSlotTypeSlotTypeValuesSampleValueArgs{
    				Value: pulumi.String("string"),
    			},
    		},
    		Synonyms: lex.V2modelsSlotTypeSlotTypeValuesSynonymArray{
    			&lex.V2modelsSlotTypeSlotTypeValuesSynonymArgs{
    				Value: pulumi.String("string"),
    			},
    		},
    	},
    	Timeouts: &lex.V2modelsSlotTypeTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	ValueSelectionSetting: &lex.V2modelsSlotTypeValueSelectionSettingArgs{
    		ResolutionStrategy: pulumi.String("string"),
    		AdvancedRecognitionSettings: lex.V2modelsSlotTypeValueSelectionSettingAdvancedRecognitionSettingArray{
    			&lex.V2modelsSlotTypeValueSelectionSettingAdvancedRecognitionSettingArgs{
    				AudioRecognitionStrategy: pulumi.String("string"),
    			},
    		},
    		RegexFilters: lex.V2modelsSlotTypeValueSelectionSettingRegexFilterArray{
    			&lex.V2modelsSlotTypeValueSelectionSettingRegexFilterArgs{
    				Pattern: pulumi.String("string"),
    			},
    		},
    	},
    })
    
    var v2modelsSlotTypeResource = new V2modelsSlotType("v2modelsSlotTypeResource", V2modelsSlotTypeArgs.builder()
        .botId("string")
        .botVersion("string")
        .localeId("string")
        .compositeSlotTypeSetting(V2modelsSlotTypeCompositeSlotTypeSettingArgs.builder()
            .subSlots(V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs.builder()
                .name("string")
                .slotTypeId("string")
                .build())
            .build())
        .description("string")
        .externalSourceSetting(V2modelsSlotTypeExternalSourceSettingArgs.builder()
            .grammarSlotTypeSetting(V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSettingArgs.builder()
                .source(V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSettingSourceArgs.builder()
                    .kmsKeyArn("string")
                    .s3BucketName("string")
                    .s3ObjectKey("string")
                    .build())
                .build())
            .build())
        .name("string")
        .parentSlotTypeSignature("string")
        .slotTypeValues(V2modelsSlotTypeSlotTypeValuesArgs.builder()
            .sampleValues(V2modelsSlotTypeSlotTypeValuesSampleValueArgs.builder()
                .value("string")
                .build())
            .synonyms(V2modelsSlotTypeSlotTypeValuesSynonymArgs.builder()
                .value("string")
                .build())
            .build())
        .timeouts(V2modelsSlotTypeTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .valueSelectionSetting(V2modelsSlotTypeValueSelectionSettingArgs.builder()
            .resolutionStrategy("string")
            .advancedRecognitionSettings(V2modelsSlotTypeValueSelectionSettingAdvancedRecognitionSettingArgs.builder()
                .audioRecognitionStrategy("string")
                .build())
            .regexFilters(V2modelsSlotTypeValueSelectionSettingRegexFilterArgs.builder()
                .pattern("string")
                .build())
            .build())
        .build());
    
    v2models_slot_type_resource = aws.lex.V2modelsSlotType("v2modelsSlotTypeResource",
        bot_id="string",
        bot_version="string",
        locale_id="string",
        composite_slot_type_setting={
            "subSlots": [{
                "name": "string",
                "slotTypeId": "string",
            }],
        },
        description="string",
        external_source_setting={
            "grammarSlotTypeSetting": {
                "source": {
                    "kmsKeyArn": "string",
                    "s3BucketName": "string",
                    "s3ObjectKey": "string",
                },
            },
        },
        name="string",
        parent_slot_type_signature="string",
        slot_type_values={
            "sampleValues": [{
                "value": "string",
            }],
            "synonyms": [{
                "value": "string",
            }],
        },
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        },
        value_selection_setting={
            "resolutionStrategy": "string",
            "advancedRecognitionSettings": [{
                "audioRecognitionStrategy": "string",
            }],
            "regexFilters": [{
                "pattern": "string",
            }],
        })
    
    const v2modelsSlotTypeResource = new aws.lex.V2modelsSlotType("v2modelsSlotTypeResource", {
        botId: "string",
        botVersion: "string",
        localeId: "string",
        compositeSlotTypeSetting: {
            subSlots: [{
                name: "string",
                slotTypeId: "string",
            }],
        },
        description: "string",
        externalSourceSetting: {
            grammarSlotTypeSetting: {
                source: {
                    kmsKeyArn: "string",
                    s3BucketName: "string",
                    s3ObjectKey: "string",
                },
            },
        },
        name: "string",
        parentSlotTypeSignature: "string",
        slotTypeValues: {
            sampleValues: [{
                value: "string",
            }],
            synonyms: [{
                value: "string",
            }],
        },
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
        valueSelectionSetting: {
            resolutionStrategy: "string",
            advancedRecognitionSettings: [{
                audioRecognitionStrategy: "string",
            }],
            regexFilters: [{
                pattern: "string",
            }],
        },
    });
    
    type: aws:lex:V2modelsSlotType
    properties:
        botId: string
        botVersion: string
        compositeSlotTypeSetting:
            subSlots:
                - name: string
                  slotTypeId: string
        description: string
        externalSourceSetting:
            grammarSlotTypeSetting:
                source:
                    kmsKeyArn: string
                    s3BucketName: string
                    s3ObjectKey: string
        localeId: string
        name: string
        parentSlotTypeSignature: string
        slotTypeValues:
            sampleValues:
                - value: string
            synonyms:
                - value: string
        timeouts:
            create: string
            delete: string
            update: string
        valueSelectionSetting:
            advancedRecognitionSettings:
                - audioRecognitionStrategy: string
            regexFilters:
                - pattern: string
            resolutionStrategy: string
    

    V2modelsSlotType 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 V2modelsSlotType resource accepts the following input properties:

    BotId string
    Identifier of the bot associated with this slot type.
    BotVersion string
    Version of the bot associated with this slot type.
    LocaleId string
    Identifier of the language and locale where this slot type is used. All of the bots, slot types, and slots used by the intent must have the same locale.
    CompositeSlotTypeSetting V2modelsSlotTypeCompositeSlotTypeSetting
    Specifications for a composite slot type. See composite_slot_type_setting argument reference below.
    Description string
    Description of the slot type.
    ExternalSourceSetting V2modelsSlotTypeExternalSourceSetting
    Type of external information used to create the slot type. See external_source_setting argument reference below.
    Name string

    Name of the slot type.

    The following arguments are optional:

    ParentSlotTypeSignature string
    Built-in slot type used as a parent of this slot type. When you define a parent slot type, the new slot type has the configuration of the parent slot type. Only AMAZON.AlphaNumeric is supported.
    SlotTypeValues V2modelsSlotTypeSlotTypeValues
    List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See slot_type_values argument reference below.
    Timeouts V2modelsSlotTypeTimeouts
    ValueSelectionSetting V2modelsSlotTypeValueSelectionSetting
    Determines the strategy that Amazon Lex uses to select a value from the list of possible values. See value_selection_setting argument reference below.
    BotId string
    Identifier of the bot associated with this slot type.
    BotVersion string
    Version of the bot associated with this slot type.
    LocaleId string
    Identifier of the language and locale where this slot type is used. All of the bots, slot types, and slots used by the intent must have the same locale.
    CompositeSlotTypeSetting V2modelsSlotTypeCompositeSlotTypeSettingArgs
    Specifications for a composite slot type. See composite_slot_type_setting argument reference below.
    Description string
    Description of the slot type.
    ExternalSourceSetting V2modelsSlotTypeExternalSourceSettingArgs
    Type of external information used to create the slot type. See external_source_setting argument reference below.
    Name string

    Name of the slot type.

    The following arguments are optional:

    ParentSlotTypeSignature string
    Built-in slot type used as a parent of this slot type. When you define a parent slot type, the new slot type has the configuration of the parent slot type. Only AMAZON.AlphaNumeric is supported.
    SlotTypeValues V2modelsSlotTypeSlotTypeValuesArgs
    List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See slot_type_values argument reference below.
    Timeouts V2modelsSlotTypeTimeoutsArgs
    ValueSelectionSetting V2modelsSlotTypeValueSelectionSettingArgs
    Determines the strategy that Amazon Lex uses to select a value from the list of possible values. See value_selection_setting argument reference below.
    botId String
    Identifier of the bot associated with this slot type.
    botVersion String
    Version of the bot associated with this slot type.
    localeId String
    Identifier of the language and locale where this slot type is used. All of the bots, slot types, and slots used by the intent must have the same locale.
    compositeSlotTypeSetting V2modelsSlotTypeCompositeSlotTypeSetting
    Specifications for a composite slot type. See composite_slot_type_setting argument reference below.
    description String
    Description of the slot type.
    externalSourceSetting V2modelsSlotTypeExternalSourceSetting
    Type of external information used to create the slot type. See external_source_setting argument reference below.
    name String

    Name of the slot type.

    The following arguments are optional:

    parentSlotTypeSignature String
    Built-in slot type used as a parent of this slot type. When you define a parent slot type, the new slot type has the configuration of the parent slot type. Only AMAZON.AlphaNumeric is supported.
    slotTypeValues V2modelsSlotTypeSlotTypeValues
    List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See slot_type_values argument reference below.
    timeouts V2modelsSlotTypeTimeouts
    valueSelectionSetting V2modelsSlotTypeValueSelectionSetting
    Determines the strategy that Amazon Lex uses to select a value from the list of possible values. See value_selection_setting argument reference below.
    botId string
    Identifier of the bot associated with this slot type.
    botVersion string
    Version of the bot associated with this slot type.
    localeId string
    Identifier of the language and locale where this slot type is used. All of the bots, slot types, and slots used by the intent must have the same locale.
    compositeSlotTypeSetting V2modelsSlotTypeCompositeSlotTypeSetting
    Specifications for a composite slot type. See composite_slot_type_setting argument reference below.
    description string
    Description of the slot type.
    externalSourceSetting V2modelsSlotTypeExternalSourceSetting
    Type of external information used to create the slot type. See external_source_setting argument reference below.
    name string

    Name of the slot type.

    The following arguments are optional:

    parentSlotTypeSignature string
    Built-in slot type used as a parent of this slot type. When you define a parent slot type, the new slot type has the configuration of the parent slot type. Only AMAZON.AlphaNumeric is supported.
    slotTypeValues V2modelsSlotTypeSlotTypeValues
    List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See slot_type_values argument reference below.
    timeouts V2modelsSlotTypeTimeouts
    valueSelectionSetting V2modelsSlotTypeValueSelectionSetting
    Determines the strategy that Amazon Lex uses to select a value from the list of possible values. See value_selection_setting argument reference below.
    bot_id str
    Identifier of the bot associated with this slot type.
    bot_version str
    Version of the bot associated with this slot type.
    locale_id str
    Identifier of the language and locale where this slot type is used. All of the bots, slot types, and slots used by the intent must have the same locale.
    composite_slot_type_setting V2modelsSlotTypeCompositeSlotTypeSettingArgs
    Specifications for a composite slot type. See composite_slot_type_setting argument reference below.
    description str
    Description of the slot type.
    external_source_setting V2modelsSlotTypeExternalSourceSettingArgs
    Type of external information used to create the slot type. See external_source_setting argument reference below.
    name str

    Name of the slot type.

    The following arguments are optional:

    parent_slot_type_signature str
    Built-in slot type used as a parent of this slot type. When you define a parent slot type, the new slot type has the configuration of the parent slot type. Only AMAZON.AlphaNumeric is supported.
    slot_type_values V2modelsSlotTypeSlotTypeValuesArgs
    List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See slot_type_values argument reference below.
    timeouts V2modelsSlotTypeTimeoutsArgs
    value_selection_setting V2modelsSlotTypeValueSelectionSettingArgs
    Determines the strategy that Amazon Lex uses to select a value from the list of possible values. See value_selection_setting argument reference below.
    botId String
    Identifier of the bot associated with this slot type.
    botVersion String
    Version of the bot associated with this slot type.
    localeId String
    Identifier of the language and locale where this slot type is used. All of the bots, slot types, and slots used by the intent must have the same locale.
    compositeSlotTypeSetting Property Map
    Specifications for a composite slot type. See composite_slot_type_setting argument reference below.
    description String
    Description of the slot type.
    externalSourceSetting Property Map
    Type of external information used to create the slot type. See external_source_setting argument reference below.
    name String

    Name of the slot type.

    The following arguments are optional:

    parentSlotTypeSignature String
    Built-in slot type used as a parent of this slot type. When you define a parent slot type, the new slot type has the configuration of the parent slot type. Only AMAZON.AlphaNumeric is supported.
    slotTypeValues Property Map
    List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See slot_type_values argument reference below.
    timeouts Property Map
    valueSelectionSetting Property Map
    Determines the strategy that Amazon Lex uses to select a value from the list of possible values. See value_selection_setting argument reference below.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    SlotTypeId string
    Unique identifier for the slot type.
    Id string
    The provider-assigned unique ID for this managed resource.
    SlotTypeId string
    Unique identifier for the slot type.
    id String
    The provider-assigned unique ID for this managed resource.
    slotTypeId String
    Unique identifier for the slot type.
    id string
    The provider-assigned unique ID for this managed resource.
    slotTypeId string
    Unique identifier for the slot type.
    id str
    The provider-assigned unique ID for this managed resource.
    slot_type_id str
    Unique identifier for the slot type.
    id String
    The provider-assigned unique ID for this managed resource.
    slotTypeId String
    Unique identifier for the slot type.

    Look up Existing V2modelsSlotType Resource

    Get an existing V2modelsSlotType 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?: V2modelsSlotTypeState, opts?: CustomResourceOptions): V2modelsSlotType
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            bot_id: Optional[str] = None,
            bot_version: Optional[str] = None,
            composite_slot_type_setting: Optional[V2modelsSlotTypeCompositeSlotTypeSettingArgs] = None,
            description: Optional[str] = None,
            external_source_setting: Optional[V2modelsSlotTypeExternalSourceSettingArgs] = None,
            locale_id: Optional[str] = None,
            name: Optional[str] = None,
            parent_slot_type_signature: Optional[str] = None,
            slot_type_id: Optional[str] = None,
            slot_type_values: Optional[V2modelsSlotTypeSlotTypeValuesArgs] = None,
            timeouts: Optional[V2modelsSlotTypeTimeoutsArgs] = None,
            value_selection_setting: Optional[V2modelsSlotTypeValueSelectionSettingArgs] = None) -> V2modelsSlotType
    func GetV2modelsSlotType(ctx *Context, name string, id IDInput, state *V2modelsSlotTypeState, opts ...ResourceOption) (*V2modelsSlotType, error)
    public static V2modelsSlotType Get(string name, Input<string> id, V2modelsSlotTypeState? state, CustomResourceOptions? opts = null)
    public static V2modelsSlotType get(String name, Output<String> id, V2modelsSlotTypeState 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 associated with this slot type.
    BotVersion string
    Version of the bot associated with this slot type.
    CompositeSlotTypeSetting V2modelsSlotTypeCompositeSlotTypeSetting
    Specifications for a composite slot type. See composite_slot_type_setting argument reference below.
    Description string
    Description of the slot type.
    ExternalSourceSetting V2modelsSlotTypeExternalSourceSetting
    Type of external information used to create the slot type. See external_source_setting argument reference below.
    LocaleId string
    Identifier of the language and locale where this slot type is used. All of the bots, slot types, and slots used by the intent must have the same locale.
    Name string

    Name of the slot type.

    The following arguments are optional:

    ParentSlotTypeSignature string
    Built-in slot type used as a parent of this slot type. When you define a parent slot type, the new slot type has the configuration of the parent slot type. Only AMAZON.AlphaNumeric is supported.
    SlotTypeId string
    Unique identifier for the slot type.
    SlotTypeValues V2modelsSlotTypeSlotTypeValues
    List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See slot_type_values argument reference below.
    Timeouts V2modelsSlotTypeTimeouts
    ValueSelectionSetting V2modelsSlotTypeValueSelectionSetting
    Determines the strategy that Amazon Lex uses to select a value from the list of possible values. See value_selection_setting argument reference below.
    BotId string
    Identifier of the bot associated with this slot type.
    BotVersion string
    Version of the bot associated with this slot type.
    CompositeSlotTypeSetting V2modelsSlotTypeCompositeSlotTypeSettingArgs
    Specifications for a composite slot type. See composite_slot_type_setting argument reference below.
    Description string
    Description of the slot type.
    ExternalSourceSetting V2modelsSlotTypeExternalSourceSettingArgs
    Type of external information used to create the slot type. See external_source_setting argument reference below.
    LocaleId string
    Identifier of the language and locale where this slot type is used. All of the bots, slot types, and slots used by the intent must have the same locale.
    Name string

    Name of the slot type.

    The following arguments are optional:

    ParentSlotTypeSignature string
    Built-in slot type used as a parent of this slot type. When you define a parent slot type, the new slot type has the configuration of the parent slot type. Only AMAZON.AlphaNumeric is supported.
    SlotTypeId string
    Unique identifier for the slot type.
    SlotTypeValues V2modelsSlotTypeSlotTypeValuesArgs
    List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See slot_type_values argument reference below.
    Timeouts V2modelsSlotTypeTimeoutsArgs
    ValueSelectionSetting V2modelsSlotTypeValueSelectionSettingArgs
    Determines the strategy that Amazon Lex uses to select a value from the list of possible values. See value_selection_setting argument reference below.
    botId String
    Identifier of the bot associated with this slot type.
    botVersion String
    Version of the bot associated with this slot type.
    compositeSlotTypeSetting V2modelsSlotTypeCompositeSlotTypeSetting
    Specifications for a composite slot type. See composite_slot_type_setting argument reference below.
    description String
    Description of the slot type.
    externalSourceSetting V2modelsSlotTypeExternalSourceSetting
    Type of external information used to create the slot type. See external_source_setting argument reference below.
    localeId String
    Identifier of the language and locale where this slot type is used. All of the bots, slot types, and slots used by the intent must have the same locale.
    name String

    Name of the slot type.

    The following arguments are optional:

    parentSlotTypeSignature String
    Built-in slot type used as a parent of this slot type. When you define a parent slot type, the new slot type has the configuration of the parent slot type. Only AMAZON.AlphaNumeric is supported.
    slotTypeId String
    Unique identifier for the slot type.
    slotTypeValues V2modelsSlotTypeSlotTypeValues
    List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See slot_type_values argument reference below.
    timeouts V2modelsSlotTypeTimeouts
    valueSelectionSetting V2modelsSlotTypeValueSelectionSetting
    Determines the strategy that Amazon Lex uses to select a value from the list of possible values. See value_selection_setting argument reference below.
    botId string
    Identifier of the bot associated with this slot type.
    botVersion string
    Version of the bot associated with this slot type.
    compositeSlotTypeSetting V2modelsSlotTypeCompositeSlotTypeSetting
    Specifications for a composite slot type. See composite_slot_type_setting argument reference below.
    description string
    Description of the slot type.
    externalSourceSetting V2modelsSlotTypeExternalSourceSetting
    Type of external information used to create the slot type. See external_source_setting argument reference below.
    localeId string
    Identifier of the language and locale where this slot type is used. All of the bots, slot types, and slots used by the intent must have the same locale.
    name string

    Name of the slot type.

    The following arguments are optional:

    parentSlotTypeSignature string
    Built-in slot type used as a parent of this slot type. When you define a parent slot type, the new slot type has the configuration of the parent slot type. Only AMAZON.AlphaNumeric is supported.
    slotTypeId string
    Unique identifier for the slot type.
    slotTypeValues V2modelsSlotTypeSlotTypeValues
    List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See slot_type_values argument reference below.
    timeouts V2modelsSlotTypeTimeouts
    valueSelectionSetting V2modelsSlotTypeValueSelectionSetting
    Determines the strategy that Amazon Lex uses to select a value from the list of possible values. See value_selection_setting argument reference below.
    bot_id str
    Identifier of the bot associated with this slot type.
    bot_version str
    Version of the bot associated with this slot type.
    composite_slot_type_setting V2modelsSlotTypeCompositeSlotTypeSettingArgs
    Specifications for a composite slot type. See composite_slot_type_setting argument reference below.
    description str
    Description of the slot type.
    external_source_setting V2modelsSlotTypeExternalSourceSettingArgs
    Type of external information used to create the slot type. See external_source_setting argument reference below.
    locale_id str
    Identifier of the language and locale where this slot type is used. All of the bots, slot types, and slots used by the intent must have the same locale.
    name str

    Name of the slot type.

    The following arguments are optional:

    parent_slot_type_signature str
    Built-in slot type used as a parent of this slot type. When you define a parent slot type, the new slot type has the configuration of the parent slot type. Only AMAZON.AlphaNumeric is supported.
    slot_type_id str
    Unique identifier for the slot type.
    slot_type_values V2modelsSlotTypeSlotTypeValuesArgs
    List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See slot_type_values argument reference below.
    timeouts V2modelsSlotTypeTimeoutsArgs
    value_selection_setting V2modelsSlotTypeValueSelectionSettingArgs
    Determines the strategy that Amazon Lex uses to select a value from the list of possible values. See value_selection_setting argument reference below.
    botId String
    Identifier of the bot associated with this slot type.
    botVersion String
    Version of the bot associated with this slot type.
    compositeSlotTypeSetting Property Map
    Specifications for a composite slot type. See composite_slot_type_setting argument reference below.
    description String
    Description of the slot type.
    externalSourceSetting Property Map
    Type of external information used to create the slot type. See external_source_setting argument reference below.
    localeId String
    Identifier of the language and locale where this slot type is used. All of the bots, slot types, and slots used by the intent must have the same locale.
    name String

    Name of the slot type.

    The following arguments are optional:

    parentSlotTypeSignature String
    Built-in slot type used as a parent of this slot type. When you define a parent slot type, the new slot type has the configuration of the parent slot type. Only AMAZON.AlphaNumeric is supported.
    slotTypeId String
    Unique identifier for the slot type.
    slotTypeValues Property Map
    List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See slot_type_values argument reference below.
    timeouts Property Map
    valueSelectionSetting Property Map
    Determines the strategy that Amazon Lex uses to select a value from the list of possible values. See value_selection_setting argument reference below.

    Supporting Types

    V2modelsSlotTypeCompositeSlotTypeSetting, V2modelsSlotTypeCompositeSlotTypeSettingArgs

    SubSlots List<V2modelsSlotTypeCompositeSlotTypeSettingSubSlot>
    Sub slots in the composite slot. See sub_slots argument reference below.
    SubSlots []V2modelsSlotTypeCompositeSlotTypeSettingSubSlot
    Sub slots in the composite slot. See sub_slots argument reference below.
    subSlots List<V2modelsSlotTypeCompositeSlotTypeSettingSubSlot>
    Sub slots in the composite slot. See sub_slots argument reference below.
    subSlots V2modelsSlotTypeCompositeSlotTypeSettingSubSlot[]
    Sub slots in the composite slot. See sub_slots argument reference below.
    sub_slots Sequence[V2modelsSlotTypeCompositeSlotTypeSettingSubSlot]
    Sub slots in the composite slot. See sub_slots argument reference below.
    subSlots List<Property Map>
    Sub slots in the composite slot. See sub_slots argument reference below.

    V2modelsSlotTypeCompositeSlotTypeSettingSubSlot, V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs

    Name string
    Name of a constituent sub slot inside a composite slot.
    SlotTypeId string
    Unique identifier assigned to a slot type. This refers to either a built-in slot type or the unique slot_type_id of a custom slot type.
    Name string
    Name of a constituent sub slot inside a composite slot.
    SlotTypeId string
    Unique identifier assigned to a slot type. This refers to either a built-in slot type or the unique slot_type_id of a custom slot type.
    name String
    Name of a constituent sub slot inside a composite slot.
    slotTypeId String
    Unique identifier assigned to a slot type. This refers to either a built-in slot type or the unique slot_type_id of a custom slot type.
    name string
    Name of a constituent sub slot inside a composite slot.
    slotTypeId string
    Unique identifier assigned to a slot type. This refers to either a built-in slot type or the unique slot_type_id of a custom slot type.
    name str
    Name of a constituent sub slot inside a composite slot.
    slot_type_id str
    Unique identifier assigned to a slot type. This refers to either a built-in slot type or the unique slot_type_id of a custom slot type.
    name String
    Name of a constituent sub slot inside a composite slot.
    slotTypeId String
    Unique identifier assigned to a slot type. This refers to either a built-in slot type or the unique slot_type_id of a custom slot type.

    V2modelsSlotTypeExternalSourceSetting, V2modelsSlotTypeExternalSourceSettingArgs

    GrammarSlotTypeSetting V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSetting
    Settings required for a slot type based on a grammar that you provide. See grammar_slot_type_setting argument reference below.
    GrammarSlotTypeSetting V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSetting
    Settings required for a slot type based on a grammar that you provide. See grammar_slot_type_setting argument reference below.
    grammarSlotTypeSetting V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSetting
    Settings required for a slot type based on a grammar that you provide. See grammar_slot_type_setting argument reference below.
    grammarSlotTypeSetting V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSetting
    Settings required for a slot type based on a grammar that you provide. See grammar_slot_type_setting argument reference below.
    grammar_slot_type_setting V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSetting
    Settings required for a slot type based on a grammar that you provide. See grammar_slot_type_setting argument reference below.
    grammarSlotTypeSetting Property Map
    Settings required for a slot type based on a grammar that you provide. See grammar_slot_type_setting argument reference below.

    V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSetting, V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSettingArgs

    Source V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSettingSource
    Source of the grammar used to create the slot type. See source argument reference below.
    Source V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSettingSource
    Source of the grammar used to create the slot type. See source argument reference below.
    source V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSettingSource
    Source of the grammar used to create the slot type. See source argument reference below.
    source V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSettingSource
    Source of the grammar used to create the slot type. See source argument reference below.
    source V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSettingSource
    Source of the grammar used to create the slot type. See source argument reference below.
    source Property Map
    Source of the grammar used to create the slot type. See source argument reference below.

    V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSettingSource, V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSettingSourceArgs

    KmsKeyArn string
    KMS key required to decrypt the contents of the grammar, if any.
    S3BucketName string
    Name of the Amazon S3 bucket that contains the grammar source.
    S3ObjectKey string
    Path to the grammar in the Amazon S3 bucket.
    KmsKeyArn string
    KMS key required to decrypt the contents of the grammar, if any.
    S3BucketName string
    Name of the Amazon S3 bucket that contains the grammar source.
    S3ObjectKey string
    Path to the grammar in the Amazon S3 bucket.
    kmsKeyArn String
    KMS key required to decrypt the contents of the grammar, if any.
    s3BucketName String
    Name of the Amazon S3 bucket that contains the grammar source.
    s3ObjectKey String
    Path to the grammar in the Amazon S3 bucket.
    kmsKeyArn string
    KMS key required to decrypt the contents of the grammar, if any.
    s3BucketName string
    Name of the Amazon S3 bucket that contains the grammar source.
    s3ObjectKey string
    Path to the grammar in the Amazon S3 bucket.
    kms_key_arn str
    KMS key required to decrypt the contents of the grammar, if any.
    s3_bucket_name str
    Name of the Amazon S3 bucket that contains the grammar source.
    s3_object_key str
    Path to the grammar in the Amazon S3 bucket.
    kmsKeyArn String
    KMS key required to decrypt the contents of the grammar, if any.
    s3BucketName String
    Name of the Amazon S3 bucket that contains the grammar source.
    s3ObjectKey String
    Path to the grammar in the Amazon S3 bucket.

    V2modelsSlotTypeSlotTypeValues, V2modelsSlotTypeSlotTypeValuesArgs

    SampleValues List<V2modelsSlotTypeSlotTypeValuesSampleValue>
    Value of the slot type entry. See sample_value argument reference below.
    Synonyms List<V2modelsSlotTypeSlotTypeValuesSynonym>
    A list of additional values related to the slot type entry. See synonyms argument reference below.
    SampleValues []V2modelsSlotTypeSlotTypeValuesSampleValue
    Value of the slot type entry. See sample_value argument reference below.
    Synonyms []V2modelsSlotTypeSlotTypeValuesSynonym
    A list of additional values related to the slot type entry. See synonyms argument reference below.
    sampleValues List<V2modelsSlotTypeSlotTypeValuesSampleValue>
    Value of the slot type entry. See sample_value argument reference below.
    synonyms List<V2modelsSlotTypeSlotTypeValuesSynonym>
    A list of additional values related to the slot type entry. See synonyms argument reference below.
    sampleValues V2modelsSlotTypeSlotTypeValuesSampleValue[]
    Value of the slot type entry. See sample_value argument reference below.
    synonyms V2modelsSlotTypeSlotTypeValuesSynonym[]
    A list of additional values related to the slot type entry. See synonyms argument reference below.
    sample_values Sequence[V2modelsSlotTypeSlotTypeValuesSampleValue]
    Value of the slot type entry. See sample_value argument reference below.
    synonyms Sequence[V2modelsSlotTypeSlotTypeValuesSynonym]
    A list of additional values related to the slot type entry. See synonyms argument reference below.
    sampleValues List<Property Map>
    Value of the slot type entry. See sample_value argument reference below.
    synonyms List<Property Map>
    A list of additional values related to the slot type entry. See synonyms argument reference below.

    V2modelsSlotTypeSlotTypeValuesSampleValue, V2modelsSlotTypeSlotTypeValuesSampleValueArgs

    Value string
    Value that can be used for a slot type.
    Value string
    Value that can be used for a slot type.
    value String
    Value that can be used for a slot type.
    value string
    Value that can be used for a slot type.
    value str
    Value that can be used for a slot type.
    value String
    Value that can be used for a slot type.

    V2modelsSlotTypeSlotTypeValuesSynonym, V2modelsSlotTypeSlotTypeValuesSynonymArgs

    Value string
    Value that can be used for a slot type.
    Value string
    Value that can be used for a slot type.
    value String
    Value that can be used for a slot type.
    value string
    Value that can be used for a slot type.
    value str
    Value that can be used for a slot type.
    value String
    Value that can be used for a slot type.

    V2modelsSlotTypeTimeouts, V2modelsSlotTypeTimeoutsArgs

    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).

    V2modelsSlotTypeValueSelectionSetting, V2modelsSlotTypeValueSelectionSettingArgs

    ResolutionStrategy string
    Determines the slot resolution strategy that Amazon Lex uses to return slot type values. Valid values are OriginalValue, TopResolution, and Concatenation.
    AdvancedRecognitionSettings List<V2modelsSlotTypeValueSelectionSettingAdvancedRecognitionSetting>
    Provides settings that enable advanced recognition settings for slot values. You can use this to enable using slot values as a custom vocabulary for recognizing user utterances. See advanced_recognition_setting argument reference below.
    RegexFilters List<V2modelsSlotTypeValueSelectionSettingRegexFilter>
    Used to validate the value of the slot. See regex_filter argument reference below.
    ResolutionStrategy string
    Determines the slot resolution strategy that Amazon Lex uses to return slot type values. Valid values are OriginalValue, TopResolution, and Concatenation.
    AdvancedRecognitionSettings []V2modelsSlotTypeValueSelectionSettingAdvancedRecognitionSetting
    Provides settings that enable advanced recognition settings for slot values. You can use this to enable using slot values as a custom vocabulary for recognizing user utterances. See advanced_recognition_setting argument reference below.
    RegexFilters []V2modelsSlotTypeValueSelectionSettingRegexFilter
    Used to validate the value of the slot. See regex_filter argument reference below.
    resolutionStrategy String
    Determines the slot resolution strategy that Amazon Lex uses to return slot type values. Valid values are OriginalValue, TopResolution, and Concatenation.
    advancedRecognitionSettings List<V2modelsSlotTypeValueSelectionSettingAdvancedRecognitionSetting>
    Provides settings that enable advanced recognition settings for slot values. You can use this to enable using slot values as a custom vocabulary for recognizing user utterances. See advanced_recognition_setting argument reference below.
    regexFilters List<V2modelsSlotTypeValueSelectionSettingRegexFilter>
    Used to validate the value of the slot. See regex_filter argument reference below.
    resolutionStrategy string
    Determines the slot resolution strategy that Amazon Lex uses to return slot type values. Valid values are OriginalValue, TopResolution, and Concatenation.
    advancedRecognitionSettings V2modelsSlotTypeValueSelectionSettingAdvancedRecognitionSetting[]
    Provides settings that enable advanced recognition settings for slot values. You can use this to enable using slot values as a custom vocabulary for recognizing user utterances. See advanced_recognition_setting argument reference below.
    regexFilters V2modelsSlotTypeValueSelectionSettingRegexFilter[]
    Used to validate the value of the slot. See regex_filter argument reference below.
    resolution_strategy str
    Determines the slot resolution strategy that Amazon Lex uses to return slot type values. Valid values are OriginalValue, TopResolution, and Concatenation.
    advanced_recognition_settings Sequence[V2modelsSlotTypeValueSelectionSettingAdvancedRecognitionSetting]
    Provides settings that enable advanced recognition settings for slot values. You can use this to enable using slot values as a custom vocabulary for recognizing user utterances. See advanced_recognition_setting argument reference below.
    regex_filters Sequence[V2modelsSlotTypeValueSelectionSettingRegexFilter]
    Used to validate the value of the slot. See regex_filter argument reference below.
    resolutionStrategy String
    Determines the slot resolution strategy that Amazon Lex uses to return slot type values. Valid values are OriginalValue, TopResolution, and Concatenation.
    advancedRecognitionSettings List<Property Map>
    Provides settings that enable advanced recognition settings for slot values. You can use this to enable using slot values as a custom vocabulary for recognizing user utterances. See advanced_recognition_setting argument reference below.
    regexFilters List<Property Map>
    Used to validate the value of the slot. See regex_filter argument reference below.

    V2modelsSlotTypeValueSelectionSettingAdvancedRecognitionSetting, V2modelsSlotTypeValueSelectionSettingAdvancedRecognitionSettingArgs

    AudioRecognitionStrategy string
    Enables using the slot values as a custom vocabulary for recognizing user utterances. Valid value is UseSlotValuesAsCustomVocabulary.
    AudioRecognitionStrategy string
    Enables using the slot values as a custom vocabulary for recognizing user utterances. Valid value is UseSlotValuesAsCustomVocabulary.
    audioRecognitionStrategy String
    Enables using the slot values as a custom vocabulary for recognizing user utterances. Valid value is UseSlotValuesAsCustomVocabulary.
    audioRecognitionStrategy string
    Enables using the slot values as a custom vocabulary for recognizing user utterances. Valid value is UseSlotValuesAsCustomVocabulary.
    audio_recognition_strategy str
    Enables using the slot values as a custom vocabulary for recognizing user utterances. Valid value is UseSlotValuesAsCustomVocabulary.
    audioRecognitionStrategy String
    Enables using the slot values as a custom vocabulary for recognizing user utterances. Valid value is UseSlotValuesAsCustomVocabulary.

    V2modelsSlotTypeValueSelectionSettingRegexFilter, V2modelsSlotTypeValueSelectionSettingRegexFilterArgs

    Pattern string
    A regular expression used to validate the value of a slot.
    Pattern string
    A regular expression used to validate the value of a slot.
    pattern String
    A regular expression used to validate the value of a slot.
    pattern string
    A regular expression used to validate the value of a slot.
    pattern str
    A regular expression used to validate the value of a slot.
    pattern String
    A regular expression used to validate the value of a slot.

    Import

    Using pulumi import, import Lex V2 Models Slot Type using using a comma-delimited string concatenating bot_id, bot_version, locale_id, and slot_type_id. For example:

    $ pulumi import aws:lex/v2modelsSlotType:V2modelsSlotType example bot-1234,DRAFT,en_US,slot_type-id-12345678
    

    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