# SlotValueElicitationSettingProperty

Specifies the elicitation setting details eliciting a slot.

- 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

- `defaultValueSpecification`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.SlotDefaultValueSpecificationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SlotDefaultValueSpecificationProperty.html) — A list of default values for a slot.

  Default values are used when Amazon Lex hasn't determined a value for a slot. You can specify default values from context variables, session attributes, and defined values.

- `promptSpecification`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.PromptSpecificationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.PromptSpecificationProperty.html) — The prompt that Amazon Lex uses to elicit the slot value from the user.

- `sampleUtterances`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.SampleUtteranceProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SampleUtteranceProperty.html)[] — If you know a specific pattern that users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy.

  This is optional. In most cases, Amazon Lex is capable of understanding user utterances.

- `slotCaptureSetting`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.SlotCaptureSettingProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SlotCaptureSettingProperty.html) — Specifies the settings that Amazon Lex uses when a slot value is successfully entered by a user.

- `slotConstraint`: string (required) — Specifies whether the slot is required or optional.

- `waitAndContinueSpecification`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.WaitAndContinueSpecificationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.WaitAndContinueSpecificationProperty.html) — Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input.
