SlotValueElicitationSettingProperty Struct
Specifies the elicitation setting details eliciting a slot.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The generated example for this type would exceed 500 lines,
// and has been elided for readability.
python
java
csharp
// Install: dotnet add package Amazon.CDK.Lib
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
Properties
defaultValueSpecificationoptionalIResolvable | CfnBot.default_value_specificationoptionaltyping.Union[IResolvable, SlotDefaultValueSpecificationProperty]defaultValueSpecificationoptionalIResolvableDefaultValueSpecificationoptionalIResolvableDefaultValueSpecificationoptionalinterface{} #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.
promptSpecificationoptionalIResolvable | CfnBot.prompt_specificationoptionaltyping.Union[IResolvable, PromptSpecificationProperty]promptSpecificationoptionalIResolvablePromptSpecificationoptionalIResolvablePromptSpecificationoptionalinterface{} #The prompt that Amazon Lex uses to elicit the slot value from the user.
sampleUtterancesoptionalIResolvable | IResolvable | CfnBot.SampleUtteranceProperty[]sample_utterancesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, SampleUtteranceProperty]]]sampleUtterancesoptionalIResolvableSampleUtterancesoptionalIResolvableSampleUtterancesoptionalinterface{} #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.
slotCaptureSettingoptionalIResolvable | CfnBot.slot_capture_settingoptionaltyping.Union[IResolvable, SlotCaptureSettingProperty]slotCaptureSettingoptionalIResolvableSlotCaptureSettingoptionalIResolvableSlotCaptureSettingoptionalinterface{} #Specifies the settings that Amazon Lex uses when a slot value is successfully entered by a user.
slotConstraintstringslot_constraintstrslotConstraintStringSlotConstraintstringSlotConstraint*string required #Specifies whether the slot is required or optional.
waitAndContinueSpecificationoptionalIResolvable | CfnBot.wait_and_continue_specificationoptionaltyping.Union[IResolvable, WaitAndContinueSpecificationProperty]waitAndContinueSpecificationoptionalIResolvableWaitAndContinueSpecificationoptionalIResolvableWaitAndContinueSpecificationoptionalinterface{} #Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input.