V2modelsIntentArgs

data class V2modelsIntentArgs(val botId: Output<String>? = null, val botVersion: Output<String>? = null, val closingSetting: Output<V2modelsIntentClosingSettingArgs>? = null, val confirmationSetting: Output<V2modelsIntentConfirmationSettingArgs>? = null, val description: Output<String>? = null, val dialogCodeHook: Output<V2modelsIntentDialogCodeHookArgs>? = null, val fulfillmentCodeHook: Output<V2modelsIntentFulfillmentCodeHookArgs>? = null, val initialResponseSetting: Output<V2modelsIntentInitialResponseSettingArgs>? = null, val inputContexts: Output<List<V2modelsIntentInputContextArgs>>? = null, val kendraConfiguration: Output<V2modelsIntentKendraConfigurationArgs>? = null, val localeId: Output<String>? = null, val name: Output<String>? = null, val outputContexts: Output<List<V2modelsIntentOutputContextArgs>>? = null, val parentIntentSignature: Output<String>? = null, val sampleUtterances: Output<List<V2modelsIntentSampleUtteranceArgs>>? = null, val slotPriorities: Output<List<V2modelsIntentSlotPriorityArgs>>? = null, val timeouts: Output<V2modelsIntentTimeoutsArgs>? = null) : ConvertibleToJava<V2modelsIntentArgs>

Import

Using pulumi import, import Lex V2 Models Intent using the intent_id:bot_id:bot_version:locale_id. For example:

$ pulumi import aws:lex/v2modelsIntent:V2modelsIntent example intent-42874:bot-11376:DRAFT:en_US

Constructors

Link copied to clipboard
constructor(botId: Output<String>? = null, botVersion: Output<String>? = null, closingSetting: Output<V2modelsIntentClosingSettingArgs>? = null, confirmationSetting: Output<V2modelsIntentConfirmationSettingArgs>? = null, description: Output<String>? = null, dialogCodeHook: Output<V2modelsIntentDialogCodeHookArgs>? = null, fulfillmentCodeHook: Output<V2modelsIntentFulfillmentCodeHookArgs>? = null, initialResponseSetting: Output<V2modelsIntentInitialResponseSettingArgs>? = null, inputContexts: Output<List<V2modelsIntentInputContextArgs>>? = null, kendraConfiguration: Output<V2modelsIntentKendraConfigurationArgs>? = null, localeId: Output<String>? = null, name: Output<String>? = null, outputContexts: Output<List<V2modelsIntentOutputContextArgs>>? = null, parentIntentSignature: Output<String>? = null, sampleUtterances: Output<List<V2modelsIntentSampleUtteranceArgs>>? = null, slotPriorities: Output<List<V2modelsIntentSlotPriorityArgs>>? = null, timeouts: Output<V2modelsIntentTimeoutsArgs>? = null)

Properties

Link copied to clipboard
val botId: Output<String>? = null

Identifier of the bot associated with this intent.

Link copied to clipboard
val botVersion: Output<String>? = null

Version of the bot associated with this intent.

Link copied to clipboard

Configuration block for the response that Amazon Lex sends to the user when the intent is closed. See closing_setting.

Link copied to clipboard
Link copied to clipboard
val description: Output<String>? = null

Description of the intent. Use the description to help identify the intent in lists.

Link copied to clipboard

Configuration block for invoking the alias Lambda function for each user input. You can invoke this Lambda function to personalize user interaction. See dialog_code_hook.

Link copied to clipboard

Configuration block for invoking the alias Lambda function when the intent is ready for fulfillment. You can invoke this function to complete the bot's transaction with the user. See fulfillment_code_hook.

Link copied to clipboard

Configuration block for the response that is sent to the user at the beginning of a conversation, before eliciting slot values. See initial_response_setting.

Link copied to clipboard

Configuration blocks for contexts that must be active for this intent to be considered by Amazon Lex. When an intent has an input context list, Amazon Lex only considers using the intent in an interaction with the user when the specified contexts are included in the active context list for the session. If the contexts are not active, then Amazon Lex will not use the intent. A context can be automatically activated using the outputContexts property or it can be set at runtime. See input_context.

Link copied to clipboard

Configuration block for information required to use the AMAZON.KendraSearchIntent intent to connect to an Amazon Kendra index. The AMAZON.KendraSearchIntent intent is called when Amazon Lex can't determine another intent to invoke. See kendra_configuration.

Link copied to clipboard
val localeId: Output<String>? = null

Identifier of the language and locale where this intent is used. All of the bots, slot types, and slots used by the intent must have the same locale.

Link copied to clipboard
val name: Output<String>? = null

Name of the intent. Intent names must be unique in the locale that contains the intent and cannot match the name of any built-in intent. The following arguments are optional:

Link copied to clipboard

Configuration blocks for contexts that the intent activates when it is fulfilled. You can use an output context to indicate the intents that Amazon Lex should consider for the next turn of the conversation with a customer. When you use the outputContextsList property, all of the contexts specified in the list are activated when the intent is fulfilled. You can set up to 10 output contexts. You can also set the number of conversation turns that the context should be active, or the length of time that the context should be active. See output_context.

Link copied to clipboard
val parentIntentSignature: Output<String>? = null

Identifier for the built-in intent to base this intent on.

Link copied to clipboard

Configuration block for strings that a user might say to signal the intent. See sample_utterance.

Link copied to clipboard

Configuration block for a new list of slots and their priorities that are contained by the intent. This is ignored on create and only valid for updates. See slot_priority.

Link copied to clipboard

Functions

Link copied to clipboard
open override fun toJava(): V2modelsIntentArgs