# SlotCaptureSettingProperty

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

- 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

- `captureConditional`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.ConditionalSpecificationProperty](/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](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.DialogStateProperty](/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](/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.

- `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) — Code hook called after Amazon Lex successfully captures a slot value.

- `elicitationCodeHook`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.ElicitationCodeHookInvocationSettingProperty](/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](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.ConditionalSpecificationProperty](/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](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.DialogStateProperty](/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](/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 when the slot fails to be captured.
