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

aws.lex.Intent

Explore with Pulumi AI

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

    Provides an Amazon Lex Intent 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 orderFlowersIntent = new aws.lex.Intent("order_flowers_intent", {
        confirmationPrompt: {
            maxAttempts: 2,
            messages: [{
                content: "Okay, your {FlowerType} will be ready for pickup by {PickupTime} on {PickupDate}.  Does this sound okay?",
                contentType: "PlainText",
            }],
        },
        createVersion: false,
        name: "OrderFlowers",
        description: "Intent to order a bouquet of flowers for pick up",
        fulfillmentActivity: {
            type: "ReturnIntent",
        },
        rejectionStatement: {
            messages: [{
                content: "Okay, I will not place your order.",
                contentType: "PlainText",
            }],
        },
        sampleUtterances: [
            "I would like to order some flowers",
            "I would like to pick up flowers",
        ],
        slots: [
            {
                description: "The type of flowers to pick up",
                name: "FlowerType",
                priority: 1,
                sampleUtterances: ["I would like to order {FlowerType}"],
                slotConstraint: "Required",
                slotType: "FlowerTypes",
                slotTypeVersion: "$$LATEST",
                valueElicitationPrompt: {
                    maxAttempts: 2,
                    messages: [{
                        content: "What type of flowers would you like to order?",
                        contentType: "PlainText",
                    }],
                },
            },
            {
                description: "The date to pick up the flowers",
                name: "PickupDate",
                priority: 2,
                sampleUtterances: ["I would like to order {FlowerType}"],
                slotConstraint: "Required",
                slotType: "AMAZON.DATE",
                slotTypeVersion: "$$LATEST",
                valueElicitationPrompt: {
                    maxAttempts: 2,
                    messages: [{
                        content: "What day do you want the {FlowerType} to be picked up?",
                        contentType: "PlainText",
                    }],
                },
            },
            {
                description: "The time to pick up the flowers",
                name: "PickupTime",
                priority: 3,
                sampleUtterances: ["I would like to order {FlowerType}"],
                slotConstraint: "Required",
                slotType: "AMAZON.TIME",
                slotTypeVersion: "$$LATEST",
                valueElicitationPrompt: {
                    maxAttempts: 2,
                    messages: [{
                        content: "Pick up the {FlowerType} at what time on {PickupDate}?",
                        contentType: "PlainText",
                    }],
                },
            },
        ],
    });
    
    import pulumi
    import pulumi_aws as aws
    
    order_flowers_intent = aws.lex.Intent("order_flowers_intent",
        confirmation_prompt={
            "max_attempts": 2,
            "messages": [{
                "content": "Okay, your {FlowerType} will be ready for pickup by {PickupTime} on {PickupDate}.  Does this sound okay?",
                "content_type": "PlainText",
            }],
        },
        create_version=False,
        name="OrderFlowers",
        description="Intent to order a bouquet of flowers for pick up",
        fulfillment_activity={
            "type": "ReturnIntent",
        },
        rejection_statement={
            "messages": [{
                "content": "Okay, I will not place your order.",
                "content_type": "PlainText",
            }],
        },
        sample_utterances=[
            "I would like to order some flowers",
            "I would like to pick up flowers",
        ],
        slots=[
            {
                "description": "The type of flowers to pick up",
                "name": "FlowerType",
                "priority": 1,
                "sample_utterances": ["I would like to order {FlowerType}"],
                "slot_constraint": "Required",
                "slot_type": "FlowerTypes",
                "slot_type_version": "$$LATEST",
                "value_elicitation_prompt": {
                    "max_attempts": 2,
                    "messages": [{
                        "content": "What type of flowers would you like to order?",
                        "content_type": "PlainText",
                    }],
                },
            },
            {
                "description": "The date to pick up the flowers",
                "name": "PickupDate",
                "priority": 2,
                "sample_utterances": ["I would like to order {FlowerType}"],
                "slot_constraint": "Required",
                "slot_type": "AMAZON.DATE",
                "slot_type_version": "$$LATEST",
                "value_elicitation_prompt": {
                    "max_attempts": 2,
                    "messages": [{
                        "content": "What day do you want the {FlowerType} to be picked up?",
                        "content_type": "PlainText",
                    }],
                },
            },
            {
                "description": "The time to pick up the flowers",
                "name": "PickupTime",
                "priority": 3,
                "sample_utterances": ["I would like to order {FlowerType}"],
                "slot_constraint": "Required",
                "slot_type": "AMAZON.TIME",
                "slot_type_version": "$$LATEST",
                "value_elicitation_prompt": {
                    "max_attempts": 2,
                    "messages": [{
                        "content": "Pick up the {FlowerType} at what time on {PickupDate}?",
                        "content_type": "PlainText",
                    }],
                },
            },
        ])
    
    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.NewIntent(ctx, "order_flowers_intent", &lex.IntentArgs{
    			ConfirmationPrompt: &lex.IntentConfirmationPromptArgs{
    				MaxAttempts: pulumi.Int(2),
    				Messages: lex.IntentConfirmationPromptMessageArray{
    					&lex.IntentConfirmationPromptMessageArgs{
    						Content:     pulumi.String("Okay, your {FlowerType} will be ready for pickup by {PickupTime} on {PickupDate}.  Does this sound okay?"),
    						ContentType: pulumi.String("PlainText"),
    					},
    				},
    			},
    			CreateVersion: pulumi.Bool(false),
    			Name:          pulumi.String("OrderFlowers"),
    			Description:   pulumi.String("Intent to order a bouquet of flowers for pick up"),
    			FulfillmentActivity: &lex.IntentFulfillmentActivityArgs{
    				Type: pulumi.String("ReturnIntent"),
    			},
    			RejectionStatement: &lex.IntentRejectionStatementArgs{
    				Messages: lex.IntentRejectionStatementMessageArray{
    					&lex.IntentRejectionStatementMessageArgs{
    						Content:     pulumi.String("Okay, I will not place your order."),
    						ContentType: pulumi.String("PlainText"),
    					},
    				},
    			},
    			SampleUtterances: pulumi.StringArray{
    				pulumi.String("I would like to order some flowers"),
    				pulumi.String("I would like to pick up flowers"),
    			},
    			Slots: lex.IntentSlotArray{
    				&lex.IntentSlotArgs{
    					Description: pulumi.String("The type of flowers to pick up"),
    					Name:        pulumi.String("FlowerType"),
    					Priority:    pulumi.Int(1),
    					SampleUtterances: pulumi.StringArray{
    						pulumi.String("I would like to order {FlowerType}"),
    					},
    					SlotConstraint:  pulumi.String("Required"),
    					SlotType:        pulumi.String("FlowerTypes"),
    					SlotTypeVersion: pulumi.String("$$LATEST"),
    					ValueElicitationPrompt: &lex.IntentSlotValueElicitationPromptArgs{
    						MaxAttempts: pulumi.Int(2),
    						Messages: lex.IntentSlotValueElicitationPromptMessageArray{
    							&lex.IntentSlotValueElicitationPromptMessageArgs{
    								Content:     pulumi.String("What type of flowers would you like to order?"),
    								ContentType: pulumi.String("PlainText"),
    							},
    						},
    					},
    				},
    				&lex.IntentSlotArgs{
    					Description: pulumi.String("The date to pick up the flowers"),
    					Name:        pulumi.String("PickupDate"),
    					Priority:    pulumi.Int(2),
    					SampleUtterances: pulumi.StringArray{
    						pulumi.String("I would like to order {FlowerType}"),
    					},
    					SlotConstraint:  pulumi.String("Required"),
    					SlotType:        pulumi.String("AMAZON.DATE"),
    					SlotTypeVersion: pulumi.String("$$LATEST"),
    					ValueElicitationPrompt: &lex.IntentSlotValueElicitationPromptArgs{
    						MaxAttempts: pulumi.Int(2),
    						Messages: lex.IntentSlotValueElicitationPromptMessageArray{
    							&lex.IntentSlotValueElicitationPromptMessageArgs{
    								Content:     pulumi.String("What day do you want the {FlowerType} to be picked up?"),
    								ContentType: pulumi.String("PlainText"),
    							},
    						},
    					},
    				},
    				&lex.IntentSlotArgs{
    					Description: pulumi.String("The time to pick up the flowers"),
    					Name:        pulumi.String("PickupTime"),
    					Priority:    pulumi.Int(3),
    					SampleUtterances: pulumi.StringArray{
    						pulumi.String("I would like to order {FlowerType}"),
    					},
    					SlotConstraint:  pulumi.String("Required"),
    					SlotType:        pulumi.String("AMAZON.TIME"),
    					SlotTypeVersion: pulumi.String("$$LATEST"),
    					ValueElicitationPrompt: &lex.IntentSlotValueElicitationPromptArgs{
    						MaxAttempts: pulumi.Int(2),
    						Messages: lex.IntentSlotValueElicitationPromptMessageArray{
    							&lex.IntentSlotValueElicitationPromptMessageArgs{
    								Content:     pulumi.String("Pick up the {FlowerType} at what time on {PickupDate}?"),
    								ContentType: pulumi.String("PlainText"),
    							},
    						},
    					},
    				},
    			},
    		})
    		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 orderFlowersIntent = new Aws.Lex.Intent("order_flowers_intent", new()
        {
            ConfirmationPrompt = new Aws.Lex.Inputs.IntentConfirmationPromptArgs
            {
                MaxAttempts = 2,
                Messages = new[]
                {
                    new Aws.Lex.Inputs.IntentConfirmationPromptMessageArgs
                    {
                        Content = "Okay, your {FlowerType} will be ready for pickup by {PickupTime} on {PickupDate}.  Does this sound okay?",
                        ContentType = "PlainText",
                    },
                },
            },
            CreateVersion = false,
            Name = "OrderFlowers",
            Description = "Intent to order a bouquet of flowers for pick up",
            FulfillmentActivity = new Aws.Lex.Inputs.IntentFulfillmentActivityArgs
            {
                Type = "ReturnIntent",
            },
            RejectionStatement = new Aws.Lex.Inputs.IntentRejectionStatementArgs
            {
                Messages = new[]
                {
                    new Aws.Lex.Inputs.IntentRejectionStatementMessageArgs
                    {
                        Content = "Okay, I will not place your order.",
                        ContentType = "PlainText",
                    },
                },
            },
            SampleUtterances = new[]
            {
                "I would like to order some flowers",
                "I would like to pick up flowers",
            },
            Slots = new[]
            {
                new Aws.Lex.Inputs.IntentSlotArgs
                {
                    Description = "The type of flowers to pick up",
                    Name = "FlowerType",
                    Priority = 1,
                    SampleUtterances = new[]
                    {
                        "I would like to order {FlowerType}",
                    },
                    SlotConstraint = "Required",
                    SlotType = "FlowerTypes",
                    SlotTypeVersion = "$$LATEST",
                    ValueElicitationPrompt = new Aws.Lex.Inputs.IntentSlotValueElicitationPromptArgs
                    {
                        MaxAttempts = 2,
                        Messages = new[]
                        {
                            new Aws.Lex.Inputs.IntentSlotValueElicitationPromptMessageArgs
                            {
                                Content = "What type of flowers would you like to order?",
                                ContentType = "PlainText",
                            },
                        },
                    },
                },
                new Aws.Lex.Inputs.IntentSlotArgs
                {
                    Description = "The date to pick up the flowers",
                    Name = "PickupDate",
                    Priority = 2,
                    SampleUtterances = new[]
                    {
                        "I would like to order {FlowerType}",
                    },
                    SlotConstraint = "Required",
                    SlotType = "AMAZON.DATE",
                    SlotTypeVersion = "$$LATEST",
                    ValueElicitationPrompt = new Aws.Lex.Inputs.IntentSlotValueElicitationPromptArgs
                    {
                        MaxAttempts = 2,
                        Messages = new[]
                        {
                            new Aws.Lex.Inputs.IntentSlotValueElicitationPromptMessageArgs
                            {
                                Content = "What day do you want the {FlowerType} to be picked up?",
                                ContentType = "PlainText",
                            },
                        },
                    },
                },
                new Aws.Lex.Inputs.IntentSlotArgs
                {
                    Description = "The time to pick up the flowers",
                    Name = "PickupTime",
                    Priority = 3,
                    SampleUtterances = new[]
                    {
                        "I would like to order {FlowerType}",
                    },
                    SlotConstraint = "Required",
                    SlotType = "AMAZON.TIME",
                    SlotTypeVersion = "$$LATEST",
                    ValueElicitationPrompt = new Aws.Lex.Inputs.IntentSlotValueElicitationPromptArgs
                    {
                        MaxAttempts = 2,
                        Messages = new[]
                        {
                            new Aws.Lex.Inputs.IntentSlotValueElicitationPromptMessageArgs
                            {
                                Content = "Pick up the {FlowerType} at what time on {PickupDate}?",
                                ContentType = "PlainText",
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.lex.Intent;
    import com.pulumi.aws.lex.IntentArgs;
    import com.pulumi.aws.lex.inputs.IntentConfirmationPromptArgs;
    import com.pulumi.aws.lex.inputs.IntentFulfillmentActivityArgs;
    import com.pulumi.aws.lex.inputs.IntentRejectionStatementArgs;
    import com.pulumi.aws.lex.inputs.IntentSlotArgs;
    import com.pulumi.aws.lex.inputs.IntentSlotValueElicitationPromptArgs;
    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 orderFlowersIntent = new Intent("orderFlowersIntent", IntentArgs.builder()
                .confirmationPrompt(IntentConfirmationPromptArgs.builder()
                    .maxAttempts(2)
                    .messages(IntentConfirmationPromptMessageArgs.builder()
                        .content("Okay, your {FlowerType} will be ready for pickup by {PickupTime} on {PickupDate}.  Does this sound okay?")
                        .contentType("PlainText")
                        .build())
                    .build())
                .createVersion(false)
                .name("OrderFlowers")
                .description("Intent to order a bouquet of flowers for pick up")
                .fulfillmentActivity(IntentFulfillmentActivityArgs.builder()
                    .type("ReturnIntent")
                    .build())
                .rejectionStatement(IntentRejectionStatementArgs.builder()
                    .messages(IntentRejectionStatementMessageArgs.builder()
                        .content("Okay, I will not place your order.")
                        .contentType("PlainText")
                        .build())
                    .build())
                .sampleUtterances(            
                    "I would like to order some flowers",
                    "I would like to pick up flowers")
                .slots(            
                    IntentSlotArgs.builder()
                        .description("The type of flowers to pick up")
                        .name("FlowerType")
                        .priority(1)
                        .sampleUtterances("I would like to order {FlowerType}")
                        .slotConstraint("Required")
                        .slotType("FlowerTypes")
                        .slotTypeVersion("$$LATEST")
                        .valueElicitationPrompt(IntentSlotValueElicitationPromptArgs.builder()
                            .maxAttempts(2)
                            .messages(IntentSlotValueElicitationPromptMessageArgs.builder()
                                .content("What type of flowers would you like to order?")
                                .contentType("PlainText")
                                .build())
                            .build())
                        .build(),
                    IntentSlotArgs.builder()
                        .description("The date to pick up the flowers")
                        .name("PickupDate")
                        .priority(2)
                        .sampleUtterances("I would like to order {FlowerType}")
                        .slotConstraint("Required")
                        .slotType("AMAZON.DATE")
                        .slotTypeVersion("$$LATEST")
                        .valueElicitationPrompt(IntentSlotValueElicitationPromptArgs.builder()
                            .maxAttempts(2)
                            .messages(IntentSlotValueElicitationPromptMessageArgs.builder()
                                .content("What day do you want the {FlowerType} to be picked up?")
                                .contentType("PlainText")
                                .build())
                            .build())
                        .build(),
                    IntentSlotArgs.builder()
                        .description("The time to pick up the flowers")
                        .name("PickupTime")
                        .priority(3)
                        .sampleUtterances("I would like to order {FlowerType}")
                        .slotConstraint("Required")
                        .slotType("AMAZON.TIME")
                        .slotTypeVersion("$$LATEST")
                        .valueElicitationPrompt(IntentSlotValueElicitationPromptArgs.builder()
                            .maxAttempts(2)
                            .messages(IntentSlotValueElicitationPromptMessageArgs.builder()
                                .content("Pick up the {FlowerType} at what time on {PickupDate}?")
                                .contentType("PlainText")
                                .build())
                            .build())
                        .build())
                .build());
    
        }
    }
    
    resources:
      orderFlowersIntent:
        type: aws:lex:Intent
        name: order_flowers_intent
        properties:
          confirmationPrompt:
            maxAttempts: 2
            messages:
              - content: Okay, your {FlowerType} will be ready for pickup by {PickupTime} on {PickupDate}.  Does this sound okay?
                contentType: PlainText
          createVersion: false
          name: OrderFlowers
          description: Intent to order a bouquet of flowers for pick up
          fulfillmentActivity:
            type: ReturnIntent
          rejectionStatement:
            messages:
              - content: Okay, I will not place your order.
                contentType: PlainText
          sampleUtterances:
            - I would like to order some flowers
            - I would like to pick up flowers
          slots:
            - description: The type of flowers to pick up
              name: FlowerType
              priority: 1
              sampleUtterances:
                - I would like to order {FlowerType}
              slotConstraint: Required
              slotType: FlowerTypes
              slotTypeVersion: $$LATEST
              valueElicitationPrompt:
                maxAttempts: 2
                messages:
                  - content: What type of flowers would you like to order?
                    contentType: PlainText
            - description: The date to pick up the flowers
              name: PickupDate
              priority: 2
              sampleUtterances:
                - I would like to order {FlowerType}
              slotConstraint: Required
              slotType: AMAZON.DATE
              slotTypeVersion: $$LATEST
              valueElicitationPrompt:
                maxAttempts: 2
                messages:
                  - content: What day do you want the {FlowerType} to be picked up?
                    contentType: PlainText
            - description: The time to pick up the flowers
              name: PickupTime
              priority: 3
              sampleUtterances:
                - I would like to order {FlowerType}
              slotConstraint: Required
              slotType: AMAZON.TIME
              slotTypeVersion: $$LATEST
              valueElicitationPrompt:
                maxAttempts: 2
                messages:
                  - content: Pick up the {FlowerType} at what time on {PickupDate}?
                    contentType: PlainText
    

    Create Intent Resource

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

    Constructor syntax

    new Intent(name: string, args: IntentArgs, opts?: CustomResourceOptions);
    @overload
    def Intent(resource_name: str,
               args: IntentArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Intent(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               fulfillment_activity: Optional[IntentFulfillmentActivityArgs] = None,
               conclusion_statement: Optional[IntentConclusionStatementArgs] = None,
               confirmation_prompt: Optional[IntentConfirmationPromptArgs] = None,
               create_version: Optional[bool] = None,
               description: Optional[str] = None,
               dialog_code_hook: Optional[IntentDialogCodeHookArgs] = None,
               follow_up_prompt: Optional[IntentFollowUpPromptArgs] = None,
               name: Optional[str] = None,
               parent_intent_signature: Optional[str] = None,
               rejection_statement: Optional[IntentRejectionStatementArgs] = None,
               sample_utterances: Optional[Sequence[str]] = None,
               slots: Optional[Sequence[IntentSlotArgs]] = None)
    func NewIntent(ctx *Context, name string, args IntentArgs, opts ...ResourceOption) (*Intent, error)
    public Intent(string name, IntentArgs args, CustomResourceOptions? opts = null)
    public Intent(String name, IntentArgs args)
    public Intent(String name, IntentArgs args, CustomResourceOptions options)
    
    type: aws:lex:Intent
    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 IntentArgs
    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 IntentArgs
    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 IntentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IntentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IntentArgs
    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 intentResource = new Aws.Lex.Intent("intentResource", new()
    {
        FulfillmentActivity = new Aws.Lex.Inputs.IntentFulfillmentActivityArgs
        {
            Type = "string",
            CodeHook = new Aws.Lex.Inputs.IntentFulfillmentActivityCodeHookArgs
            {
                MessageVersion = "string",
                Uri = "string",
            },
        },
        ConclusionStatement = new Aws.Lex.Inputs.IntentConclusionStatementArgs
        {
            Messages = new[]
            {
                new Aws.Lex.Inputs.IntentConclusionStatementMessageArgs
                {
                    Content = "string",
                    ContentType = "string",
                    GroupNumber = 0,
                },
            },
            ResponseCard = "string",
        },
        ConfirmationPrompt = new Aws.Lex.Inputs.IntentConfirmationPromptArgs
        {
            MaxAttempts = 0,
            Messages = new[]
            {
                new Aws.Lex.Inputs.IntentConfirmationPromptMessageArgs
                {
                    Content = "string",
                    ContentType = "string",
                    GroupNumber = 0,
                },
            },
            ResponseCard = "string",
        },
        CreateVersion = false,
        Description = "string",
        DialogCodeHook = new Aws.Lex.Inputs.IntentDialogCodeHookArgs
        {
            MessageVersion = "string",
            Uri = "string",
        },
        FollowUpPrompt = new Aws.Lex.Inputs.IntentFollowUpPromptArgs
        {
            Prompt = new Aws.Lex.Inputs.IntentFollowUpPromptPromptArgs
            {
                MaxAttempts = 0,
                Messages = new[]
                {
                    new Aws.Lex.Inputs.IntentFollowUpPromptPromptMessageArgs
                    {
                        Content = "string",
                        ContentType = "string",
                        GroupNumber = 0,
                    },
                },
                ResponseCard = "string",
            },
            RejectionStatement = new Aws.Lex.Inputs.IntentFollowUpPromptRejectionStatementArgs
            {
                Messages = new[]
                {
                    new Aws.Lex.Inputs.IntentFollowUpPromptRejectionStatementMessageArgs
                    {
                        Content = "string",
                        ContentType = "string",
                        GroupNumber = 0,
                    },
                },
                ResponseCard = "string",
            },
        },
        Name = "string",
        ParentIntentSignature = "string",
        RejectionStatement = new Aws.Lex.Inputs.IntentRejectionStatementArgs
        {
            Messages = new[]
            {
                new Aws.Lex.Inputs.IntentRejectionStatementMessageArgs
                {
                    Content = "string",
                    ContentType = "string",
                    GroupNumber = 0,
                },
            },
            ResponseCard = "string",
        },
        SampleUtterances = new[]
        {
            "string",
        },
        Slots = new[]
        {
            new Aws.Lex.Inputs.IntentSlotArgs
            {
                Name = "string",
                SlotConstraint = "string",
                SlotType = "string",
                Description = "string",
                Priority = 0,
                ResponseCard = "string",
                SampleUtterances = new[]
                {
                    "string",
                },
                SlotTypeVersion = "string",
                ValueElicitationPrompt = new Aws.Lex.Inputs.IntentSlotValueElicitationPromptArgs
                {
                    MaxAttempts = 0,
                    Messages = new[]
                    {
                        new Aws.Lex.Inputs.IntentSlotValueElicitationPromptMessageArgs
                        {
                            Content = "string",
                            ContentType = "string",
                            GroupNumber = 0,
                        },
                    },
                    ResponseCard = "string",
                },
            },
        },
    });
    
    example, err := lex.NewIntent(ctx, "intentResource", &lex.IntentArgs{
    	FulfillmentActivity: &lex.IntentFulfillmentActivityArgs{
    		Type: pulumi.String("string"),
    		CodeHook: &lex.IntentFulfillmentActivityCodeHookArgs{
    			MessageVersion: pulumi.String("string"),
    			Uri:            pulumi.String("string"),
    		},
    	},
    	ConclusionStatement: &lex.IntentConclusionStatementArgs{
    		Messages: lex.IntentConclusionStatementMessageArray{
    			&lex.IntentConclusionStatementMessageArgs{
    				Content:     pulumi.String("string"),
    				ContentType: pulumi.String("string"),
    				GroupNumber: pulumi.Int(0),
    			},
    		},
    		ResponseCard: pulumi.String("string"),
    	},
    	ConfirmationPrompt: &lex.IntentConfirmationPromptArgs{
    		MaxAttempts: pulumi.Int(0),
    		Messages: lex.IntentConfirmationPromptMessageArray{
    			&lex.IntentConfirmationPromptMessageArgs{
    				Content:     pulumi.String("string"),
    				ContentType: pulumi.String("string"),
    				GroupNumber: pulumi.Int(0),
    			},
    		},
    		ResponseCard: pulumi.String("string"),
    	},
    	CreateVersion: pulumi.Bool(false),
    	Description:   pulumi.String("string"),
    	DialogCodeHook: &lex.IntentDialogCodeHookArgs{
    		MessageVersion: pulumi.String("string"),
    		Uri:            pulumi.String("string"),
    	},
    	FollowUpPrompt: &lex.IntentFollowUpPromptArgs{
    		Prompt: &lex.IntentFollowUpPromptPromptArgs{
    			MaxAttempts: pulumi.Int(0),
    			Messages: lex.IntentFollowUpPromptPromptMessageArray{
    				&lex.IntentFollowUpPromptPromptMessageArgs{
    					Content:     pulumi.String("string"),
    					ContentType: pulumi.String("string"),
    					GroupNumber: pulumi.Int(0),
    				},
    			},
    			ResponseCard: pulumi.String("string"),
    		},
    		RejectionStatement: &lex.IntentFollowUpPromptRejectionStatementArgs{
    			Messages: lex.IntentFollowUpPromptRejectionStatementMessageArray{
    				&lex.IntentFollowUpPromptRejectionStatementMessageArgs{
    					Content:     pulumi.String("string"),
    					ContentType: pulumi.String("string"),
    					GroupNumber: pulumi.Int(0),
    				},
    			},
    			ResponseCard: pulumi.String("string"),
    		},
    	},
    	Name:                  pulumi.String("string"),
    	ParentIntentSignature: pulumi.String("string"),
    	RejectionStatement: &lex.IntentRejectionStatementArgs{
    		Messages: lex.IntentRejectionStatementMessageArray{
    			&lex.IntentRejectionStatementMessageArgs{
    				Content:     pulumi.String("string"),
    				ContentType: pulumi.String("string"),
    				GroupNumber: pulumi.Int(0),
    			},
    		},
    		ResponseCard: pulumi.String("string"),
    	},
    	SampleUtterances: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Slots: lex.IntentSlotArray{
    		&lex.IntentSlotArgs{
    			Name:           pulumi.String("string"),
    			SlotConstraint: pulumi.String("string"),
    			SlotType:       pulumi.String("string"),
    			Description:    pulumi.String("string"),
    			Priority:       pulumi.Int(0),
    			ResponseCard:   pulumi.String("string"),
    			SampleUtterances: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			SlotTypeVersion: pulumi.String("string"),
    			ValueElicitationPrompt: &lex.IntentSlotValueElicitationPromptArgs{
    				MaxAttempts: pulumi.Int(0),
    				Messages: lex.IntentSlotValueElicitationPromptMessageArray{
    					&lex.IntentSlotValueElicitationPromptMessageArgs{
    						Content:     pulumi.String("string"),
    						ContentType: pulumi.String("string"),
    						GroupNumber: pulumi.Int(0),
    					},
    				},
    				ResponseCard: pulumi.String("string"),
    			},
    		},
    	},
    })
    
    var intentResource = new Intent("intentResource", IntentArgs.builder()
        .fulfillmentActivity(IntentFulfillmentActivityArgs.builder()
            .type("string")
            .codeHook(IntentFulfillmentActivityCodeHookArgs.builder()
                .messageVersion("string")
                .uri("string")
                .build())
            .build())
        .conclusionStatement(IntentConclusionStatementArgs.builder()
            .messages(IntentConclusionStatementMessageArgs.builder()
                .content("string")
                .contentType("string")
                .groupNumber(0)
                .build())
            .responseCard("string")
            .build())
        .confirmationPrompt(IntentConfirmationPromptArgs.builder()
            .maxAttempts(0)
            .messages(IntentConfirmationPromptMessageArgs.builder()
                .content("string")
                .contentType("string")
                .groupNumber(0)
                .build())
            .responseCard("string")
            .build())
        .createVersion(false)
        .description("string")
        .dialogCodeHook(IntentDialogCodeHookArgs.builder()
            .messageVersion("string")
            .uri("string")
            .build())
        .followUpPrompt(IntentFollowUpPromptArgs.builder()
            .prompt(IntentFollowUpPromptPromptArgs.builder()
                .maxAttempts(0)
                .messages(IntentFollowUpPromptPromptMessageArgs.builder()
                    .content("string")
                    .contentType("string")
                    .groupNumber(0)
                    .build())
                .responseCard("string")
                .build())
            .rejectionStatement(IntentFollowUpPromptRejectionStatementArgs.builder()
                .messages(IntentFollowUpPromptRejectionStatementMessageArgs.builder()
                    .content("string")
                    .contentType("string")
                    .groupNumber(0)
                    .build())
                .responseCard("string")
                .build())
            .build())
        .name("string")
        .parentIntentSignature("string")
        .rejectionStatement(IntentRejectionStatementArgs.builder()
            .messages(IntentRejectionStatementMessageArgs.builder()
                .content("string")
                .contentType("string")
                .groupNumber(0)
                .build())
            .responseCard("string")
            .build())
        .sampleUtterances("string")
        .slots(IntentSlotArgs.builder()
            .name("string")
            .slotConstraint("string")
            .slotType("string")
            .description("string")
            .priority(0)
            .responseCard("string")
            .sampleUtterances("string")
            .slotTypeVersion("string")
            .valueElicitationPrompt(IntentSlotValueElicitationPromptArgs.builder()
                .maxAttempts(0)
                .messages(IntentSlotValueElicitationPromptMessageArgs.builder()
                    .content("string")
                    .contentType("string")
                    .groupNumber(0)
                    .build())
                .responseCard("string")
                .build())
            .build())
        .build());
    
    intent_resource = aws.lex.Intent("intentResource",
        fulfillment_activity={
            "type": "string",
            "code_hook": {
                "message_version": "string",
                "uri": "string",
            },
        },
        conclusion_statement={
            "messages": [{
                "content": "string",
                "content_type": "string",
                "group_number": 0,
            }],
            "response_card": "string",
        },
        confirmation_prompt={
            "max_attempts": 0,
            "messages": [{
                "content": "string",
                "content_type": "string",
                "group_number": 0,
            }],
            "response_card": "string",
        },
        create_version=False,
        description="string",
        dialog_code_hook={
            "message_version": "string",
            "uri": "string",
        },
        follow_up_prompt={
            "prompt": {
                "max_attempts": 0,
                "messages": [{
                    "content": "string",
                    "content_type": "string",
                    "group_number": 0,
                }],
                "response_card": "string",
            },
            "rejection_statement": {
                "messages": [{
                    "content": "string",
                    "content_type": "string",
                    "group_number": 0,
                }],
                "response_card": "string",
            },
        },
        name="string",
        parent_intent_signature="string",
        rejection_statement={
            "messages": [{
                "content": "string",
                "content_type": "string",
                "group_number": 0,
            }],
            "response_card": "string",
        },
        sample_utterances=["string"],
        slots=[{
            "name": "string",
            "slot_constraint": "string",
            "slot_type": "string",
            "description": "string",
            "priority": 0,
            "response_card": "string",
            "sample_utterances": ["string"],
            "slot_type_version": "string",
            "value_elicitation_prompt": {
                "max_attempts": 0,
                "messages": [{
                    "content": "string",
                    "content_type": "string",
                    "group_number": 0,
                }],
                "response_card": "string",
            },
        }])
    
    const intentResource = new aws.lex.Intent("intentResource", {
        fulfillmentActivity: {
            type: "string",
            codeHook: {
                messageVersion: "string",
                uri: "string",
            },
        },
        conclusionStatement: {
            messages: [{
                content: "string",
                contentType: "string",
                groupNumber: 0,
            }],
            responseCard: "string",
        },
        confirmationPrompt: {
            maxAttempts: 0,
            messages: [{
                content: "string",
                contentType: "string",
                groupNumber: 0,
            }],
            responseCard: "string",
        },
        createVersion: false,
        description: "string",
        dialogCodeHook: {
            messageVersion: "string",
            uri: "string",
        },
        followUpPrompt: {
            prompt: {
                maxAttempts: 0,
                messages: [{
                    content: "string",
                    contentType: "string",
                    groupNumber: 0,
                }],
                responseCard: "string",
            },
            rejectionStatement: {
                messages: [{
                    content: "string",
                    contentType: "string",
                    groupNumber: 0,
                }],
                responseCard: "string",
            },
        },
        name: "string",
        parentIntentSignature: "string",
        rejectionStatement: {
            messages: [{
                content: "string",
                contentType: "string",
                groupNumber: 0,
            }],
            responseCard: "string",
        },
        sampleUtterances: ["string"],
        slots: [{
            name: "string",
            slotConstraint: "string",
            slotType: "string",
            description: "string",
            priority: 0,
            responseCard: "string",
            sampleUtterances: ["string"],
            slotTypeVersion: "string",
            valueElicitationPrompt: {
                maxAttempts: 0,
                messages: [{
                    content: "string",
                    contentType: "string",
                    groupNumber: 0,
                }],
                responseCard: "string",
            },
        }],
    });
    
    type: aws:lex:Intent
    properties:
        conclusionStatement:
            messages:
                - content: string
                  contentType: string
                  groupNumber: 0
            responseCard: string
        confirmationPrompt:
            maxAttempts: 0
            messages:
                - content: string
                  contentType: string
                  groupNumber: 0
            responseCard: string
        createVersion: false
        description: string
        dialogCodeHook:
            messageVersion: string
            uri: string
        followUpPrompt:
            prompt:
                maxAttempts: 0
                messages:
                    - content: string
                      contentType: string
                      groupNumber: 0
                responseCard: string
            rejectionStatement:
                messages:
                    - content: string
                      contentType: string
                      groupNumber: 0
                responseCard: string
        fulfillmentActivity:
            codeHook:
                messageVersion: string
                uri: string
            type: string
        name: string
        parentIntentSignature: string
        rejectionStatement:
            messages:
                - content: string
                  contentType: string
                  groupNumber: 0
            responseCard: string
        sampleUtterances:
            - string
        slots:
            - description: string
              name: string
              priority: 0
              responseCard: string
              sampleUtterances:
                - string
              slotConstraint: string
              slotType: string
              slotTypeVersion: string
              valueElicitationPrompt:
                maxAttempts: 0
                messages:
                    - content: string
                      contentType: string
                      groupNumber: 0
                responseCard: string
    

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

    FulfillmentActivity IntentFulfillmentActivity
    Describes how the intent is fulfilled. For example, after a user provides all of the information for a pizza order, fulfillment_activity defines how the bot places an order with a local pizza store. Attributes are documented under fulfillment_activity.
    ConclusionStatement IntentConclusionStatement
    The statement that you want Amazon Lex to convey to the user after the intent is successfully fulfilled by the Lambda function. This element is relevant only if you provide a Lambda function in the fulfillment_activity. If you return the intent to the client application, you can't specify this element. The follow_up_prompt and conclusion_statement are mutually exclusive. You can specify only one. Attributes are documented under statement.
    ConfirmationPrompt IntentConfirmationPrompt
    Prompts the user to confirm the intent. This question should have a yes or no answer. You you must provide both the rejection_statement and confirmation_prompt, or neither. Attributes are documented under prompt.
    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 intent. Must be less than or equal to 200 characters in length.
    DialogCodeHook IntentDialogCodeHook
    Specifies a Lambda function to invoke for each user input. You can invoke this Lambda function to personalize user interaction. Attributes are documented under code_hook.
    FollowUpPrompt IntentFollowUpPrompt
    Amazon Lex uses this prompt to solicit additional activity after fulfilling an intent. For example, after the OrderPizza intent is fulfilled, you might prompt the user to order a drink. The follow_up_prompt field and the conclusion_statement field are mutually exclusive. You can specify only one. Attributes are documented under follow_up_prompt.
    Name string
    The name of the intent, not case sensitive. Must be less than or equal to 100 characters in length.
    ParentIntentSignature string
    A unique identifier for the built-in intent to base this intent on. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.
    RejectionStatement IntentRejectionStatement
    When the user answers "no" to the question defined in confirmation_prompt, Amazon Lex responds with this statement to acknowledge that the intent was canceled. You must provide both the rejection_statement and the confirmation_prompt, or neither. Attributes are documented under statement.
    SampleUtterances List<string>
    An array of utterances (strings) that a user might say to signal the intent. For example, "I want {PizzaSize} pizza", "Order {Quantity} {PizzaSize} pizzas". In each utterance, a slot name is enclosed in curly braces. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.
    Slots List<IntentSlot>
    An list of intent slots. At runtime, Amazon Lex elicits required slot values from the user using prompts defined in the slots. Attributes are documented under slot.
    FulfillmentActivity IntentFulfillmentActivityArgs
    Describes how the intent is fulfilled. For example, after a user provides all of the information for a pizza order, fulfillment_activity defines how the bot places an order with a local pizza store. Attributes are documented under fulfillment_activity.
    ConclusionStatement IntentConclusionStatementArgs
    The statement that you want Amazon Lex to convey to the user after the intent is successfully fulfilled by the Lambda function. This element is relevant only if you provide a Lambda function in the fulfillment_activity. If you return the intent to the client application, you can't specify this element. The follow_up_prompt and conclusion_statement are mutually exclusive. You can specify only one. Attributes are documented under statement.
    ConfirmationPrompt IntentConfirmationPromptArgs
    Prompts the user to confirm the intent. This question should have a yes or no answer. You you must provide both the rejection_statement and confirmation_prompt, or neither. Attributes are documented under prompt.
    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 intent. Must be less than or equal to 200 characters in length.
    DialogCodeHook IntentDialogCodeHookArgs
    Specifies a Lambda function to invoke for each user input. You can invoke this Lambda function to personalize user interaction. Attributes are documented under code_hook.
    FollowUpPrompt IntentFollowUpPromptArgs
    Amazon Lex uses this prompt to solicit additional activity after fulfilling an intent. For example, after the OrderPizza intent is fulfilled, you might prompt the user to order a drink. The follow_up_prompt field and the conclusion_statement field are mutually exclusive. You can specify only one. Attributes are documented under follow_up_prompt.
    Name string
    The name of the intent, not case sensitive. Must be less than or equal to 100 characters in length.
    ParentIntentSignature string
    A unique identifier for the built-in intent to base this intent on. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.
    RejectionStatement IntentRejectionStatementArgs
    When the user answers "no" to the question defined in confirmation_prompt, Amazon Lex responds with this statement to acknowledge that the intent was canceled. You must provide both the rejection_statement and the confirmation_prompt, or neither. Attributes are documented under statement.
    SampleUtterances []string
    An array of utterances (strings) that a user might say to signal the intent. For example, "I want {PizzaSize} pizza", "Order {Quantity} {PizzaSize} pizzas". In each utterance, a slot name is enclosed in curly braces. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.
    Slots []IntentSlotArgs
    An list of intent slots. At runtime, Amazon Lex elicits required slot values from the user using prompts defined in the slots. Attributes are documented under slot.
    fulfillmentActivity IntentFulfillmentActivity
    Describes how the intent is fulfilled. For example, after a user provides all of the information for a pizza order, fulfillment_activity defines how the bot places an order with a local pizza store. Attributes are documented under fulfillment_activity.
    conclusionStatement IntentConclusionStatement
    The statement that you want Amazon Lex to convey to the user after the intent is successfully fulfilled by the Lambda function. This element is relevant only if you provide a Lambda function in the fulfillment_activity. If you return the intent to the client application, you can't specify this element. The follow_up_prompt and conclusion_statement are mutually exclusive. You can specify only one. Attributes are documented under statement.
    confirmationPrompt IntentConfirmationPrompt
    Prompts the user to confirm the intent. This question should have a yes or no answer. You you must provide both the rejection_statement and confirmation_prompt, or neither. Attributes are documented under prompt.
    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 intent. Must be less than or equal to 200 characters in length.
    dialogCodeHook IntentDialogCodeHook
    Specifies a Lambda function to invoke for each user input. You can invoke this Lambda function to personalize user interaction. Attributes are documented under code_hook.
    followUpPrompt IntentFollowUpPrompt
    Amazon Lex uses this prompt to solicit additional activity after fulfilling an intent. For example, after the OrderPizza intent is fulfilled, you might prompt the user to order a drink. The follow_up_prompt field and the conclusion_statement field are mutually exclusive. You can specify only one. Attributes are documented under follow_up_prompt.
    name String
    The name of the intent, not case sensitive. Must be less than or equal to 100 characters in length.
    parentIntentSignature String
    A unique identifier for the built-in intent to base this intent on. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.
    rejectionStatement IntentRejectionStatement
    When the user answers "no" to the question defined in confirmation_prompt, Amazon Lex responds with this statement to acknowledge that the intent was canceled. You must provide both the rejection_statement and the confirmation_prompt, or neither. Attributes are documented under statement.
    sampleUtterances List<String>
    An array of utterances (strings) that a user might say to signal the intent. For example, "I want {PizzaSize} pizza", "Order {Quantity} {PizzaSize} pizzas". In each utterance, a slot name is enclosed in curly braces. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.
    slots List<IntentSlot>
    An list of intent slots. At runtime, Amazon Lex elicits required slot values from the user using prompts defined in the slots. Attributes are documented under slot.
    fulfillmentActivity IntentFulfillmentActivity
    Describes how the intent is fulfilled. For example, after a user provides all of the information for a pizza order, fulfillment_activity defines how the bot places an order with a local pizza store. Attributes are documented under fulfillment_activity.
    conclusionStatement IntentConclusionStatement
    The statement that you want Amazon Lex to convey to the user after the intent is successfully fulfilled by the Lambda function. This element is relevant only if you provide a Lambda function in the fulfillment_activity. If you return the intent to the client application, you can't specify this element. The follow_up_prompt and conclusion_statement are mutually exclusive. You can specify only one. Attributes are documented under statement.
    confirmationPrompt IntentConfirmationPrompt
    Prompts the user to confirm the intent. This question should have a yes or no answer. You you must provide both the rejection_statement and confirmation_prompt, or neither. Attributes are documented under prompt.
    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 intent. Must be less than or equal to 200 characters in length.
    dialogCodeHook IntentDialogCodeHook
    Specifies a Lambda function to invoke for each user input. You can invoke this Lambda function to personalize user interaction. Attributes are documented under code_hook.
    followUpPrompt IntentFollowUpPrompt
    Amazon Lex uses this prompt to solicit additional activity after fulfilling an intent. For example, after the OrderPizza intent is fulfilled, you might prompt the user to order a drink. The follow_up_prompt field and the conclusion_statement field are mutually exclusive. You can specify only one. Attributes are documented under follow_up_prompt.
    name string
    The name of the intent, not case sensitive. Must be less than or equal to 100 characters in length.
    parentIntentSignature string
    A unique identifier for the built-in intent to base this intent on. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.
    rejectionStatement IntentRejectionStatement
    When the user answers "no" to the question defined in confirmation_prompt, Amazon Lex responds with this statement to acknowledge that the intent was canceled. You must provide both the rejection_statement and the confirmation_prompt, or neither. Attributes are documented under statement.
    sampleUtterances string[]
    An array of utterances (strings) that a user might say to signal the intent. For example, "I want {PizzaSize} pizza", "Order {Quantity} {PizzaSize} pizzas". In each utterance, a slot name is enclosed in curly braces. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.
    slots IntentSlot[]
    An list of intent slots. At runtime, Amazon Lex elicits required slot values from the user using prompts defined in the slots. Attributes are documented under slot.
    fulfillment_activity IntentFulfillmentActivityArgs
    Describes how the intent is fulfilled. For example, after a user provides all of the information for a pizza order, fulfillment_activity defines how the bot places an order with a local pizza store. Attributes are documented under fulfillment_activity.
    conclusion_statement IntentConclusionStatementArgs
    The statement that you want Amazon Lex to convey to the user after the intent is successfully fulfilled by the Lambda function. This element is relevant only if you provide a Lambda function in the fulfillment_activity. If you return the intent to the client application, you can't specify this element. The follow_up_prompt and conclusion_statement are mutually exclusive. You can specify only one. Attributes are documented under statement.
    confirmation_prompt IntentConfirmationPromptArgs
    Prompts the user to confirm the intent. This question should have a yes or no answer. You you must provide both the rejection_statement and confirmation_prompt, or neither. Attributes are documented under prompt.
    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 intent. Must be less than or equal to 200 characters in length.
    dialog_code_hook IntentDialogCodeHookArgs
    Specifies a Lambda function to invoke for each user input. You can invoke this Lambda function to personalize user interaction. Attributes are documented under code_hook.
    follow_up_prompt IntentFollowUpPromptArgs
    Amazon Lex uses this prompt to solicit additional activity after fulfilling an intent. For example, after the OrderPizza intent is fulfilled, you might prompt the user to order a drink. The follow_up_prompt field and the conclusion_statement field are mutually exclusive. You can specify only one. Attributes are documented under follow_up_prompt.
    name str
    The name of the intent, not case sensitive. Must be less than or equal to 100 characters in length.
    parent_intent_signature str
    A unique identifier for the built-in intent to base this intent on. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.
    rejection_statement IntentRejectionStatementArgs
    When the user answers "no" to the question defined in confirmation_prompt, Amazon Lex responds with this statement to acknowledge that the intent was canceled. You must provide both the rejection_statement and the confirmation_prompt, or neither. Attributes are documented under statement.
    sample_utterances Sequence[str]
    An array of utterances (strings) that a user might say to signal the intent. For example, "I want {PizzaSize} pizza", "Order {Quantity} {PizzaSize} pizzas". In each utterance, a slot name is enclosed in curly braces. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.
    slots Sequence[IntentSlotArgs]
    An list of intent slots. At runtime, Amazon Lex elicits required slot values from the user using prompts defined in the slots. Attributes are documented under slot.
    fulfillmentActivity Property Map
    Describes how the intent is fulfilled. For example, after a user provides all of the information for a pizza order, fulfillment_activity defines how the bot places an order with a local pizza store. Attributes are documented under fulfillment_activity.
    conclusionStatement Property Map
    The statement that you want Amazon Lex to convey to the user after the intent is successfully fulfilled by the Lambda function. This element is relevant only if you provide a Lambda function in the fulfillment_activity. If you return the intent to the client application, you can't specify this element. The follow_up_prompt and conclusion_statement are mutually exclusive. You can specify only one. Attributes are documented under statement.
    confirmationPrompt Property Map
    Prompts the user to confirm the intent. This question should have a yes or no answer. You you must provide both the rejection_statement and confirmation_prompt, or neither. Attributes are documented under prompt.
    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 intent. Must be less than or equal to 200 characters in length.
    dialogCodeHook Property Map
    Specifies a Lambda function to invoke for each user input. You can invoke this Lambda function to personalize user interaction. Attributes are documented under code_hook.
    followUpPrompt Property Map
    Amazon Lex uses this prompt to solicit additional activity after fulfilling an intent. For example, after the OrderPizza intent is fulfilled, you might prompt the user to order a drink. The follow_up_prompt field and the conclusion_statement field are mutually exclusive. You can specify only one. Attributes are documented under follow_up_prompt.
    name String
    The name of the intent, not case sensitive. Must be less than or equal to 100 characters in length.
    parentIntentSignature String
    A unique identifier for the built-in intent to base this intent on. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.
    rejectionStatement Property Map
    When the user answers "no" to the question defined in confirmation_prompt, Amazon Lex responds with this statement to acknowledge that the intent was canceled. You must provide both the rejection_statement and the confirmation_prompt, or neither. Attributes are documented under statement.
    sampleUtterances List<String>
    An array of utterances (strings) that a user might say to signal the intent. For example, "I want {PizzaSize} pizza", "Order {Quantity} {PizzaSize} pizzas". In each utterance, a slot name is enclosed in curly braces. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.
    slots List<Property Map>
    An list of intent slots. At runtime, Amazon Lex elicits required slot values from the user using prompts defined in the slots. Attributes are documented under slot.

    Outputs

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

    Arn string
    The ARN of the Lex intent.
    Checksum string
    Checksum identifying the version of the intent that was created. The checksum is not included as an argument because the resource will add it automatically when updating the intent.
    CreatedDate string
    The date when the intent version was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedDate string
    The date when the $LATEST version of this intent was updated.
    Version string
    The version of the bot.
    Arn string
    The ARN of the Lex intent.
    Checksum string
    Checksum identifying the version of the intent that was created. The checksum is not included as an argument because the resource will add it automatically when updating the intent.
    CreatedDate string
    The date when the intent version was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedDate string
    The date when the $LATEST version of this intent was updated.
    Version string
    The version of the bot.
    arn String
    The ARN of the Lex intent.
    checksum String
    Checksum identifying the version of the intent that was created. The checksum is not included as an argument because the resource will add it automatically when updating the intent.
    createdDate String
    The date when the intent version was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedDate String
    The date when the $LATEST version of this intent was updated.
    version String
    The version of the bot.
    arn string
    The ARN of the Lex intent.
    checksum string
    Checksum identifying the version of the intent that was created. The checksum is not included as an argument because the resource will add it automatically when updating the intent.
    createdDate string
    The date when the intent version was created.
    id string
    The provider-assigned unique ID for this managed resource.
    lastUpdatedDate string
    The date when the $LATEST version of this intent was updated.
    version string
    The version of the bot.
    arn str
    The ARN of the Lex intent.
    checksum str
    Checksum identifying the version of the intent that was created. The checksum is not included as an argument because the resource will add it automatically when updating the intent.
    created_date str
    The date when the intent 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 intent was updated.
    version str
    The version of the bot.
    arn String
    The ARN of the Lex intent.
    checksum String
    Checksum identifying the version of the intent that was created. The checksum is not included as an argument because the resource will add it automatically when updating the intent.
    createdDate String
    The date when the intent version was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedDate String
    The date when the $LATEST version of this intent was updated.
    version String
    The version of the bot.

    Look up Existing Intent Resource

    Get an existing Intent 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?: IntentState, opts?: CustomResourceOptions): Intent
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            checksum: Optional[str] = None,
            conclusion_statement: Optional[IntentConclusionStatementArgs] = None,
            confirmation_prompt: Optional[IntentConfirmationPromptArgs] = None,
            create_version: Optional[bool] = None,
            created_date: Optional[str] = None,
            description: Optional[str] = None,
            dialog_code_hook: Optional[IntentDialogCodeHookArgs] = None,
            follow_up_prompt: Optional[IntentFollowUpPromptArgs] = None,
            fulfillment_activity: Optional[IntentFulfillmentActivityArgs] = None,
            last_updated_date: Optional[str] = None,
            name: Optional[str] = None,
            parent_intent_signature: Optional[str] = None,
            rejection_statement: Optional[IntentRejectionStatementArgs] = None,
            sample_utterances: Optional[Sequence[str]] = None,
            slots: Optional[Sequence[IntentSlotArgs]] = None,
            version: Optional[str] = None) -> Intent
    func GetIntent(ctx *Context, name string, id IDInput, state *IntentState, opts ...ResourceOption) (*Intent, error)
    public static Intent Get(string name, Input<string> id, IntentState? state, CustomResourceOptions? opts = null)
    public static Intent get(String name, Output<String> id, IntentState 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:
    Arn string
    The ARN of the Lex intent.
    Checksum string
    Checksum identifying the version of the intent that was created. The checksum is not included as an argument because the resource will add it automatically when updating the intent.
    ConclusionStatement IntentConclusionStatement
    The statement that you want Amazon Lex to convey to the user after the intent is successfully fulfilled by the Lambda function. This element is relevant only if you provide a Lambda function in the fulfillment_activity. If you return the intent to the client application, you can't specify this element. The follow_up_prompt and conclusion_statement are mutually exclusive. You can specify only one. Attributes are documented under statement.
    ConfirmationPrompt IntentConfirmationPrompt
    Prompts the user to confirm the intent. This question should have a yes or no answer. You you must provide both the rejection_statement and confirmation_prompt, or neither. Attributes are documented under prompt.
    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 intent version was created.
    Description string
    A description of the intent. Must be less than or equal to 200 characters in length.
    DialogCodeHook IntentDialogCodeHook
    Specifies a Lambda function to invoke for each user input. You can invoke this Lambda function to personalize user interaction. Attributes are documented under code_hook.
    FollowUpPrompt IntentFollowUpPrompt
    Amazon Lex uses this prompt to solicit additional activity after fulfilling an intent. For example, after the OrderPizza intent is fulfilled, you might prompt the user to order a drink. The follow_up_prompt field and the conclusion_statement field are mutually exclusive. You can specify only one. Attributes are documented under follow_up_prompt.
    FulfillmentActivity IntentFulfillmentActivity
    Describes how the intent is fulfilled. For example, after a user provides all of the information for a pizza order, fulfillment_activity defines how the bot places an order with a local pizza store. Attributes are documented under fulfillment_activity.
    LastUpdatedDate string
    The date when the $LATEST version of this intent was updated.
    Name string
    The name of the intent, not case sensitive. Must be less than or equal to 100 characters in length.
    ParentIntentSignature string
    A unique identifier for the built-in intent to base this intent on. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.
    RejectionStatement IntentRejectionStatement
    When the user answers "no" to the question defined in confirmation_prompt, Amazon Lex responds with this statement to acknowledge that the intent was canceled. You must provide both the rejection_statement and the confirmation_prompt, or neither. Attributes are documented under statement.
    SampleUtterances List<string>
    An array of utterances (strings) that a user might say to signal the intent. For example, "I want {PizzaSize} pizza", "Order {Quantity} {PizzaSize} pizzas". In each utterance, a slot name is enclosed in curly braces. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.
    Slots List<IntentSlot>
    An list of intent slots. At runtime, Amazon Lex elicits required slot values from the user using prompts defined in the slots. Attributes are documented under slot.
    Version string
    The version of the bot.
    Arn string
    The ARN of the Lex intent.
    Checksum string
    Checksum identifying the version of the intent that was created. The checksum is not included as an argument because the resource will add it automatically when updating the intent.
    ConclusionStatement IntentConclusionStatementArgs
    The statement that you want Amazon Lex to convey to the user after the intent is successfully fulfilled by the Lambda function. This element is relevant only if you provide a Lambda function in the fulfillment_activity. If you return the intent to the client application, you can't specify this element. The follow_up_prompt and conclusion_statement are mutually exclusive. You can specify only one. Attributes are documented under statement.
    ConfirmationPrompt IntentConfirmationPromptArgs
    Prompts the user to confirm the intent. This question should have a yes or no answer. You you must provide both the rejection_statement and confirmation_prompt, or neither. Attributes are documented under prompt.
    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 intent version was created.
    Description string
    A description of the intent. Must be less than or equal to 200 characters in length.
    DialogCodeHook IntentDialogCodeHookArgs
    Specifies a Lambda function to invoke for each user input. You can invoke this Lambda function to personalize user interaction. Attributes are documented under code_hook.
    FollowUpPrompt IntentFollowUpPromptArgs
    Amazon Lex uses this prompt to solicit additional activity after fulfilling an intent. For example, after the OrderPizza intent is fulfilled, you might prompt the user to order a drink. The follow_up_prompt field and the conclusion_statement field are mutually exclusive. You can specify only one. Attributes are documented under follow_up_prompt.
    FulfillmentActivity IntentFulfillmentActivityArgs
    Describes how the intent is fulfilled. For example, after a user provides all of the information for a pizza order, fulfillment_activity defines how the bot places an order with a local pizza store. Attributes are documented under fulfillment_activity.
    LastUpdatedDate string
    The date when the $LATEST version of this intent was updated.
    Name string
    The name of the intent, not case sensitive. Must be less than or equal to 100 characters in length.
    ParentIntentSignature string
    A unique identifier for the built-in intent to base this intent on. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.
    RejectionStatement IntentRejectionStatementArgs
    When the user answers "no" to the question defined in confirmation_prompt, Amazon Lex responds with this statement to acknowledge that the intent was canceled. You must provide both the rejection_statement and the confirmation_prompt, or neither. Attributes are documented under statement.
    SampleUtterances []string
    An array of utterances (strings) that a user might say to signal the intent. For example, "I want {PizzaSize} pizza", "Order {Quantity} {PizzaSize} pizzas". In each utterance, a slot name is enclosed in curly braces. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.
    Slots []IntentSlotArgs
    An list of intent slots. At runtime, Amazon Lex elicits required slot values from the user using prompts defined in the slots. Attributes are documented under slot.
    Version string
    The version of the bot.
    arn String
    The ARN of the Lex intent.
    checksum String
    Checksum identifying the version of the intent that was created. The checksum is not included as an argument because the resource will add it automatically when updating the intent.
    conclusionStatement IntentConclusionStatement
    The statement that you want Amazon Lex to convey to the user after the intent is successfully fulfilled by the Lambda function. This element is relevant only if you provide a Lambda function in the fulfillment_activity. If you return the intent to the client application, you can't specify this element. The follow_up_prompt and conclusion_statement are mutually exclusive. You can specify only one. Attributes are documented under statement.
    confirmationPrompt IntentConfirmationPrompt
    Prompts the user to confirm the intent. This question should have a yes or no answer. You you must provide both the rejection_statement and confirmation_prompt, or neither. Attributes are documented under prompt.
    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 intent version was created.
    description String
    A description of the intent. Must be less than or equal to 200 characters in length.
    dialogCodeHook IntentDialogCodeHook
    Specifies a Lambda function to invoke for each user input. You can invoke this Lambda function to personalize user interaction. Attributes are documented under code_hook.
    followUpPrompt IntentFollowUpPrompt
    Amazon Lex uses this prompt to solicit additional activity after fulfilling an intent. For example, after the OrderPizza intent is fulfilled, you might prompt the user to order a drink. The follow_up_prompt field and the conclusion_statement field are mutually exclusive. You can specify only one. Attributes are documented under follow_up_prompt.
    fulfillmentActivity IntentFulfillmentActivity
    Describes how the intent is fulfilled. For example, after a user provides all of the information for a pizza order, fulfillment_activity defines how the bot places an order with a local pizza store. Attributes are documented under fulfillment_activity.
    lastUpdatedDate String
    The date when the $LATEST version of this intent was updated.
    name String
    The name of the intent, not case sensitive. Must be less than or equal to 100 characters in length.
    parentIntentSignature String
    A unique identifier for the built-in intent to base this intent on. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.
    rejectionStatement IntentRejectionStatement
    When the user answers "no" to the question defined in confirmation_prompt, Amazon Lex responds with this statement to acknowledge that the intent was canceled. You must provide both the rejection_statement and the confirmation_prompt, or neither. Attributes are documented under statement.
    sampleUtterances List<String>
    An array of utterances (strings) that a user might say to signal the intent. For example, "I want {PizzaSize} pizza", "Order {Quantity} {PizzaSize} pizzas". In each utterance, a slot name is enclosed in curly braces. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.
    slots List<IntentSlot>
    An list of intent slots. At runtime, Amazon Lex elicits required slot values from the user using prompts defined in the slots. Attributes are documented under slot.
    version String
    The version of the bot.
    arn string
    The ARN of the Lex intent.
    checksum string
    Checksum identifying the version of the intent that was created. The checksum is not included as an argument because the resource will add it automatically when updating the intent.
    conclusionStatement IntentConclusionStatement
    The statement that you want Amazon Lex to convey to the user after the intent is successfully fulfilled by the Lambda function. This element is relevant only if you provide a Lambda function in the fulfillment_activity. If you return the intent to the client application, you can't specify this element. The follow_up_prompt and conclusion_statement are mutually exclusive. You can specify only one. Attributes are documented under statement.
    confirmationPrompt IntentConfirmationPrompt
    Prompts the user to confirm the intent. This question should have a yes or no answer. You you must provide both the rejection_statement and confirmation_prompt, or neither. Attributes are documented under prompt.
    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 intent version was created.
    description string
    A description of the intent. Must be less than or equal to 200 characters in length.
    dialogCodeHook IntentDialogCodeHook
    Specifies a Lambda function to invoke for each user input. You can invoke this Lambda function to personalize user interaction. Attributes are documented under code_hook.
    followUpPrompt IntentFollowUpPrompt
    Amazon Lex uses this prompt to solicit additional activity after fulfilling an intent. For example, after the OrderPizza intent is fulfilled, you might prompt the user to order a drink. The follow_up_prompt field and the conclusion_statement field are mutually exclusive. You can specify only one. Attributes are documented under follow_up_prompt.
    fulfillmentActivity IntentFulfillmentActivity
    Describes how the intent is fulfilled. For example, after a user provides all of the information for a pizza order, fulfillment_activity defines how the bot places an order with a local pizza store. Attributes are documented under fulfillment_activity.
    lastUpdatedDate string
    The date when the $LATEST version of this intent was updated.
    name string
    The name of the intent, not case sensitive. Must be less than or equal to 100 characters in length.
    parentIntentSignature string
    A unique identifier for the built-in intent to base this intent on. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.
    rejectionStatement IntentRejectionStatement
    When the user answers "no" to the question defined in confirmation_prompt, Amazon Lex responds with this statement to acknowledge that the intent was canceled. You must provide both the rejection_statement and the confirmation_prompt, or neither. Attributes are documented under statement.
    sampleUtterances string[]
    An array of utterances (strings) that a user might say to signal the intent. For example, "I want {PizzaSize} pizza", "Order {Quantity} {PizzaSize} pizzas". In each utterance, a slot name is enclosed in curly braces. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.
    slots IntentSlot[]
    An list of intent slots. At runtime, Amazon Lex elicits required slot values from the user using prompts defined in the slots. Attributes are documented under slot.
    version string
    The version of the bot.
    arn str
    The ARN of the Lex intent.
    checksum str
    Checksum identifying the version of the intent that was created. The checksum is not included as an argument because the resource will add it automatically when updating the intent.
    conclusion_statement IntentConclusionStatementArgs
    The statement that you want Amazon Lex to convey to the user after the intent is successfully fulfilled by the Lambda function. This element is relevant only if you provide a Lambda function in the fulfillment_activity. If you return the intent to the client application, you can't specify this element. The follow_up_prompt and conclusion_statement are mutually exclusive. You can specify only one. Attributes are documented under statement.
    confirmation_prompt IntentConfirmationPromptArgs
    Prompts the user to confirm the intent. This question should have a yes or no answer. You you must provide both the rejection_statement and confirmation_prompt, or neither. Attributes are documented under prompt.
    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 intent version was created.
    description str
    A description of the intent. Must be less than or equal to 200 characters in length.
    dialog_code_hook IntentDialogCodeHookArgs
    Specifies a Lambda function to invoke for each user input. You can invoke this Lambda function to personalize user interaction. Attributes are documented under code_hook.
    follow_up_prompt IntentFollowUpPromptArgs
    Amazon Lex uses this prompt to solicit additional activity after fulfilling an intent. For example, after the OrderPizza intent is fulfilled, you might prompt the user to order a drink. The follow_up_prompt field and the conclusion_statement field are mutually exclusive. You can specify only one. Attributes are documented under follow_up_prompt.
    fulfillment_activity IntentFulfillmentActivityArgs
    Describes how the intent is fulfilled. For example, after a user provides all of the information for a pizza order, fulfillment_activity defines how the bot places an order with a local pizza store. Attributes are documented under fulfillment_activity.
    last_updated_date str
    The date when the $LATEST version of this intent was updated.
    name str
    The name of the intent, not case sensitive. Must be less than or equal to 100 characters in length.
    parent_intent_signature str
    A unique identifier for the built-in intent to base this intent on. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.
    rejection_statement IntentRejectionStatementArgs
    When the user answers "no" to the question defined in confirmation_prompt, Amazon Lex responds with this statement to acknowledge that the intent was canceled. You must provide both the rejection_statement and the confirmation_prompt, or neither. Attributes are documented under statement.
    sample_utterances Sequence[str]
    An array of utterances (strings) that a user might say to signal the intent. For example, "I want {PizzaSize} pizza", "Order {Quantity} {PizzaSize} pizzas". In each utterance, a slot name is enclosed in curly braces. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.
    slots Sequence[IntentSlotArgs]
    An list of intent slots. At runtime, Amazon Lex elicits required slot values from the user using prompts defined in the slots. Attributes are documented under slot.
    version str
    The version of the bot.
    arn String
    The ARN of the Lex intent.
    checksum String
    Checksum identifying the version of the intent that was created. The checksum is not included as an argument because the resource will add it automatically when updating the intent.
    conclusionStatement Property Map
    The statement that you want Amazon Lex to convey to the user after the intent is successfully fulfilled by the Lambda function. This element is relevant only if you provide a Lambda function in the fulfillment_activity. If you return the intent to the client application, you can't specify this element. The follow_up_prompt and conclusion_statement are mutually exclusive. You can specify only one. Attributes are documented under statement.
    confirmationPrompt Property Map
    Prompts the user to confirm the intent. This question should have a yes or no answer. You you must provide both the rejection_statement and confirmation_prompt, or neither. Attributes are documented under prompt.
    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 intent version was created.
    description String
    A description of the intent. Must be less than or equal to 200 characters in length.
    dialogCodeHook Property Map
    Specifies a Lambda function to invoke for each user input. You can invoke this Lambda function to personalize user interaction. Attributes are documented under code_hook.
    followUpPrompt Property Map
    Amazon Lex uses this prompt to solicit additional activity after fulfilling an intent. For example, after the OrderPizza intent is fulfilled, you might prompt the user to order a drink. The follow_up_prompt field and the conclusion_statement field are mutually exclusive. You can specify only one. Attributes are documented under follow_up_prompt.
    fulfillmentActivity Property Map
    Describes how the intent is fulfilled. For example, after a user provides all of the information for a pizza order, fulfillment_activity defines how the bot places an order with a local pizza store. Attributes are documented under fulfillment_activity.
    lastUpdatedDate String
    The date when the $LATEST version of this intent was updated.
    name String
    The name of the intent, not case sensitive. Must be less than or equal to 100 characters in length.
    parentIntentSignature String
    A unique identifier for the built-in intent to base this intent on. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.
    rejectionStatement Property Map
    When the user answers "no" to the question defined in confirmation_prompt, Amazon Lex responds with this statement to acknowledge that the intent was canceled. You must provide both the rejection_statement and the confirmation_prompt, or neither. Attributes are documented under statement.
    sampleUtterances List<String>
    An array of utterances (strings) that a user might say to signal the intent. For example, "I want {PizzaSize} pizza", "Order {Quantity} {PizzaSize} pizzas". In each utterance, a slot name is enclosed in curly braces. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.
    slots List<Property Map>
    An list of intent slots. At runtime, Amazon Lex elicits required slot values from the user using prompts defined in the slots. Attributes are documented under slot.
    version String
    The version of the bot.

    Supporting Types

    IntentConclusionStatement, IntentConclusionStatementArgs

    IntentConclusionStatementMessage, IntentConclusionStatementMessageArgs

    Content string
    The text of the message. Must be less than or equal to 1000 characters in length.
    ContentType string
    The content type of the message string.
    GroupNumber int
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
    Content string
    The text of the message. Must be less than or equal to 1000 characters in length.
    ContentType string
    The content type of the message string.
    GroupNumber int
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
    content String
    The text of the message. Must be less than or equal to 1000 characters in length.
    contentType String
    The content type of the message string.
    groupNumber Integer
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
    content string
    The text of the message. Must be less than or equal to 1000 characters in length.
    contentType string
    The content type of the message string.
    groupNumber number
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
    content str
    The text of the message. Must be less than or equal to 1000 characters in length.
    content_type str
    The content type of the message string.
    group_number int
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
    content String
    The text of the message. Must be less than or equal to 1000 characters in length.
    contentType String
    The content type of the message string.
    groupNumber Number
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).

    IntentConfirmationPrompt, IntentConfirmationPromptArgs

    MaxAttempts int
    The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
    Messages List<IntentConfirmationPromptMessage>
    ResponseCard string
    MaxAttempts int
    The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
    Messages []IntentConfirmationPromptMessage
    ResponseCard string
    maxAttempts Integer
    The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
    messages List<IntentConfirmationPromptMessage>
    responseCard String
    maxAttempts number
    The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
    messages IntentConfirmationPromptMessage[]
    responseCard string
    max_attempts int
    The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
    messages Sequence[IntentConfirmationPromptMessage]
    response_card str
    maxAttempts Number
    The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
    messages List<Property Map>
    responseCard String

    IntentConfirmationPromptMessage, IntentConfirmationPromptMessageArgs

    Content string
    The text of the message. Must be less than or equal to 1000 characters in length.
    ContentType string
    The content type of the message string.
    GroupNumber int
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
    Content string
    The text of the message. Must be less than or equal to 1000 characters in length.
    ContentType string
    The content type of the message string.
    GroupNumber int
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
    content String
    The text of the message. Must be less than or equal to 1000 characters in length.
    contentType String
    The content type of the message string.
    groupNumber Integer
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
    content string
    The text of the message. Must be less than or equal to 1000 characters in length.
    contentType string
    The content type of the message string.
    groupNumber number
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
    content str
    The text of the message. Must be less than or equal to 1000 characters in length.
    content_type str
    The content type of the message string.
    group_number int
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
    content String
    The text of the message. Must be less than or equal to 1000 characters in length.
    contentType String
    The content type of the message string.
    groupNumber Number
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).

    IntentDialogCodeHook, IntentDialogCodeHookArgs

    MessageVersion string
    The version of the request-response that you want Amazon Lex to use to invoke your Lambda function. For more information, see Using Lambda Functions. Must be less than or equal to 5 characters in length.
    Uri string
    The Amazon Resource Name (ARN) of the Lambda function.
    MessageVersion string
    The version of the request-response that you want Amazon Lex to use to invoke your Lambda function. For more information, see Using Lambda Functions. Must be less than or equal to 5 characters in length.
    Uri string
    The Amazon Resource Name (ARN) of the Lambda function.
    messageVersion String
    The version of the request-response that you want Amazon Lex to use to invoke your Lambda function. For more information, see Using Lambda Functions. Must be less than or equal to 5 characters in length.
    uri String
    The Amazon Resource Name (ARN) of the Lambda function.
    messageVersion string
    The version of the request-response that you want Amazon Lex to use to invoke your Lambda function. For more information, see Using Lambda Functions. Must be less than or equal to 5 characters in length.
    uri string
    The Amazon Resource Name (ARN) of the Lambda function.
    message_version str
    The version of the request-response that you want Amazon Lex to use to invoke your Lambda function. For more information, see Using Lambda Functions. Must be less than or equal to 5 characters in length.
    uri str
    The Amazon Resource Name (ARN) of the Lambda function.
    messageVersion String
    The version of the request-response that you want Amazon Lex to use to invoke your Lambda function. For more information, see Using Lambda Functions. Must be less than or equal to 5 characters in length.
    uri String
    The Amazon Resource Name (ARN) of the Lambda function.

    IntentFollowUpPrompt, IntentFollowUpPromptArgs

    Prompt IntentFollowUpPromptPrompt
    Prompts for information from the user. Attributes are documented under prompt.
    RejectionStatement IntentFollowUpPromptRejectionStatement
    If the user answers "no" to the question defined in the prompt field, Amazon Lex responds with this statement to acknowledge that the intent was canceled. Attributes are documented below under statement.
    Prompt IntentFollowUpPromptPrompt
    Prompts for information from the user. Attributes are documented under prompt.
    RejectionStatement IntentFollowUpPromptRejectionStatement
    If the user answers "no" to the question defined in the prompt field, Amazon Lex responds with this statement to acknowledge that the intent was canceled. Attributes are documented below under statement.
    prompt IntentFollowUpPromptPrompt
    Prompts for information from the user. Attributes are documented under prompt.
    rejectionStatement IntentFollowUpPromptRejectionStatement
    If the user answers "no" to the question defined in the prompt field, Amazon Lex responds with this statement to acknowledge that the intent was canceled. Attributes are documented below under statement.
    prompt IntentFollowUpPromptPrompt
    Prompts for information from the user. Attributes are documented under prompt.
    rejectionStatement IntentFollowUpPromptRejectionStatement
    If the user answers "no" to the question defined in the prompt field, Amazon Lex responds with this statement to acknowledge that the intent was canceled. Attributes are documented below under statement.
    prompt IntentFollowUpPromptPrompt
    Prompts for information from the user. Attributes are documented under prompt.
    rejection_statement IntentFollowUpPromptRejectionStatement
    If the user answers "no" to the question defined in the prompt field, Amazon Lex responds with this statement to acknowledge that the intent was canceled. Attributes are documented below under statement.
    prompt Property Map
    Prompts for information from the user. Attributes are documented under prompt.
    rejectionStatement Property Map
    If the user answers "no" to the question defined in the prompt field, Amazon Lex responds with this statement to acknowledge that the intent was canceled. Attributes are documented below under statement.

    IntentFollowUpPromptPrompt, IntentFollowUpPromptPromptArgs

    MaxAttempts int
    The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
    Messages List<IntentFollowUpPromptPromptMessage>
    A set of messages, each of which provides a message string and its type. You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). Attributes are documented under message. Must contain between 1 and 15 messages.
    ResponseCard string
    The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see Example: Using a Response Card. Must be less than or equal to 50000 characters in length.
    MaxAttempts int
    The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
    Messages []IntentFollowUpPromptPromptMessage
    A set of messages, each of which provides a message string and its type. You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). Attributes are documented under message. Must contain between 1 and 15 messages.
    ResponseCard string
    The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see Example: Using a Response Card. Must be less than or equal to 50000 characters in length.
    maxAttempts Integer
    The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
    messages List<IntentFollowUpPromptPromptMessage>
    A set of messages, each of which provides a message string and its type. You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). Attributes are documented under message. Must contain between 1 and 15 messages.
    responseCard String
    The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see Example: Using a Response Card. Must be less than or equal to 50000 characters in length.
    maxAttempts number
    The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
    messages IntentFollowUpPromptPromptMessage[]
    A set of messages, each of which provides a message string and its type. You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). Attributes are documented under message. Must contain between 1 and 15 messages.
    responseCard string
    The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see Example: Using a Response Card. Must be less than or equal to 50000 characters in length.
    max_attempts int
    The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
    messages Sequence[IntentFollowUpPromptPromptMessage]
    A set of messages, each of which provides a message string and its type. You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). Attributes are documented under message. Must contain between 1 and 15 messages.
    response_card str
    The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see Example: Using a Response Card. Must be less than or equal to 50000 characters in length.
    maxAttempts Number
    The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
    messages List<Property Map>
    A set of messages, each of which provides a message string and its type. You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). Attributes are documented under message. Must contain between 1 and 15 messages.
    responseCard String
    The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see Example: Using a Response Card. Must be less than or equal to 50000 characters in length.

    IntentFollowUpPromptPromptMessage, IntentFollowUpPromptPromptMessageArgs

    Content string
    The text of the message. Must be less than or equal to 1000 characters in length.
    ContentType string
    The content type of the message string.
    GroupNumber int
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
    Content string
    The text of the message. Must be less than or equal to 1000 characters in length.
    ContentType string
    The content type of the message string.
    GroupNumber int
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
    content String
    The text of the message. Must be less than or equal to 1000 characters in length.
    contentType String
    The content type of the message string.
    groupNumber Integer
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
    content string
    The text of the message. Must be less than or equal to 1000 characters in length.
    contentType string
    The content type of the message string.
    groupNumber number
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
    content str
    The text of the message. Must be less than or equal to 1000 characters in length.
    content_type str
    The content type of the message string.
    group_number int
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
    content String
    The text of the message. Must be less than or equal to 1000 characters in length.
    contentType String
    The content type of the message string.
    groupNumber Number
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).

    IntentFollowUpPromptRejectionStatement, IntentFollowUpPromptRejectionStatementArgs

    IntentFollowUpPromptRejectionStatementMessage, IntentFollowUpPromptRejectionStatementMessageArgs

    Content string
    The text of the message. Must be less than or equal to 1000 characters in length.
    ContentType string
    The content type of the message string.
    GroupNumber int
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
    Content string
    The text of the message. Must be less than or equal to 1000 characters in length.
    ContentType string
    The content type of the message string.
    GroupNumber int
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
    content String
    The text of the message. Must be less than or equal to 1000 characters in length.
    contentType String
    The content type of the message string.
    groupNumber Integer
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
    content string
    The text of the message. Must be less than or equal to 1000 characters in length.
    contentType string
    The content type of the message string.
    groupNumber number
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
    content str
    The text of the message. Must be less than or equal to 1000 characters in length.
    content_type str
    The content type of the message string.
    group_number int
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
    content String
    The text of the message. Must be less than or equal to 1000 characters in length.
    contentType String
    The content type of the message string.
    groupNumber Number
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).

    IntentFulfillmentActivity, IntentFulfillmentActivityArgs

    Type string
    How the intent should be fulfilled, either by running a Lambda function or by returning the slot data to the client application. Type can be either ReturnIntent or CodeHook, as documented here.
    CodeHook IntentFulfillmentActivityCodeHook
    A description of the Lambda function that is run to fulfill the intent. Required if type is CodeHook. Attributes are documented under code_hook.
    Type string
    How the intent should be fulfilled, either by running a Lambda function or by returning the slot data to the client application. Type can be either ReturnIntent or CodeHook, as documented here.
    CodeHook IntentFulfillmentActivityCodeHook
    A description of the Lambda function that is run to fulfill the intent. Required if type is CodeHook. Attributes are documented under code_hook.
    type String
    How the intent should be fulfilled, either by running a Lambda function or by returning the slot data to the client application. Type can be either ReturnIntent or CodeHook, as documented here.
    codeHook IntentFulfillmentActivityCodeHook
    A description of the Lambda function that is run to fulfill the intent. Required if type is CodeHook. Attributes are documented under code_hook.
    type string
    How the intent should be fulfilled, either by running a Lambda function or by returning the slot data to the client application. Type can be either ReturnIntent or CodeHook, as documented here.
    codeHook IntentFulfillmentActivityCodeHook
    A description of the Lambda function that is run to fulfill the intent. Required if type is CodeHook. Attributes are documented under code_hook.
    type str
    How the intent should be fulfilled, either by running a Lambda function or by returning the slot data to the client application. Type can be either ReturnIntent or CodeHook, as documented here.
    code_hook IntentFulfillmentActivityCodeHook
    A description of the Lambda function that is run to fulfill the intent. Required if type is CodeHook. Attributes are documented under code_hook.
    type String
    How the intent should be fulfilled, either by running a Lambda function or by returning the slot data to the client application. Type can be either ReturnIntent or CodeHook, as documented here.
    codeHook Property Map
    A description of the Lambda function that is run to fulfill the intent. Required if type is CodeHook. Attributes are documented under code_hook.

    IntentFulfillmentActivityCodeHook, IntentFulfillmentActivityCodeHookArgs

    MessageVersion string
    The version of the request-response that you want Amazon Lex to use to invoke your Lambda function. For more information, see Using Lambda Functions. Must be less than or equal to 5 characters in length.
    Uri string
    The Amazon Resource Name (ARN) of the Lambda function.
    MessageVersion string
    The version of the request-response that you want Amazon Lex to use to invoke your Lambda function. For more information, see Using Lambda Functions. Must be less than or equal to 5 characters in length.
    Uri string
    The Amazon Resource Name (ARN) of the Lambda function.
    messageVersion String
    The version of the request-response that you want Amazon Lex to use to invoke your Lambda function. For more information, see Using Lambda Functions. Must be less than or equal to 5 characters in length.
    uri String
    The Amazon Resource Name (ARN) of the Lambda function.
    messageVersion string
    The version of the request-response that you want Amazon Lex to use to invoke your Lambda function. For more information, see Using Lambda Functions. Must be less than or equal to 5 characters in length.
    uri string
    The Amazon Resource Name (ARN) of the Lambda function.
    message_version str
    The version of the request-response that you want Amazon Lex to use to invoke your Lambda function. For more information, see Using Lambda Functions. Must be less than or equal to 5 characters in length.
    uri str
    The Amazon Resource Name (ARN) of the Lambda function.
    messageVersion String
    The version of the request-response that you want Amazon Lex to use to invoke your Lambda function. For more information, see Using Lambda Functions. Must be less than or equal to 5 characters in length.
    uri String
    The Amazon Resource Name (ARN) of the Lambda function.

    IntentRejectionStatement, IntentRejectionStatementArgs

    IntentRejectionStatementMessage, IntentRejectionStatementMessageArgs

    Content string
    The text of the message. Must be less than or equal to 1000 characters in length.
    ContentType string
    The content type of the message string.
    GroupNumber int
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
    Content string
    The text of the message. Must be less than or equal to 1000 characters in length.
    ContentType string
    The content type of the message string.
    GroupNumber int
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
    content String
    The text of the message. Must be less than or equal to 1000 characters in length.
    contentType String
    The content type of the message string.
    groupNumber Integer
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
    content string
    The text of the message. Must be less than or equal to 1000 characters in length.
    contentType string
    The content type of the message string.
    groupNumber number
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
    content str
    The text of the message. Must be less than or equal to 1000 characters in length.
    content_type str
    The content type of the message string.
    group_number int
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
    content String
    The text of the message. Must be less than or equal to 1000 characters in length.
    contentType String
    The content type of the message string.
    groupNumber Number
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).

    IntentSlot, IntentSlotArgs

    Name string
    The name of the intent slot that you want to create. The name is case sensitive. Must be less than or equal to 100 characters in length.
    SlotConstraint string
    Specifies whether the slot is required or optional.
    SlotType string
    The type of the slot, either a custom slot type that you defined or one of the built-in slot types. Must be less than or equal to 100 characters in length.
    Description string
    A description of the bot. Must be less than or equal to 200 characters in length.
    Priority int
    Directs Lex the order in which to elicit this slot value from the user. For example, if the intent has two slots with priorities 1 and 2, AWS Lex first elicits a value for the slot with priority 1. If multiple slots share the same priority, the order in which Lex elicits values is arbitrary. Must be between 1 and 100.
    ResponseCard string
    The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see Example: Using a Response Card. Must be less than or equal to 50000 characters in length.
    SampleUtterances List<string>
    If you know a specific pattern with which users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This is optional. In most cases, Amazon Lex is capable of understanding user utterances. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.
    SlotTypeVersion string
    The version of the slot type. Must be less than or equal to 64 characters in length.
    ValueElicitationPrompt IntentSlotValueElicitationPrompt
    The prompt that Amazon Lex uses to elicit the slot value from the user. Attributes are documented under prompt.
    Name string
    The name of the intent slot that you want to create. The name is case sensitive. Must be less than or equal to 100 characters in length.
    SlotConstraint string
    Specifies whether the slot is required or optional.
    SlotType string
    The type of the slot, either a custom slot type that you defined or one of the built-in slot types. Must be less than or equal to 100 characters in length.
    Description string
    A description of the bot. Must be less than or equal to 200 characters in length.
    Priority int
    Directs Lex the order in which to elicit this slot value from the user. For example, if the intent has two slots with priorities 1 and 2, AWS Lex first elicits a value for the slot with priority 1. If multiple slots share the same priority, the order in which Lex elicits values is arbitrary. Must be between 1 and 100.
    ResponseCard string
    The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see Example: Using a Response Card. Must be less than or equal to 50000 characters in length.
    SampleUtterances []string
    If you know a specific pattern with which users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This is optional. In most cases, Amazon Lex is capable of understanding user utterances. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.
    SlotTypeVersion string
    The version of the slot type. Must be less than or equal to 64 characters in length.
    ValueElicitationPrompt IntentSlotValueElicitationPrompt
    The prompt that Amazon Lex uses to elicit the slot value from the user. Attributes are documented under prompt.
    name String
    The name of the intent slot that you want to create. The name is case sensitive. Must be less than or equal to 100 characters in length.
    slotConstraint String
    Specifies whether the slot is required or optional.
    slotType String
    The type of the slot, either a custom slot type that you defined or one of the built-in slot types. Must be less than or equal to 100 characters in length.
    description String
    A description of the bot. Must be less than or equal to 200 characters in length.
    priority Integer
    Directs Lex the order in which to elicit this slot value from the user. For example, if the intent has two slots with priorities 1 and 2, AWS Lex first elicits a value for the slot with priority 1. If multiple slots share the same priority, the order in which Lex elicits values is arbitrary. Must be between 1 and 100.
    responseCard String
    The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see Example: Using a Response Card. Must be less than or equal to 50000 characters in length.
    sampleUtterances List<String>
    If you know a specific pattern with which users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This is optional. In most cases, Amazon Lex is capable of understanding user utterances. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.
    slotTypeVersion String
    The version of the slot type. Must be less than or equal to 64 characters in length.
    valueElicitationPrompt IntentSlotValueElicitationPrompt
    The prompt that Amazon Lex uses to elicit the slot value from the user. Attributes are documented under prompt.
    name string
    The name of the intent slot that you want to create. The name is case sensitive. Must be less than or equal to 100 characters in length.
    slotConstraint string
    Specifies whether the slot is required or optional.
    slotType string
    The type of the slot, either a custom slot type that you defined or one of the built-in slot types. Must be less than or equal to 100 characters in length.
    description string
    A description of the bot. Must be less than or equal to 200 characters in length.
    priority number
    Directs Lex the order in which to elicit this slot value from the user. For example, if the intent has two slots with priorities 1 and 2, AWS Lex first elicits a value for the slot with priority 1. If multiple slots share the same priority, the order in which Lex elicits values is arbitrary. Must be between 1 and 100.
    responseCard string
    The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see Example: Using a Response Card. Must be less than or equal to 50000 characters in length.
    sampleUtterances string[]
    If you know a specific pattern with which users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This is optional. In most cases, Amazon Lex is capable of understanding user utterances. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.
    slotTypeVersion string
    The version of the slot type. Must be less than or equal to 64 characters in length.
    valueElicitationPrompt IntentSlotValueElicitationPrompt
    The prompt that Amazon Lex uses to elicit the slot value from the user. Attributes are documented under prompt.
    name str
    The name of the intent slot that you want to create. The name is case sensitive. Must be less than or equal to 100 characters in length.
    slot_constraint str
    Specifies whether the slot is required or optional.
    slot_type str
    The type of the slot, either a custom slot type that you defined or one of the built-in slot types. Must be less than or equal to 100 characters in length.
    description str
    A description of the bot. Must be less than or equal to 200 characters in length.
    priority int
    Directs Lex the order in which to elicit this slot value from the user. For example, if the intent has two slots with priorities 1 and 2, AWS Lex first elicits a value for the slot with priority 1. If multiple slots share the same priority, the order in which Lex elicits values is arbitrary. Must be between 1 and 100.
    response_card str
    The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see Example: Using a Response Card. Must be less than or equal to 50000 characters in length.
    sample_utterances Sequence[str]
    If you know a specific pattern with which users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This is optional. In most cases, Amazon Lex is capable of understanding user utterances. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.
    slot_type_version str
    The version of the slot type. Must be less than or equal to 64 characters in length.
    value_elicitation_prompt IntentSlotValueElicitationPrompt
    The prompt that Amazon Lex uses to elicit the slot value from the user. Attributes are documented under prompt.
    name String
    The name of the intent slot that you want to create. The name is case sensitive. Must be less than or equal to 100 characters in length.
    slotConstraint String
    Specifies whether the slot is required or optional.
    slotType String
    The type of the slot, either a custom slot type that you defined or one of the built-in slot types. Must be less than or equal to 100 characters in length.
    description String
    A description of the bot. Must be less than or equal to 200 characters in length.
    priority Number
    Directs Lex the order in which to elicit this slot value from the user. For example, if the intent has two slots with priorities 1 and 2, AWS Lex first elicits a value for the slot with priority 1. If multiple slots share the same priority, the order in which Lex elicits values is arbitrary. Must be between 1 and 100.
    responseCard String
    The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see Example: Using a Response Card. Must be less than or equal to 50000 characters in length.
    sampleUtterances List<String>
    If you know a specific pattern with which users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This is optional. In most cases, Amazon Lex is capable of understanding user utterances. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.
    slotTypeVersion String
    The version of the slot type. Must be less than or equal to 64 characters in length.
    valueElicitationPrompt Property Map
    The prompt that Amazon Lex uses to elicit the slot value from the user. Attributes are documented under prompt.

    IntentSlotValueElicitationPrompt, IntentSlotValueElicitationPromptArgs

    MaxAttempts int
    The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
    Messages List<IntentSlotValueElicitationPromptMessage>
    ResponseCard string
    MaxAttempts int
    The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
    Messages []IntentSlotValueElicitationPromptMessage
    ResponseCard string
    maxAttempts Integer
    The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
    messages List<IntentSlotValueElicitationPromptMessage>
    responseCard String
    maxAttempts number
    The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
    messages IntentSlotValueElicitationPromptMessage[]
    responseCard string
    max_attempts int
    The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
    messages Sequence[IntentSlotValueElicitationPromptMessage]
    response_card str
    maxAttempts Number
    The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
    messages List<Property Map>
    responseCard String

    IntentSlotValueElicitationPromptMessage, IntentSlotValueElicitationPromptMessageArgs

    Content string
    The text of the message. Must be less than or equal to 1000 characters in length.
    ContentType string
    The content type of the message string.
    GroupNumber int
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
    Content string
    The text of the message. Must be less than or equal to 1000 characters in length.
    ContentType string
    The content type of the message string.
    GroupNumber int
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
    content String
    The text of the message. Must be less than or equal to 1000 characters in length.
    contentType String
    The content type of the message string.
    groupNumber Integer
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
    content string
    The text of the message. Must be less than or equal to 1000 characters in length.
    contentType string
    The content type of the message string.
    groupNumber number
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
    content str
    The text of the message. Must be less than or equal to 1000 characters in length.
    content_type str
    The content type of the message string.
    group_number int
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
    content String
    The text of the message. Must be less than or equal to 1000 characters in length.
    contentType String
    The content type of the message string.
    groupNumber Number
    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).

    Import

    Using pulumi import, import intents using their name. For example:

    $ pulumi import aws:lex/intent:Intent order_flowers_intent OrderFlowers
    

    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