Skip to content
v2.278.0

PostFulfillmentStatusSpecificationProperty Struct ​

Provides a setting that determines whether the post-fulfillment response is sent to the user.

For more information, see

Example ​

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

java

csharp
// Install: dotnet add package Amazon.CDK.Lib

go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2

Properties ​

failureConditionaloptionalIResolvable | CfnBot.ConditionalSpecificationPropertyfailure_conditionaloptionaltyping.Union[IResolvable, ConditionalSpecificationProperty]failureConditionaloptionalIResolvableFailureConditionaloptionalIResolvableFailureConditionaloptionalinterface{} #
A list of conditional branches to evaluate after the fulfillment code hook throws an exception or returns with the `State` field of the `Intent` object set to `Failed` .
failureNextStepoptionalIResolvable | CfnBot.DialogStatePropertyfailure_next_stepoptionaltyping.Union[IResolvable, DialogStateProperty]failureNextStepoptionalIResolvableFailureNextStepoptionalIResolvableFailureNextStepoptionalinterface{} #
Specifies the next step the bot runs after the fulfillment code hook throws an exception or returns with the `State` field of the `Intent` object set to `Failed` .
failureResponseoptionalIResolvable | CfnBot.ResponseSpecificationPropertyfailure_responseoptionaltyping.Union[IResolvable, ResponseSpecificationProperty]failureResponseoptionalIResolvableFailureResponseoptionalIResolvableFailureResponseoptionalinterface{} #
Specifies a list of message groups that Amazon Lex uses to respond when fulfillment isn't successful.
successConditionaloptionalIResolvable | CfnBot.ConditionalSpecificationPropertysuccess_conditionaloptionaltyping.Union[IResolvable, ConditionalSpecificationProperty]successConditionaloptionalIResolvableSuccessConditionaloptionalIResolvableSuccessConditionaloptionalinterface{} #
A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.
successNextStepoptionalIResolvable | CfnBot.DialogStatePropertysuccess_next_stepoptionaltyping.Union[IResolvable, DialogStateProperty]successNextStepoptionalIResolvableSuccessNextStepoptionalIResolvableSuccessNextStepoptionalinterface{} #
Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes successfully.
successResponseoptionalIResolvable | CfnBot.ResponseSpecificationPropertysuccess_responseoptionaltyping.Union[IResolvable, ResponseSpecificationProperty]successResponseoptionalIResolvableSuccessResponseoptionalIResolvableSuccessResponseoptionalinterface{} #
Specifies a list of message groups that Amazon Lex uses to respond when the fulfillment is successful.
timeoutConditionaloptionalIResolvable | CfnBot.ConditionalSpecificationPropertytimeout_conditionaloptionaltyping.Union[IResolvable, ConditionalSpecificationProperty]timeoutConditionaloptionalIResolvableTimeoutConditionaloptionalIResolvableTimeoutConditionaloptionalinterface{} #
A list of conditional branches to evaluate if the fulfillment code hook times out.
timeoutNextStepoptionalIResolvable | CfnBot.DialogStatePropertytimeout_next_stepoptionaltyping.Union[IResolvable, DialogStateProperty]timeoutNextStepoptionalIResolvableTimeoutNextStepoptionalIResolvableTimeoutNextStepoptionalinterface{} #
Specifies the next step that the bot runs when the fulfillment code hook times out.
timeoutResponseoptionalIResolvable | CfnBot.ResponseSpecificationPropertytimeout_responseoptionaltyping.Union[IResolvable, ResponseSpecificationProperty]timeoutResponseoptionalIResolvableTimeoutResponseoptionalIResolvableTimeoutResponseoptionalinterface{} #
Specifies a list of message groups that Amazon Lex uses to respond when fulfillment isn't completed within the timeout period.