Show / Hide Table of Contents

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-intentconfirmationsetting.html

ExampleMetadata: fixture=_generated

Synopsis

Properties

CodeHook

The DialogCodeHookInvocationSetting object associated with intent's confirmation step.

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 promptSpecification , Amazon Lex responds with this response to acknowledge that the intent was canceled.

ElicitationCodeHook

The DialogCodeHookInvocationSetting used when the code hook is invoked during confirmation prompt retries.

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

object

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-intentconfirmationsetting.html#cfn-lex-bot-intentconfirmationsetting-codehook

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-intentconfirmationsetting.html#cfn-lex-bot-intentconfirmationsetting-confirmationconditional

Type union: either IResolvable or CfnBotPropsMixin.IConditionalSpecificationProperty

ConfirmationNextStep

Specifies the next step that the bot executes when the customer confirms the intent.

object? ConfirmationNextStep { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-intentconfirmationsetting.html#cfn-lex-bot-intentconfirmationsetting-confirmationnextstep

Type union: either IResolvable or CfnBotPropsMixin.IDialogStateProperty

ConfirmationResponse

Specifies a list of message groups that Amazon Lex uses to respond the user input.

object? ConfirmationResponse { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-intentconfirmationsetting.html#cfn-lex-bot-intentconfirmationsetting-confirmationresponse

Type union: either IResolvable or CfnBotPropsMixin.IResponseSpecificationProperty

DeclinationConditional

A list of conditional branches to evaluate after the intent is declined.

object? DeclinationConditional { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-intentconfirmationsetting.html#cfn-lex-bot-intentconfirmationsetting-declinationconditional

Type union: either IResolvable or CfnBotPropsMixin.IConditionalSpecificationProperty

DeclinationNextStep

Specifies the next step that the bot executes when the customer declines the intent.

object? DeclinationNextStep { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-intentconfirmationsetting.html#cfn-lex-bot-intentconfirmationsetting-declinationnextstep

Type union: either IResolvable or CfnBotPropsMixin.IDialogStateProperty

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-intentconfirmationsetting.html#cfn-lex-bot-intentconfirmationsetting-declinationresponse

Type union: either IResolvable or CfnBotPropsMixin.IResponseSpecificationProperty

ElicitationCodeHook

The DialogCodeHookInvocationSetting used when the code hook is invoked during confirmation prompt retries.

object? ElicitationCodeHook { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-intentconfirmationsetting.html#cfn-lex-bot-intentconfirmationsetting-elicitationcodehook

Type union: either IResolvable or CfnBotPropsMixin.IElicitationCodeHookInvocationSettingProperty

FailureConditional

Provides a list of conditional branches.

object? FailureConditional { get; }
Property Value

object

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-intentconfirmationsetting.html#cfn-lex-bot-intentconfirmationsetting-failureconditional

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-intentconfirmationsetting.html#cfn-lex-bot-intentconfirmationsetting-failurenextstep

Type union: either IResolvable or CfnBotPropsMixin.IDialogStateProperty

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-intentconfirmationsetting.html#cfn-lex-bot-intentconfirmationsetting-failureresponse

Type union: either IResolvable or CfnBotPropsMixin.IResponseSpecificationProperty

IsActive

Specifies whether the intent's confirmation is sent to the user.

object? IsActive { get; }
Property Value

object

Remarks

When this field is false, confirmation and declination responses aren't sent. If the IsActive field isn't specified, the default is true.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-intentconfirmationsetting.html#cfn-lex-bot-intentconfirmationsetting-isactive

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

object

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-intentconfirmationsetting.html#cfn-lex-bot-intentconfirmationsetting-promptspecification

Type union: either IResolvable or CfnBotPropsMixin.IPromptSpecificationProperty

Back to top Generated by DocFX