IntentConfirmationSettingProperty Struct
Provides a prompt for making sure that the user is ready for the intent to be fulfilled.
| Source | |
|---|---|
| Type last changed |
Example
// The generated example for this type would exceed 500 lines,
// and has been elided for readability.
// Install: dotnet add package Amazon.CDK.Lib
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
Properties
codeHookoptionalIResolvable | CfnBot.code_hookoptionaltyping.Union[IResolvable, DialogCodeHookInvocationSettingProperty]codeHookoptionalIResolvableCodeHookoptionalIResolvableCodeHookoptionalinterface{} #The dialog code hook is triggered based on these invocation settings when the confirmation next step or declination next step or failure next step is InvokeDialogCodeHook .
confirmationConditionaloptionalIResolvable | CfnBot.confirmation_conditionaloptionaltyping.Union[IResolvable, ConditionalSpecificationProperty]confirmationConditionaloptionalIResolvableConfirmationConditionaloptionalIResolvableConfirmationConditionaloptionalinterface{} #confirmationNextStepoptionalIResolvable | CfnBot.DialogStatePropertyconfirmation_next_stepoptionaltyping.Union[IResolvable, DialogStateProperty]confirmationNextStepoptionalIResolvableConfirmationNextStepoptionalIResolvableConfirmationNextStepoptionalinterface{} #confirmationResponseoptionalIResolvable | CfnBot.confirmation_responseoptionaltyping.Union[IResolvable, ResponseSpecificationProperty]confirmationResponseoptionalIResolvableConfirmationResponseoptionalIResolvableConfirmationResponseoptionalinterface{} #declinationConditionaloptionalIResolvable | CfnBot.declination_conditionaloptionaltyping.Union[IResolvable, ConditionalSpecificationProperty]declinationConditionaloptionalIResolvableDeclinationConditionaloptionalIResolvableDeclinationConditionaloptionalinterface{} #declinationNextStepoptionalIResolvable | CfnBot.DialogStatePropertydeclination_next_stepoptionaltyping.Union[IResolvable, DialogStateProperty]declinationNextStepoptionalIResolvableDeclinationNextStepoptionalIResolvableDeclinationNextStepoptionalinterface{} #declinationResponseoptionalIResolvable | CfnBot.declination_responseoptionaltyping.Union[IResolvable, ResponseSpecificationProperty]declinationResponseoptionalIResolvableDeclinationResponseoptionalIResolvableDeclinationResponseoptionalinterface{} #elicitationCodeHookoptionalIResolvable | CfnBot.elicitation_code_hookoptionaltyping.Union[IResolvable, ElicitationCodeHookInvocationSettingProperty]elicitationCodeHookoptionalIResolvableElicitationCodeHookoptionalIResolvableElicitationCodeHookoptionalinterface{} #failureConditionaloptionalIResolvable | CfnBot.failure_conditionaloptionaltyping.Union[IResolvable, ConditionalSpecificationProperty]failureConditionaloptionalIResolvableFailureConditionaloptionalIResolvableFailureConditionaloptionalinterface{} #notes
Branches are evaluated in the order that they are entered in the list. The first branch with a condition that evaluates to true is executed. The last branch in the list is the default branch. The default branch should not have any condition expression. The default branch is executed if no other branch has a matching condition.
failureNextStepoptionalIResolvable | CfnBot.DialogStatePropertyfailure_next_stepoptionaltyping.Union[IResolvable, DialogStateProperty]failureNextStepoptionalIResolvableFailureNextStepoptionalIResolvableFailureNextStepoptionalinterface{} #failureResponseoptionalIResolvable | CfnBot.failure_responseoptionaltyping.Union[IResolvable, ResponseSpecificationProperty]failureResponseoptionalIResolvableFailureResponseoptionalIResolvableFailureResponseoptionalinterface{} #isActiveoptionalboolean | IResolvableis_activeoptionaltyping.Union[bool, IResolvable]isActiveoptionalBooleanIsActiveoptionalboolIsActiveoptionalinterface{} #When this field is false, confirmation and declination responses aren't sent. If the IsActive field isn't specified, the default is true.
promptSpecificationoptionalIResolvable | CfnBot.prompt_specificationoptionaltyping.Union[IResolvable, PromptSpecificationProperty]promptSpecificationoptionalIResolvablePromptSpecificationoptionalIResolvablePromptSpecificationoptionalinterface{} #notes
Amazon Lex uses this prompt to ensure that the user acknowledges that the intent is ready for fulfillment. For example, with the OrderPizza intent, you might want to confirm that the order is correct before placing it. For other intents, such as intents that simply respond to user questions, you might not need to ask the user for confirmation before providing the information.