aws-cdk-lib.aws_lex.CfnBot.FulfillmentCodeHookSettingProperty

interface FulfillmentCodeHookSettingProperty

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

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

Example

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

Properties

NameTypeDescription
enabledboolean | IResolvableIndicates whether a Lambda function should be invoked to fulfill a specific intent.
fulfillmentUpdatesSpecification?IResolvable | FulfillmentUpdatesSpecificationPropertyProvides settings for update messages sent to the user for long-running Lambda fulfillment functions.
isActive?boolean | IResolvableDetermines whether the fulfillment code hook is used.
postFulfillmentStatusSpecification?IResolvable | PostFulfillmentStatusSpecificationPropertyProvides settings for messages sent to the user for after the Lambda fulfillment function completes.

enabled

Type: boolean | IResolvable

Indicates whether a Lambda function should be invoked to fulfill a specific intent.


fulfillmentUpdatesSpecification?

Type: IResolvable | FulfillmentUpdatesSpecificationProperty (optional)

Provides settings for update messages sent to the user for long-running Lambda fulfillment functions.

Fulfillment updates can be used only with streaming conversations.


isActive?

Type: boolean | IResolvable (optional)

Determines whether the fulfillment code hook is used.

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


postFulfillmentStatusSpecification?

Type: IResolvable | PostFulfillmentStatusSpecificationProperty (optional)

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.