Package com.pulumi.aws.lex
Class IntentArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.lex.IntentArgs
-
public final class IntentArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIntentArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static IntentArgsEmpty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IntentArgs.Builderbuilder()static IntentArgs.Builderbuilder(IntentArgs defaults)java.util.Optional<com.pulumi.core.Output<IntentConclusionStatementArgs>>conclusionStatement()java.util.Optional<com.pulumi.core.Output<IntentConfirmationPromptArgs>>confirmationPrompt()java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>createVersion()java.util.Optional<com.pulumi.core.Output<java.lang.String>>description()java.util.Optional<com.pulumi.core.Output<IntentDialogCodeHookArgs>>dialogCodeHook()java.util.Optional<com.pulumi.core.Output<IntentFollowUpPromptArgs>>followUpPrompt()com.pulumi.core.Output<IntentFulfillmentActivityArgs>fulfillmentActivity()java.util.Optional<com.pulumi.core.Output<java.lang.String>>name()java.util.Optional<com.pulumi.core.Output<java.lang.String>>parentIntentSignature()java.util.Optional<com.pulumi.core.Output<java.lang.String>>region()java.util.Optional<com.pulumi.core.Output<IntentRejectionStatementArgs>>rejectionStatement()java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>sampleUtterances()java.util.Optional<com.pulumi.core.Output<java.util.List<IntentSlotArgs>>>slots()
-
-
-
Field Detail
-
Empty
public static final IntentArgs Empty
-
-
Method Detail
-
conclusionStatement
public java.util.Optional<com.pulumi.core.Output<IntentConclusionStatementArgs>> conclusionStatement()
- Returns:
- 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 `fulfillmentActivity`. If you return the intent to the client application, you can't specify this element. The `followUpPrompt` and `conclusionStatement` are mutually exclusive. You can specify only one. Attributes are documented under statement.
-
confirmationPrompt
public java.util.Optional<com.pulumi.core.Output<IntentConfirmationPromptArgs>> confirmationPrompt()
- Returns:
- Prompts the user to confirm the intent. This question should have a yes or no answer. You you must provide both the `rejectionStatement` and `confirmationPrompt`, or neither. Attributes are documented under prompt.
-
createVersion
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> createVersion()
- Returns:
- Determines if a new slot type version is created when the initial resource is created and on each update. Defaults to `false`.
-
description
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
- Returns:
- A description of the intent. Must be less than or equal to 200 characters in length.
-
dialogCodeHook
public java.util.Optional<com.pulumi.core.Output<IntentDialogCodeHookArgs>> dialogCodeHook()
- Returns:
- 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
public java.util.Optional<com.pulumi.core.Output<IntentFollowUpPromptArgs>> followUpPrompt()
- Returns:
- 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 `followUpPrompt` field and the `conclusionStatement` field are mutually exclusive. You can specify only one. Attributes are documented under follow_up_prompt.
-
fulfillmentActivity
public com.pulumi.core.Output<IntentFulfillmentActivityArgs> fulfillmentActivity()
- Returns:
- Describes how the intent is fulfilled. For example, after a user provides all of the information for a pizza order, `fulfillmentActivity` defines how the bot places an order with a local pizza store. Attributes are documented under fulfillment_activity.
-
name
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
- Returns:
- The name of the intent, not case sensitive. Must be less than or equal to 100 characters in length.
-
parentIntentSignature
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> parentIntentSignature()
- Returns:
- 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](https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/standard-intents) in the Alexa Skills Kit.
-
region
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
- Returns:
- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
-
rejectionStatement
public java.util.Optional<com.pulumi.core.Output<IntentRejectionStatementArgs>> rejectionStatement()
- Returns:
- When the user answers "no" to the question defined in `confirmationPrompt`, Amazon Lex responds with this statement to acknowledge that the intent was canceled. You must provide both the `rejectionStatement` and the `confirmationPrompt`, or neither. Attributes are documented under statement.
-
sampleUtterances
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> sampleUtterances()
- Returns:
- 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
public java.util.Optional<com.pulumi.core.Output<java.util.List<IntentSlotArgs>>> slots()
- Returns:
- 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.
-
builder
public static IntentArgs.Builder builder()
-
builder
public static IntentArgs.Builder builder(IntentArgs defaults)
-
-