Interface CfnBotPropsMixin.IIntentConfirmationSettingProperty
Provides a prompt for making sure that the user is ready for the intent to be fulfilled.
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Lex
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public interface CfnBotPropsMixin.IIntentConfirmationSettingProperty
Syntax (vb)
Public Interface CfnBotPropsMixin.IIntentConfirmationSettingProperty
Remarks
ExampleMetadata: fixture=_generated
Synopsis
Properties
| CodeHook | The |
| ConfirmationConditional | A list of conditional branches to evaluate after the intent is closed. |
| ConfirmationNextStep | Specifies the next step that the bot executes when the customer confirms the intent. |
| ConfirmationResponse | Specifies a list of message groups that Amazon Lex uses to respond the user input. |
| DeclinationConditional | A list of conditional branches to evaluate after the intent is declined. |
| DeclinationNextStep | Specifies the next step that the bot executes when the customer declines the intent. |
| DeclinationResponse | When the user answers "no" to the question defined in |
| ElicitationCodeHook | The |
| FailureConditional | Provides a list of conditional branches. |
| FailureNextStep | The next step to take in the conversation if the confirmation step fails. |
| FailureResponse | Specifies a list of message groups that Amazon Lex uses to respond the user input when the intent confirmation fails. |
| IsActive | Specifies whether the intent's confirmation is sent to the user. |
| PromptSpecification | Prompts the user to confirm the intent. This question should have a yes or no answer. |
Properties
CodeHook
The DialogCodeHookInvocationSetting object associated with intent's confirmation step.
object? CodeHook { get; }
Property Value
Remarks
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 .
Type union: either IResolvable or CfnBotPropsMixin.IDialogCodeHookInvocationSettingProperty
ConfirmationConditional
A list of conditional branches to evaluate after the intent is closed.
object? ConfirmationConditional { get; }
Property Value
Remarks
ConfirmationNextStep
Specifies the next step that the bot executes when the customer confirms the intent.
object? ConfirmationNextStep { get; }
Property Value
Remarks
ConfirmationResponse
Specifies a list of message groups that Amazon Lex uses to respond the user input.
object? ConfirmationResponse { get; }
Property Value
Remarks
DeclinationConditional
A list of conditional branches to evaluate after the intent is declined.
object? DeclinationConditional { get; }
Property Value
Remarks
DeclinationNextStep
Specifies the next step that the bot executes when the customer declines the intent.
object? DeclinationNextStep { get; }
Property Value
Remarks
DeclinationResponse
When the user answers "no" to the question defined in promptSpecification , Amazon Lex responds with this response to acknowledge that the intent was canceled.
object? DeclinationResponse { get; }
Property Value
Remarks
ElicitationCodeHook
The DialogCodeHookInvocationSetting used when the code hook is invoked during confirmation prompt retries.
object? ElicitationCodeHook { get; }
Property Value
Remarks
FailureConditional
Provides a list of conditional branches.
object? FailureConditional { get; }
Property Value
Remarks
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.
Type union: either IResolvable or CfnBotPropsMixin.IConditionalSpecificationProperty
FailureNextStep
The next step to take in the conversation if the confirmation step fails.
object? FailureNextStep { get; }
Property Value
Remarks
FailureResponse
Specifies a list of message groups that Amazon Lex uses to respond the user input when the intent confirmation fails.
object? FailureResponse { get; }
Property Value
Remarks
IsActive
Specifies whether the intent's confirmation is sent to the user.
object? IsActive { get; }
Property Value
Remarks
When this field is false, confirmation and declination responses aren't sent. If the IsActive field isn't specified, the default is true.
Type union: either bool or IResolvable
PromptSpecification
Prompts the user to confirm the intent. This question should have a yes or no answer.
object? PromptSpecification { get; }
Property Value
Remarks
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.
Type union: either IResolvable or CfnBotPropsMixin.IPromptSpecificationProperty