1. Packages
  2. AWS
  3. API Docs
  4. lex
  5. SlotType
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

aws.lex.SlotType

Explore with Pulumi AI

aws logo
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

    Provides an Amazon Lex Slot Type resource. For more information see Amazon Lex: How It Works

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const flowerTypes = new aws.lex.SlotType("flower_types", {
        createVersion: true,
        description: "Types of flowers to order",
        enumerationValues: [
            {
                synonyms: [
                    "Lirium",
                    "Martagon",
                ],
                value: "lilies",
            },
            {
                synonyms: [
                    "Eduardoregelia",
                    "Podonix",
                ],
                value: "tulips",
            },
        ],
        name: "FlowerTypes",
        valueSelectionStrategy: "ORIGINAL_VALUE",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    flower_types = aws.lex.SlotType("flower_types",
        create_version=True,
        description="Types of flowers to order",
        enumeration_values=[
            {
                "synonyms": [
                    "Lirium",
                    "Martagon",
                ],
                "value": "lilies",
            },
            {
                "synonyms": [
                    "Eduardoregelia",
                    "Podonix",
                ],
                "value": "tulips",
            },
        ],
        name="FlowerTypes",
        value_selection_strategy="ORIGINAL_VALUE")
    
    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.NewSlotType(ctx, "flower_types", &lex.SlotTypeArgs{
    			CreateVersion: pulumi.Bool(true),
    			Description:   pulumi.String("Types of flowers to order"),
    			EnumerationValues: lex.SlotTypeEnumerationValueArray{
    				&lex.SlotTypeEnumerationValueArgs{
    					Synonyms: pulumi.StringArray{
    						pulumi.String("Lirium"),
    						pulumi.String("Martagon"),
    					},
    					Value: pulumi.String("lilies"),
    				},
    				&lex.SlotTypeEnumerationValueArgs{
    					Synonyms: pulumi.StringArray{
    						pulumi.String("Eduardoregelia"),
    						pulumi.String("Podonix"),
    					},
    					Value: pulumi.String("tulips"),
    				},
    			},
    			Name:                   pulumi.String("FlowerTypes"),
    			ValueSelectionStrategy: pulumi.String("ORIGINAL_VALUE"),
    		})
    		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 flowerTypes = new Aws.Lex.SlotType("flower_types", new()
        {
            CreateVersion = true,
            Description = "Types of flowers to order",
            EnumerationValues = new[]
            {
                new Aws.Lex.Inputs.SlotTypeEnumerationValueArgs
                {
                    Synonyms = new[]
                    {
                        "Lirium",
                        "Martagon",
                    },
                    Value = "lilies",
                },
                new Aws.Lex.Inputs.SlotTypeEnumerationValueArgs
                {
                    Synonyms = new[]
                    {
                        "Eduardoregelia",
                        "Podonix",
                    },
                    Value = "tulips",
                },
            },
            Name = "FlowerTypes",
            ValueSelectionStrategy = "ORIGINAL_VALUE",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.lex.SlotType;
    import com.pulumi.aws.lex.SlotTypeArgs;
    import com.pulumi.aws.lex.inputs.SlotTypeEnumerationValueArgs;
    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 flowerTypes = new SlotType("flowerTypes", SlotTypeArgs.builder()
                .createVersion(true)
                .description("Types of flowers to order")
                .enumerationValues(            
                    SlotTypeEnumerationValueArgs.builder()
                        .synonyms(                    
                            "Lirium",
                            "Martagon")
                        .value("lilies")
                        .build(),
                    SlotTypeEnumerationValueArgs.builder()
                        .synonyms(                    
                            "Eduardoregelia",
                            "Podonix")
                        .value("tulips")
                        .build())
                .name("FlowerTypes")
                .valueSelectionStrategy("ORIGINAL_VALUE")
                .build());
    
        }
    }
    
    resources:
      flowerTypes:
        type: aws:lex:SlotType
        name: flower_types
        properties:
          createVersion: true
          description: Types of flowers to order
          enumerationValues:
            - synonyms:
                - Lirium
                - Martagon
              value: lilies
            - synonyms:
                - Eduardoregelia
                - Podonix
              value: tulips
          name: FlowerTypes
          valueSelectionStrategy: ORIGINAL_VALUE
    

    Create SlotType Resource

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

    Constructor syntax

    new SlotType(name: string, args: SlotTypeArgs, opts?: CustomResourceOptions);
    @overload
    def SlotType(resource_name: str,
                 args: SlotTypeArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def SlotType(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 enumeration_values: Optional[Sequence[SlotTypeEnumerationValueArgs]] = None,
                 create_version: Optional[bool] = None,
                 description: Optional[str] = None,
                 name: Optional[str] = None,
                 value_selection_strategy: Optional[str] = None)
    func NewSlotType(ctx *Context, name string, args SlotTypeArgs, opts ...ResourceOption) (*SlotType, error)
    public SlotType(string name, SlotTypeArgs args, CustomResourceOptions? opts = null)
    public SlotType(String name, SlotTypeArgs args)
    public SlotType(String name, SlotTypeArgs args, CustomResourceOptions options)
    
    type: aws:lex:SlotType
    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 SlotTypeArgs
    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 SlotTypeArgs
    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 SlotTypeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SlotTypeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SlotTypeArgs
    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 slotTypeResource = new Aws.Lex.SlotType("slotTypeResource", new()
    {
        EnumerationValues = new[]
        {
            new Aws.Lex.Inputs.SlotTypeEnumerationValueArgs
            {
                Value = "string",
                Synonyms = new[]
                {
                    "string",
                },
            },
        },
        CreateVersion = false,
        Description = "string",
        Name = "string",
        ValueSelectionStrategy = "string",
    });
    
    example, err := lex.NewSlotType(ctx, "slotTypeResource", &lex.SlotTypeArgs{
    	EnumerationValues: lex.SlotTypeEnumerationValueArray{
    		&lex.SlotTypeEnumerationValueArgs{
    			Value: pulumi.String("string"),
    			Synonyms: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	CreateVersion:          pulumi.Bool(false),
    	Description:            pulumi.String("string"),
    	Name:                   pulumi.String("string"),
    	ValueSelectionStrategy: pulumi.String("string"),
    })
    
    var slotTypeResource = new SlotType("slotTypeResource", SlotTypeArgs.builder()
        .enumerationValues(SlotTypeEnumerationValueArgs.builder()
            .value("string")
            .synonyms("string")
            .build())
        .createVersion(false)
        .description("string")
        .name("string")
        .valueSelectionStrategy("string")
        .build());
    
    slot_type_resource = aws.lex.SlotType("slotTypeResource",
        enumeration_values=[{
            "value": "string",
            "synonyms": ["string"],
        }],
        create_version=False,
        description="string",
        name="string",
        value_selection_strategy="string")
    
    const slotTypeResource = new aws.lex.SlotType("slotTypeResource", {
        enumerationValues: [{
            value: "string",
            synonyms: ["string"],
        }],
        createVersion: false,
        description: "string",
        name: "string",
        valueSelectionStrategy: "string",
    });
    
    type: aws:lex:SlotType
    properties:
        createVersion: false
        description: string
        enumerationValues:
            - synonyms:
                - string
              value: string
        name: string
        valueSelectionStrategy: string
    

    SlotType Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The SlotType resource accepts the following input properties:

    EnumerationValues List<SlotTypeEnumerationValue>
    A list of EnumerationValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, which are additional values that help train the machine learning model about the values that it resolves for a slot. Attributes are documented under enumeration_value.
    CreateVersion bool
    Determines if a new slot type version is created when the initial resource is created and on each update. Defaults to false.
    Description string
    A description of the slot type. Must be less than or equal to 200 characters in length.
    Name string
    The name of the slot type. The name is not case sensitive. Must be less than or equal to 100 characters in length.
    ValueSelectionStrategy string
    Determines the slot resolution strategy that Amazon Lex uses to return slot type values. ORIGINAL_VALUE returns the value entered by the user if the user value is similar to the slot value. TOP_RESOLUTION returns the first value in the resolution list if there is a resolution list for the slot, otherwise null is returned. Defaults to ORIGINAL_VALUE.
    EnumerationValues []SlotTypeEnumerationValueArgs
    A list of EnumerationValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, which are additional values that help train the machine learning model about the values that it resolves for a slot. Attributes are documented under enumeration_value.
    CreateVersion bool
    Determines if a new slot type version is created when the initial resource is created and on each update. Defaults to false.
    Description string
    A description of the slot type. Must be less than or equal to 200 characters in length.
    Name string
    The name of the slot type. The name is not case sensitive. Must be less than or equal to 100 characters in length.
    ValueSelectionStrategy string
    Determines the slot resolution strategy that Amazon Lex uses to return slot type values. ORIGINAL_VALUE returns the value entered by the user if the user value is similar to the slot value. TOP_RESOLUTION returns the first value in the resolution list if there is a resolution list for the slot, otherwise null is returned. Defaults to ORIGINAL_VALUE.
    enumerationValues List<SlotTypeEnumerationValue>
    A list of EnumerationValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, which are additional values that help train the machine learning model about the values that it resolves for a slot. Attributes are documented under enumeration_value.
    createVersion Boolean
    Determines if a new slot type version is created when the initial resource is created and on each update. Defaults to false.
    description String
    A description of the slot type. Must be less than or equal to 200 characters in length.
    name String
    The name of the slot type. The name is not case sensitive. Must be less than or equal to 100 characters in length.
    valueSelectionStrategy String
    Determines the slot resolution strategy that Amazon Lex uses to return slot type values. ORIGINAL_VALUE returns the value entered by the user if the user value is similar to the slot value. TOP_RESOLUTION returns the first value in the resolution list if there is a resolution list for the slot, otherwise null is returned. Defaults to ORIGINAL_VALUE.
    enumerationValues SlotTypeEnumerationValue[]
    A list of EnumerationValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, which are additional values that help train the machine learning model about the values that it resolves for a slot. Attributes are documented under enumeration_value.
    createVersion boolean
    Determines if a new slot type version is created when the initial resource is created and on each update. Defaults to false.
    description string
    A description of the slot type. Must be less than or equal to 200 characters in length.
    name string
    The name of the slot type. The name is not case sensitive. Must be less than or equal to 100 characters in length.
    valueSelectionStrategy string
    Determines the slot resolution strategy that Amazon Lex uses to return slot type values. ORIGINAL_VALUE returns the value entered by the user if the user value is similar to the slot value. TOP_RESOLUTION returns the first value in the resolution list if there is a resolution list for the slot, otherwise null is returned. Defaults to ORIGINAL_VALUE.
    enumeration_values Sequence[SlotTypeEnumerationValueArgs]
    A list of EnumerationValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, which are additional values that help train the machine learning model about the values that it resolves for a slot. Attributes are documented under enumeration_value.
    create_version bool
    Determines if a new slot type version is created when the initial resource is created and on each update. Defaults to false.
    description str
    A description of the slot type. Must be less than or equal to 200 characters in length.
    name str
    The name of the slot type. The name is not case sensitive. Must be less than or equal to 100 characters in length.
    value_selection_strategy str
    Determines the slot resolution strategy that Amazon Lex uses to return slot type values. ORIGINAL_VALUE returns the value entered by the user if the user value is similar to the slot value. TOP_RESOLUTION returns the first value in the resolution list if there is a resolution list for the slot, otherwise null is returned. Defaults to ORIGINAL_VALUE.
    enumerationValues List<Property Map>
    A list of EnumerationValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, which are additional values that help train the machine learning model about the values that it resolves for a slot. Attributes are documented under enumeration_value.
    createVersion Boolean
    Determines if a new slot type version is created when the initial resource is created and on each update. Defaults to false.
    description String
    A description of the slot type. Must be less than or equal to 200 characters in length.
    name String
    The name of the slot type. The name is not case sensitive. Must be less than or equal to 100 characters in length.
    valueSelectionStrategy String
    Determines the slot resolution strategy that Amazon Lex uses to return slot type values. ORIGINAL_VALUE returns the value entered by the user if the user value is similar to the slot value. TOP_RESOLUTION returns the first value in the resolution list if there is a resolution list for the slot, otherwise null is returned. Defaults to ORIGINAL_VALUE.

    Outputs

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

    Checksum string
    Checksum identifying the version of the slot type that was created. The checksum is not included as an argument because the resource will add it automatically when updating the slot type.
    CreatedDate string
    The date when the slot type version was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedDate string
    The date when the $LATEST version of this slot type was updated.
    Version string
    The version of the slot type.
    Checksum string
    Checksum identifying the version of the slot type that was created. The checksum is not included as an argument because the resource will add it automatically when updating the slot type.
    CreatedDate string
    The date when the slot type version was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedDate string
    The date when the $LATEST version of this slot type was updated.
    Version string
    The version of the slot type.
    checksum String
    Checksum identifying the version of the slot type that was created. The checksum is not included as an argument because the resource will add it automatically when updating the slot type.
    createdDate String
    The date when the slot type version was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedDate String
    The date when the $LATEST version of this slot type was updated.
    version String
    The version of the slot type.
    checksum string
    Checksum identifying the version of the slot type that was created. The checksum is not included as an argument because the resource will add it automatically when updating the slot type.
    createdDate string
    The date when the slot type version was created.
    id string
    The provider-assigned unique ID for this managed resource.
    lastUpdatedDate string
    The date when the $LATEST version of this slot type was updated.
    version string
    The version of the slot type.
    checksum str
    Checksum identifying the version of the slot type that was created. The checksum is not included as an argument because the resource will add it automatically when updating the slot type.
    created_date str
    The date when the slot type version was created.
    id str
    The provider-assigned unique ID for this managed resource.
    last_updated_date str
    The date when the $LATEST version of this slot type was updated.
    version str
    The version of the slot type.
    checksum String
    Checksum identifying the version of the slot type that was created. The checksum is not included as an argument because the resource will add it automatically when updating the slot type.
    createdDate String
    The date when the slot type version was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedDate String
    The date when the $LATEST version of this slot type was updated.
    version String
    The version of the slot type.

    Look up Existing SlotType Resource

    Get an existing SlotType 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?: SlotTypeState, opts?: CustomResourceOptions): SlotType
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            checksum: Optional[str] = None,
            create_version: Optional[bool] = None,
            created_date: Optional[str] = None,
            description: Optional[str] = None,
            enumeration_values: Optional[Sequence[SlotTypeEnumerationValueArgs]] = None,
            last_updated_date: Optional[str] = None,
            name: Optional[str] = None,
            value_selection_strategy: Optional[str] = None,
            version: Optional[str] = None) -> SlotType
    func GetSlotType(ctx *Context, name string, id IDInput, state *SlotTypeState, opts ...ResourceOption) (*SlotType, error)
    public static SlotType Get(string name, Input<string> id, SlotTypeState? state, CustomResourceOptions? opts = null)
    public static SlotType get(String name, Output<String> id, SlotTypeState 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:
    Checksum string
    Checksum identifying the version of the slot type that was created. The checksum is not included as an argument because the resource will add it automatically when updating the slot type.
    CreateVersion bool
    Determines if a new slot type version is created when the initial resource is created and on each update. Defaults to false.
    CreatedDate string
    The date when the slot type version was created.
    Description string
    A description of the slot type. Must be less than or equal to 200 characters in length.
    EnumerationValues List<SlotTypeEnumerationValue>
    A list of EnumerationValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, which are additional values that help train the machine learning model about the values that it resolves for a slot. Attributes are documented under enumeration_value.
    LastUpdatedDate string
    The date when the $LATEST version of this slot type was updated.
    Name string
    The name of the slot type. The name is not case sensitive. Must be less than or equal to 100 characters in length.
    ValueSelectionStrategy string
    Determines the slot resolution strategy that Amazon Lex uses to return slot type values. ORIGINAL_VALUE returns the value entered by the user if the user value is similar to the slot value. TOP_RESOLUTION returns the first value in the resolution list if there is a resolution list for the slot, otherwise null is returned. Defaults to ORIGINAL_VALUE.
    Version string
    The version of the slot type.
    Checksum string
    Checksum identifying the version of the slot type that was created. The checksum is not included as an argument because the resource will add it automatically when updating the slot type.
    CreateVersion bool
    Determines if a new slot type version is created when the initial resource is created and on each update. Defaults to false.
    CreatedDate string
    The date when the slot type version was created.
    Description string
    A description of the slot type. Must be less than or equal to 200 characters in length.
    EnumerationValues []SlotTypeEnumerationValueArgs
    A list of EnumerationValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, which are additional values that help train the machine learning model about the values that it resolves for a slot. Attributes are documented under enumeration_value.
    LastUpdatedDate string
    The date when the $LATEST version of this slot type was updated.
    Name string
    The name of the slot type. The name is not case sensitive. Must be less than or equal to 100 characters in length.
    ValueSelectionStrategy string
    Determines the slot resolution strategy that Amazon Lex uses to return slot type values. ORIGINAL_VALUE returns the value entered by the user if the user value is similar to the slot value. TOP_RESOLUTION returns the first value in the resolution list if there is a resolution list for the slot, otherwise null is returned. Defaults to ORIGINAL_VALUE.
    Version string
    The version of the slot type.
    checksum String
    Checksum identifying the version of the slot type that was created. The checksum is not included as an argument because the resource will add it automatically when updating the slot type.
    createVersion Boolean
    Determines if a new slot type version is created when the initial resource is created and on each update. Defaults to false.
    createdDate String
    The date when the slot type version was created.
    description String
    A description of the slot type. Must be less than or equal to 200 characters in length.
    enumerationValues List<SlotTypeEnumerationValue>
    A list of EnumerationValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, which are additional values that help train the machine learning model about the values that it resolves for a slot. Attributes are documented under enumeration_value.
    lastUpdatedDate String
    The date when the $LATEST version of this slot type was updated.
    name String
    The name of the slot type. The name is not case sensitive. Must be less than or equal to 100 characters in length.
    valueSelectionStrategy String
    Determines the slot resolution strategy that Amazon Lex uses to return slot type values. ORIGINAL_VALUE returns the value entered by the user if the user value is similar to the slot value. TOP_RESOLUTION returns the first value in the resolution list if there is a resolution list for the slot, otherwise null is returned. Defaults to ORIGINAL_VALUE.
    version String
    The version of the slot type.
    checksum string
    Checksum identifying the version of the slot type that was created. The checksum is not included as an argument because the resource will add it automatically when updating the slot type.
    createVersion boolean
    Determines if a new slot type version is created when the initial resource is created and on each update. Defaults to false.
    createdDate string
    The date when the slot type version was created.
    description string
    A description of the slot type. Must be less than or equal to 200 characters in length.
    enumerationValues SlotTypeEnumerationValue[]
    A list of EnumerationValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, which are additional values that help train the machine learning model about the values that it resolves for a slot. Attributes are documented under enumeration_value.
    lastUpdatedDate string
    The date when the $LATEST version of this slot type was updated.
    name string
    The name of the slot type. The name is not case sensitive. Must be less than or equal to 100 characters in length.
    valueSelectionStrategy string
    Determines the slot resolution strategy that Amazon Lex uses to return slot type values. ORIGINAL_VALUE returns the value entered by the user if the user value is similar to the slot value. TOP_RESOLUTION returns the first value in the resolution list if there is a resolution list for the slot, otherwise null is returned. Defaults to ORIGINAL_VALUE.
    version string
    The version of the slot type.
    checksum str
    Checksum identifying the version of the slot type that was created. The checksum is not included as an argument because the resource will add it automatically when updating the slot type.
    create_version bool
    Determines if a new slot type version is created when the initial resource is created and on each update. Defaults to false.
    created_date str
    The date when the slot type version was created.
    description str
    A description of the slot type. Must be less than or equal to 200 characters in length.
    enumeration_values Sequence[SlotTypeEnumerationValueArgs]
    A list of EnumerationValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, which are additional values that help train the machine learning model about the values that it resolves for a slot. Attributes are documented under enumeration_value.
    last_updated_date str
    The date when the $LATEST version of this slot type was updated.
    name str
    The name of the slot type. The name is not case sensitive. Must be less than or equal to 100 characters in length.
    value_selection_strategy str
    Determines the slot resolution strategy that Amazon Lex uses to return slot type values. ORIGINAL_VALUE returns the value entered by the user if the user value is similar to the slot value. TOP_RESOLUTION returns the first value in the resolution list if there is a resolution list for the slot, otherwise null is returned. Defaults to ORIGINAL_VALUE.
    version str
    The version of the slot type.
    checksum String
    Checksum identifying the version of the slot type that was created. The checksum is not included as an argument because the resource will add it automatically when updating the slot type.
    createVersion Boolean
    Determines if a new slot type version is created when the initial resource is created and on each update. Defaults to false.
    createdDate String
    The date when the slot type version was created.
    description String
    A description of the slot type. Must be less than or equal to 200 characters in length.
    enumerationValues List<Property Map>
    A list of EnumerationValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, which are additional values that help train the machine learning model about the values that it resolves for a slot. Attributes are documented under enumeration_value.
    lastUpdatedDate String
    The date when the $LATEST version of this slot type was updated.
    name String
    The name of the slot type. The name is not case sensitive. Must be less than or equal to 100 characters in length.
    valueSelectionStrategy String
    Determines the slot resolution strategy that Amazon Lex uses to return slot type values. ORIGINAL_VALUE returns the value entered by the user if the user value is similar to the slot value. TOP_RESOLUTION returns the first value in the resolution list if there is a resolution list for the slot, otherwise null is returned. Defaults to ORIGINAL_VALUE.
    version String
    The version of the slot type.

    Supporting Types

    SlotTypeEnumerationValue, SlotTypeEnumerationValueArgs

    Value string
    The value of the slot type. Must be less than or equal to 140 characters in length.
    Synonyms List<string>
    Additional values related to the slot type value. Each item must be less than or equal to 140 characters in length.
    Value string
    The value of the slot type. Must be less than or equal to 140 characters in length.
    Synonyms []string
    Additional values related to the slot type value. Each item must be less than or equal to 140 characters in length.
    value String
    The value of the slot type. Must be less than or equal to 140 characters in length.
    synonyms List<String>
    Additional values related to the slot type value. Each item must be less than or equal to 140 characters in length.
    value string
    The value of the slot type. Must be less than or equal to 140 characters in length.
    synonyms string[]
    Additional values related to the slot type value. Each item must be less than or equal to 140 characters in length.
    value str
    The value of the slot type. Must be less than or equal to 140 characters in length.
    synonyms Sequence[str]
    Additional values related to the slot type value. Each item must be less than or equal to 140 characters in length.
    value String
    The value of the slot type. Must be less than or equal to 140 characters in length.
    synonyms List<String>
    Additional values related to the slot type value. Each item must be less than or equal to 140 characters in length.

    Import

    Using pulumi import, import slot types using their name. For example:

    $ pulumi import aws:lex/slotType:SlotType flower_types FlowerTypes
    

    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.60.0 published on Tuesday, Nov 19, 2024 by Pulumi