Class IntentSlotArgs


  • public final class IntentSlotArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • description

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
        Returns:
        A description of the bot. Must be less than or equal to 200 characters in length.
      • name

        public com.pulumi.core.Output<java.lang.String> name()
        Returns:
        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.
      • priority

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> priority()
        Returns:
        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

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> responseCard()
        Returns:
        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](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.
      • sampleUtterances

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> sampleUtterances()
        Returns:
        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.
      • slotConstraint

        public com.pulumi.core.Output<java.lang.String> slotConstraint()
        Returns:
        Specifies whether the slot is required or optional.
      • slotType

        public com.pulumi.core.Output<java.lang.String> slotType()
        Returns:
        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.
      • slotTypeVersion

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> slotTypeVersion()
        Returns:
        The version of the slot type. Must be less than or equal to 64 characters in length.
      • valueElicitationPrompt

        public java.util.Optional<com.pulumi.core.Output<IntentSlotValueElicitationPromptArgs>> valueElicitationPrompt()
        Returns:
        The prompt that Amazon Lex uses to elicit the slot value from the user. Attributes are documented under prompt.