# FulfillmentCodeHookSettingProperty

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

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

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

## Properties

- `enabled`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) (required) — Indicates whether a Lambda function should be invoked to fulfill a specific intent.

- `fulfillmentUpdatesSpecification`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.FulfillmentUpdatesSpecificationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.FulfillmentUpdatesSpecificationProperty.html) — 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`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Determines whether the fulfillment code hook is used.

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

- `postFulfillmentStatusSpecification`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.PostFulfillmentStatusSpecificationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.PostFulfillmentStatusSpecificationProperty.html) — 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.
