# ElicitationCodeHookInvocationSettingProperty

Settings that specify the dialog code hook that is called by Amazon Lex between eliciting slot values.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lex as lex } from 'aws-cdk-lib';
const elicitationCodeHookInvocationSettingProperty: lex.CfnBot.ElicitationCodeHookInvocationSettingProperty = {
  enableCodeHookInvocation: false,

  // the properties below are optional
  invocationLabel: 'invocationLabel',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lex as lex

elicitation_code_hook_invocation_setting_property = lex.CfnBot.ElicitationCodeHookInvocationSettingProperty(
    enable_code_hook_invocation=False,

    # the properties below are optional
    invocation_label="invocationLabel"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lex.*;

ElicitationCodeHookInvocationSettingProperty elicitationCodeHookInvocationSettingProperty = ElicitationCodeHookInvocationSettingProperty.builder()
        .enableCodeHookInvocation(false)

        // the properties below are optional
        .invocationLabel("invocationLabel")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lex;

var elicitationCodeHookInvocationSettingProperty = new ElicitationCodeHookInvocationSettingProperty {
    EnableCodeHookInvocation = false,

    // the properties below are optional
    InvocationLabel = "invocationLabel"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

elicitationCodeHookInvocationSettingProperty := &ElicitationCodeHookInvocationSettingProperty{
	EnableCodeHookInvocation: jsii.Boolean(false),

	// the properties below are optional
	InvocationLabel: jsii.String("invocationLabel"),
}
```

## Properties

- `enableCodeHookInvocation`: boolean | [IResolvable](https://docs.aws.amazon.com/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.
