AWS::Lex::Bot SlotCaptureSetting
Settings used when Amazon Lex successfully captures a slot value from a user.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "CaptureConditional" :
ConditionalSpecification
, "CaptureNextStep" :DialogState
, "CaptureResponse" :ResponseSpecification
, "CodeHook" :DialogCodeHookInvocationSetting
, "ElicitationCodeHook" :ElicitationCodeHookInvocationSetting
, "FailureConditional" :ConditionalSpecification
, "FailureNextStep" :DialogState
, "FailureResponse" :ResponseSpecification
}
YAML
CaptureConditional:
ConditionalSpecification
CaptureNextStep:DialogState
CaptureResponse:ResponseSpecification
CodeHook:DialogCodeHookInvocationSetting
ElicitationCodeHook:ElicitationCodeHookInvocationSetting
FailureConditional:ConditionalSpecification
FailureNextStep:DialogState
FailureResponse:ResponseSpecification
Properties
CaptureConditional
-
A list of conditional branches to evaluate after the slot value is captured.
Required: No
Type: ConditionalSpecification
Update requires: No interruption
CaptureNextStep
-
Specifies the next step that the bot runs when the slot value is captured before the code hook times out.
Required: No
Type: DialogState
Update requires: No interruption
CaptureResponse
-
Specifies a list of message groups that Amazon Lex uses to respond the user input.
Required: No
Type: ResponseSpecification
Update requires: No interruption
CodeHook
-
Code hook called after Amazon Lex successfully captures a slot value.
Required: No
Type: DialogCodeHookInvocationSetting
Update requires: No interruption
ElicitationCodeHook
-
Code hook called when Amazon Lex doesn't capture a slot value.
Required: No
Type: ElicitationCodeHookInvocationSetting
Update requires: No interruption
FailureConditional
-
A list of conditional branches to evaluate when the slot value isn't captured.
Required: No
Type: ConditionalSpecification
Update requires: No interruption
FailureNextStep
-
Specifies the next step that the bot runs when the slot value code is not recognized.
Required: No
Type: DialogState
Update requires: No interruption
FailureResponse
-
Specifies a list of message groups that Amazon Lex uses to respond the user input when the slot fails to be captured.
Required: No
Type: ResponseSpecification
Update requires: No interruption