Class CfnBotPropsMixin.IntentConfirmationSettingProperty
Provides a prompt for making sure that the user is ready for the intent to be fulfilled.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Lex
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnBotPropsMixin.IntentConfirmationSettingProperty : CfnBotPropsMixin.IIntentConfirmationSettingProperty
Syntax (vb)
Public Class CfnBotPropsMixin.IntentConfirmationSettingProperty Implements CfnBotPropsMixin.IIntentConfirmationSettingProperty
Remarks
ExampleMetadata: fixture=_generated
Synopsis
Constructors
| IntentConfirmationSettingProperty() | Provides a prompt for making sure that the user is ready for the intent to be fulfilled. |
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. |
Constructors
IntentConfirmationSettingProperty()
Provides a prompt for making sure that the user is ready for the intent to be fulfilled.
public IntentConfirmationSettingProperty()
Remarks
ExampleMetadata: fixture=_generated
Properties
CodeHook
The DialogCodeHookInvocationSetting object associated with intent's confirmation step.
public object? CodeHook { get; set; }
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.
public object? ConfirmationConditional { get; set; }
Property Value
Remarks
ConfirmationNextStep
Specifies the next step that the bot executes when the customer confirms the intent.
public object? ConfirmationNextStep { get; set; }
Property Value
Remarks
ConfirmationResponse
Specifies a list of message groups that Amazon Lex uses to respond the user input.
public object? ConfirmationResponse { get; set; }
Property Value
Remarks
DeclinationConditional
A list of conditional branches to evaluate after the intent is declined.
public object? DeclinationConditional { get; set; }
Property Value
Remarks
DeclinationNextStep
Specifies the next step that the bot executes when the customer declines the intent.
public object? DeclinationNextStep { get; set; }
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.
public object? DeclinationResponse { get; set; }
Property Value
Remarks
ElicitationCodeHook
The DialogCodeHookInvocationSetting used when the code hook is invoked during confirmation prompt retries.
public object? ElicitationCodeHook { get; set; }
Property Value
Remarks
FailureConditional
Provides a list of conditional branches.
public object? FailureConditional { get; set; }
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.
public object? FailureNextStep { get; set; }
Property Value
Remarks
FailureResponse
Specifies a list of message groups that Amazon Lex uses to respond the user input when the intent confirmation fails.
public object? FailureResponse { get; set; }
Property Value
Remarks
IsActive
Specifies whether the intent's confirmation is sent to the user.
public object? IsActive { get; set; }
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.
public object? PromptSpecification { get; set; }
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