Skip to content
v2.278.0

FulfillmentCodeHookSettingProperty Struct ​

Determines if a Lambda function should be invoked for a specific intent.

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 ​

enabledboolean | IResolvableenabledtyping.Union[bool, IResolvable]enabledBooleanEnabledboolEnabledinterface{} required #
Indicates whether a Lambda function should be invoked to fulfill a specific intent.
fulfillmentUpdatesSpecificationoptionalIResolvable | CfnBot.FulfillmentUpdatesSpecificationPropertyfulfillment_updates_specificationoptionaltyping.Union[IResolvable, FulfillmentUpdatesSpecificationProperty]fulfillmentUpdatesSpecificationoptionalIResolvableFulfillmentUpdatesSpecificationoptionalIResolvableFulfillmentUpdatesSpecificationoptionalinterface{} #
Provides settings for update messages sent to the user for long-running Lambda fulfillment functions.

Fulfillment updates can be used only with streaming conversations.

isActiveoptionalboolean | IResolvableis_activeoptionaltyping.Union[bool, IResolvable]isActiveoptionalBooleanIsActiveoptionalboolIsActiveoptionalinterface{} #
Determines whether the fulfillment code hook is used.

When active is false, the code hook doesn't run.

postFulfillmentStatusSpecificationoptionalIResolvable | CfnBot.PostFulfillmentStatusSpecificationPropertypost_fulfillment_status_specificationoptionaltyping.Union[IResolvable, PostFulfillmentStatusSpecificationProperty]postFulfillmentStatusSpecificationoptionalIResolvablePostFulfillmentStatusSpecificationoptionalIResolvablePostFulfillmentStatusSpecificationoptionalinterface{} #
Provides settings for messages sent to the user for after the Lambda fulfillment function completes.

Post-fulfillment messages can be sent for both streaming and non-streaming conversations.