aws-cdk-lib.aws_lex.CfnBot.PostDialogCodeHookInvocationSpecificationProperty

interface PostDialogCodeHookInvocationSpecificationProperty

LanguageType name
.NETAmazon.CDK.AWS.Lex.CfnBot.PostDialogCodeHookInvocationSpecificationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_PostDialogCodeHookInvocationSpecificationProperty
Javasoftware.amazon.awscdk.services.lex.CfnBot.PostDialogCodeHookInvocationSpecificationProperty
Pythonaws_cdk.aws_lex.CfnBot.PostDialogCodeHookInvocationSpecificationProperty
TypeScript aws-cdk-lib » aws_lex » CfnBot » PostDialogCodeHookInvocationSpecificationProperty

Specifies next steps to run after the dialog code hook finishes.

Example

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

Properties

NameTypeDescription
failureConditional?IResolvable | ConditionalSpecificationPropertyA list of conditional branches to evaluate after the dialog code hook throws an exception or returns with the State field of the Intent object set to Failed .
failureNextStep?IResolvable | DialogStatePropertySpecifies the next step the bot runs after the dialog code hook throws an exception or returns with the State field of the Intent object set to Failed .
failureResponse?IResolvable | ResponseSpecificationPropertySpecifies a list of message groups that Amazon Lex uses to respond the user input when the code hook fails.
successConditional?IResolvable | ConditionalSpecificationPropertyA list of conditional branches to evaluate after the dialog code hook finishes successfully.
successNextStep?IResolvable | DialogStatePropertySpecifics the next step the bot runs after the dialog code hook finishes successfully.
successResponse?IResolvable | ResponseSpecificationPropertySpecifies a list of message groups that Amazon Lex uses to respond when the code hook succeeds.
timeoutConditional?IResolvable | ConditionalSpecificationPropertyA list of conditional branches to evaluate if the code hook times out.
timeoutNextStep?IResolvable | DialogStatePropertySpecifies the next step that the bot runs when the code hook times out.
timeoutResponse?IResolvable | ResponseSpecificationPropertySpecifies a list of message groups that Amazon Lex uses to respond to the user input when the code hook times out.

failureConditional?

Type: IResolvable | ConditionalSpecificationProperty (optional)

A list of conditional branches to evaluate after the dialog code hook throws an exception or returns with the State field of the Intent object set to Failed .


failureNextStep?

Type: IResolvable | DialogStateProperty (optional)

Specifies the next step the bot runs after the dialog code hook throws an exception or returns with the State field of the Intent object set to Failed .


failureResponse?

Type: IResolvable | ResponseSpecificationProperty (optional)

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


successConditional?

Type: IResolvable | ConditionalSpecificationProperty (optional)

A list of conditional branches to evaluate after the dialog code hook finishes successfully.


successNextStep?

Type: IResolvable | DialogStateProperty (optional)

Specifics the next step the bot runs after the dialog code hook finishes successfully.


successResponse?

Type: IResolvable | ResponseSpecificationProperty (optional)

Specifies a list of message groups that Amazon Lex uses to respond when the code hook succeeds.


timeoutConditional?

Type: IResolvable | ConditionalSpecificationProperty (optional)

A list of conditional branches to evaluate if the code hook times out.


timeoutNextStep?

Type: IResolvable | DialogStateProperty (optional)

Specifies the next step that the bot runs when the code hook times out.


timeoutResponse?

Type: IResolvable | ResponseSpecificationProperty (optional)

Specifies a list of message groups that Amazon Lex uses to respond to the user input when the code hook times out.