# DialogCodeHookInvocationSettingProperty

Settings that specify the dialog code hook that is called by Amazon Lex at a step of the conversation.

- 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

- `enableCodeHookInvocation`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) (required) — Indicates whether a Lambda function should be invoked for the dialog.

- `invocationLabel`: string — A label that indicates the dialog step from which the dialog code hook is happening.

- `isActive`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) (required) — Determines whether a dialog code hook is used when the intent is activated.

- `postCodeHookSpecification`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.PostDialogCodeHookInvocationSpecificationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.PostDialogCodeHookInvocationSpecificationProperty.html) (required) — Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.
