interface SlotCaptureSettingProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Lex.CfnBot.SlotCaptureSettingProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_SlotCaptureSettingProperty |
![]() | software.amazon.awscdk.services.lex.CfnBot.SlotCaptureSettingProperty |
![]() | aws_cdk.aws_lex.CfnBot.SlotCaptureSettingProperty |
![]() | aws-cdk-lib » aws_lex » CfnBot » SlotCaptureSettingProperty |
Settings used when Amazon Lex successfully captures a slot value from a user.
Example
// The generated example for this type would exceed 500 lines,
// and has been elided for readability.
Properties
Name | Type | Description |
---|---|---|
capture | IResolvable | Conditional | A list of conditional branches to evaluate after the slot value is captured. |
capture | IResolvable | Dialog | Specifies the next step that the bot runs when the slot value is captured before the code hook times out. |
capture | IResolvable | Response | Specifies a list of message groups that Amazon Lex uses to respond the user input. |
code | IResolvable | Dialog | Code hook called after Amazon Lex successfully captures a slot value. |
elicitation | IResolvable | Elicitation | Code hook called when Amazon Lex doesn't capture a slot value. |
failure | IResolvable | Conditional | A list of conditional branches to evaluate when the slot value isn't captured. |
failure | IResolvable | Dialog | Specifies the next step that the bot runs when the slot value code is not recognized. |
failure | IResolvable | Response | Specifies a list of message groups that Amazon Lex uses to respond the user input when the slot fails to be captured. |
captureConditional?
Type:
IResolvable
|
Conditional
(optional)
A list of conditional branches to evaluate after the slot value is captured.
captureNextStep?
Type:
IResolvable
|
Dialog
(optional)
Specifies the next step that the bot runs when the slot value is captured before the code hook times out.
captureResponse?
Type:
IResolvable
|
Response
(optional)
Specifies a list of message groups that Amazon Lex uses to respond the user input.
codeHook?
Type:
IResolvable
|
Dialog
(optional)
Code hook called after Amazon Lex successfully captures a slot value.
elicitationCodeHook?
Type:
IResolvable
|
Elicitation
(optional)
Code hook called when Amazon Lex doesn't capture a slot value.
failureConditional?
Type:
IResolvable
|
Conditional
(optional)
A list of conditional branches to evaluate when the slot value isn't captured.
failureNextStep?
Type:
IResolvable
|
Dialog
(optional)
Specifies the next step that the bot runs when the slot value code is not recognized.
failureResponse?
Type:
IResolvable
|
Response
(optional)
Specifies a list of message groups that Amazon Lex uses to respond the user input when the slot fails to be captured.