AWS::Lex::Bot SlotValueElicitationSetting
Specifies the elicitation setting details eliciting a slot.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "DefaultValueSpecification" :
SlotDefaultValueSpecification
, "PromptSpecification" :PromptSpecification
, "SampleUtterances" :[ SampleUtterance, ... ]
, "SlotCaptureSetting" :SlotCaptureSetting
, "SlotConstraint" :String
, "WaitAndContinueSpecification" :WaitAndContinueSpecification
}
YAML
DefaultValueSpecification:
SlotDefaultValueSpecification
PromptSpecification:PromptSpecification
SampleUtterances:- SampleUtterance
SlotCaptureSetting:SlotCaptureSetting
SlotConstraint:String
WaitAndContinueSpecification:WaitAndContinueSpecification
Properties
DefaultValueSpecification
-
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.
Required: No
Type: SlotDefaultValueSpecification
Update requires: No interruption
PromptSpecification
-
The prompt that Amazon Lex uses to elicit the slot value from the user.
Required: No
Type: PromptSpecification
Update requires: No interruption
SampleUtterances
-
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.
Required: No
Type: Array of SampleUtterance
Update requires: No interruption
SlotCaptureSetting
-
Specifies the settings that Amazon Lex uses when a slot value is successfully entered by a user.
Required: No
Type: SlotCaptureSetting
Update requires: No interruption
SlotConstraint
-
Specifies whether the slot is required or optional.
Required: Yes
Type: String
Allowed values:
Required | Optional
Update requires: No interruption
WaitAndContinueSpecification
-
Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input.
Required: No
Type: WaitAndContinueSpecification
Update requires: No interruption