Skip to content
v2.278.0

IntentProperty Struct ​

Represents an action that the user wants to perform.

Example ​

ts
// The generated example for this type would exceed 500 lines,
// and has been elided for readability.
python

java

csharp
// Install: dotnet add package Amazon.CDK.Lib

go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2

Properties ​

bedrockAgentIntentConfigurationoptionalIResolvable | CfnBot.BedrockAgentIntentConfigurationPropertybedrock_agent_intent_configurationoptionaltyping.Union[IResolvable, BedrockAgentIntentConfigurationProperty]bedrockAgentIntentConfigurationoptionalIResolvableBedrockAgentIntentConfigurationoptionalIResolvableBedrockAgentIntentConfigurationoptionalinterface{} #
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #
A description of the intent.

Use the description to help identify the intent in lists.

dialogCodeHookoptionalIResolvable | CfnBot.DialogCodeHookSettingPropertydialog_code_hookoptionaltyping.Union[IResolvable, DialogCodeHookSettingProperty]dialogCodeHookoptionalIResolvableDialogCodeHookoptionalIResolvableDialogCodeHookoptionalinterface{} #
Specifies that Amazon Lex invokes the alias Lambda function for each user input.

You can invoke this Lambda function to personalize user interaction.

displayNameoptionalstringdisplay_nameoptionalstrdisplayNameoptionalStringDisplayNameoptionalstringDisplayNameoptional*string #
fulfillmentCodeHookoptionalIResolvable | CfnBot.FulfillmentCodeHookSettingPropertyfulfillment_code_hookoptionaltyping.Union[IResolvable, FulfillmentCodeHookSettingProperty]fulfillmentCodeHookoptionalIResolvableFulfillmentCodeHookoptionalIResolvableFulfillmentCodeHookoptionalinterface{} #
Specifies that Amazon Lex invokes 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.

initialResponseSettingoptionalIResolvable | CfnBot.InitialResponseSettingPropertyinitial_response_settingoptionaltyping.Union[IResolvable, InitialResponseSettingProperty]initialResponseSettingoptionalIResolvableInitialResponseSettingoptionalIResolvableInitialResponseSettingoptionalinterface{} #
Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots.
inputContextsoptionalIResolvable | IResolvable | CfnBot.InputContextProperty[]input_contextsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, InputContextProperty]]]inputContextsoptionalIResolvableInputContextsoptionalIResolvableInputContextsoptionalinterface{} #
A list of contexts that must be active for this intent to be considered by Amazon Lex .
intentClosingSettingoptionalIResolvable | CfnBot.IntentClosingSettingPropertyintent_closing_settingoptionaltyping.Union[IResolvable, IntentClosingSettingProperty]intentClosingSettingoptionalIResolvableIntentClosingSettingoptionalIResolvableIntentClosingSettingoptionalinterface{} #
Sets the response that Amazon Lex sends to the user when the intent is closed.
intentConfirmationSettingoptionalIResolvable | CfnBot.IntentConfirmationSettingPropertyintent_confirmation_settingoptionaltyping.Union[IResolvable, IntentConfirmationSettingProperty]intentConfirmationSettingoptionalIResolvableIntentConfirmationSettingoptionalIResolvableIntentConfirmationSettingoptionalinterface{} #
Provides prompts that Amazon Lex sends to the user to confirm the completion of an intent.

If the user answers "no," the settings contain a statement that is sent to the user to end the intent.

kendraConfigurationoptionalIResolvable | CfnBot.KendraConfigurationPropertykendra_configurationoptionaltyping.Union[IResolvable, KendraConfigurationProperty]kendraConfigurationoptionalIResolvableKendraConfigurationoptionalIResolvableKendraConfigurationoptionalinterface{} #
Provides configuration information for the `AMAZON.KendraSearchIntent` intent. When you use this intent, Amazon Lex searches the specified Amazon Kendra index and returns documents from the index that match the user's utterance.
namestringnamestrnameStringNamestringName*string required #
The name of the intent.

Intent names must be unique within the locale that contains the intent and can't match the name of any built-in intent.

outputContextsoptionalIResolvable | IResolvable | CfnBot.OutputContextProperty[]output_contextsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, OutputContextProperty]]]outputContextsoptionalIResolvableOutputContextsoptionalIResolvableOutputContextsoptionalinterface{} #
A list of contexts that the intent activates when it is fulfilled.
parentIntentSignatureoptionalstringparent_intent_signatureoptionalstrparentIntentSignatureoptionalStringParentIntentSignatureoptionalstringParentIntentSignatureoptional*string #
A unique identifier for the built-in intent to base this intent on.
qInConnectIntentConfigurationoptionalIResolvable | CfnBot.QInConnectIntentConfigurationPropertyq_in_connect_intent_configurationoptionaltyping.Union[IResolvable, QInConnectIntentConfigurationProperty]qInConnectIntentConfigurationoptionalIResolvableQInConnectIntentConfigurationoptionalIResolvableQInConnectIntentConfigurationoptionalinterface{} #
qnAIntentConfigurationoptionalIResolvable | CfnBot.QnAIntentConfigurationPropertyqn_a_intent_configurationoptionaltyping.Union[IResolvable, QnAIntentConfigurationProperty]qnAIntentConfigurationoptionalIResolvableQnAIntentConfigurationoptionalIResolvableQnAIntentConfigurationoptionalinterface{} #
sampleUtterancesoptionalIResolvable | IResolvable | CfnBot.SampleUtteranceProperty[]sample_utterancesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, SampleUtteranceProperty]]]sampleUtterancesoptionalIResolvableSampleUtterancesoptionalIResolvableSampleUtterancesoptionalinterface{} #
A list of utterances that a user might say to signal the intent.
slotPrioritiesoptionalIResolvable | IResolvable | CfnBot.SlotPriorityProperty[]slot_prioritiesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, SlotPriorityProperty]]]slotPrioritiesoptionalIResolvableSlotPrioritiesoptionalIResolvableSlotPrioritiesoptionalinterface{} #
Indicates the priority for slots.

Amazon Lex prompts the user for slot values in priority order.

slotsoptionalIResolvable | IResolvable | CfnBot.SlotProperty[]slotsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, SlotProperty]]]slotsoptionalIResolvableSlotsoptionalIResolvableSlotsoptionalinterface{} #
A list of slots that the intent requires for fulfillment.