# SlotCaptureSettingProperty

Settings used when Amazon Lex successfully captures a slot value from a user.

- 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

- `captureConditional`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.ConditionalSpecificationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.ConditionalSpecificationProperty.html) — A list of conditional branches to evaluate after the slot value is captured.

- `captureNextStep`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.DialogStateProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.DialogStateProperty.html) — Specifies the next step that the bot runs when the slot value is captured before the code hook times out.

- `captureResponse`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.ResponseSpecificationProperty](https://docs.aws.amazon.com/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.

- `codeHook`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.DialogCodeHookInvocationSettingProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.DialogCodeHookInvocationSettingProperty.html) — Code hook called after Amazon Lex successfully captures a slot value.

- `elicitationCodeHook`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.ElicitationCodeHookInvocationSettingProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.ElicitationCodeHookInvocationSettingProperty.html) — Code hook called when Amazon Lex doesn't capture a slot value.

- `failureConditional`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.ConditionalSpecificationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.ConditionalSpecificationProperty.html) — A list of conditional branches to evaluate when the slot value isn't captured.

- `failureNextStep`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.DialogStateProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.DialogStateProperty.html) — Specifies the next step that the bot runs when the slot value code is not recognized.

- `failureResponse`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.ResponseSpecificationProperty](https://docs.aws.amazon.com/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 when the slot fails to be captured.
