# InitialResponseSettingProperty

Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots.

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

## Example

TypeScript:

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

Python:

```python

```

Java:

```java

```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib

```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2

```

## Properties

- `codeHook`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.DialogCodeHookInvocationSettingProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.DialogCodeHookInvocationSettingProperty.html) — Settings that specify the dialog code hook that is called by Amazon Lex at a step of the conversation.

- `conditional`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.ConditionalSpecificationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.ConditionalSpecificationProperty.html) — Provides a list of conditional branches.

  Branches are evaluated in the order that they are entered in the list. The first branch with a condition that evaluates to true is executed. The last branch in the list is the default branch. The default branch should not have any condition expression. The default branch is executed if no other branch has a matching condition.

- `initialResponse`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.ResponseSpecificationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.ResponseSpecificationProperty.html) — Specifies a list of message groups that Amazon Lex uses to respond the user input.

- `nextStep`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.DialogStateProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.DialogStateProperty.html) — The next step in the conversation.
