Skip to content
v2.277.0

SlotCaptureSettingProperty Struct ​

Settings used when Amazon Lex successfully captures a slot value from a user.

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 ​

captureConditionaloptionalIResolvable | CfnBot.ConditionalSpecificationPropertycapture_conditionaloptionaltyping.Union[IResolvable, ConditionalSpecificationProperty]captureConditionaloptionalIResolvableCaptureConditionaloptionalIResolvableCaptureConditionaloptionalinterface{}#
A list of conditional branches to evaluate after the slot value is captured.
captureNextStepoptionalIResolvable | CfnBot.DialogStatePropertycapture_next_stepoptionaltyping.Union[IResolvable, DialogStateProperty]captureNextStepoptionalIResolvableCaptureNextStepoptionalIResolvableCaptureNextStepoptionalinterface{}#
Specifies the next step that the bot runs when the slot value is captured before the code hook times out.
captureResponseoptionalIResolvable | CfnBot.ResponseSpecificationPropertycapture_responseoptionaltyping.Union[IResolvable, ResponseSpecificationProperty]captureResponseoptionalIResolvableCaptureResponseoptionalIResolvableCaptureResponseoptionalinterface{}#
Specifies a list of message groups that Amazon Lex uses to respond the user input.
codeHookoptionalIResolvable | CfnBot.DialogCodeHookInvocationSettingPropertycode_hookoptionaltyping.Union[IResolvable, DialogCodeHookInvocationSettingProperty]codeHookoptionalIResolvableCodeHookoptionalIResolvableCodeHookoptionalinterface{}#
Code hook called after Amazon Lex successfully captures a slot value.
elicitationCodeHookoptionalIResolvable | CfnBot.ElicitationCodeHookInvocationSettingPropertyelicitation_code_hookoptionaltyping.Union[IResolvable, ElicitationCodeHookInvocationSettingProperty]elicitationCodeHookoptionalIResolvableElicitationCodeHookoptionalIResolvableElicitationCodeHookoptionalinterface{}#
Code hook called when Amazon Lex doesn't capture a slot value.
failureConditionaloptionalIResolvable | CfnBot.ConditionalSpecificationPropertyfailure_conditionaloptionaltyping.Union[IResolvable, ConditionalSpecificationProperty]failureConditionaloptionalIResolvableFailureConditionaloptionalIResolvableFailureConditionaloptionalinterface{}#
A list of conditional branches to evaluate when the slot value isn't captured.
failureNextStepoptionalIResolvable | CfnBot.DialogStatePropertyfailure_next_stepoptionaltyping.Union[IResolvable, DialogStateProperty]failureNextStepoptionalIResolvableFailureNextStepoptionalIResolvableFailureNextStepoptionalinterface{}#
Specifies the next step that the bot runs when the slot value code is not recognized.
failureResponseoptionalIResolvable | CfnBot.ResponseSpecificationPropertyfailure_responseoptionaltyping.Union[IResolvable, ResponseSpecificationProperty]failureResponseoptionalIResolvableFailureResponseoptionalIResolvableFailureResponseoptionalinterface{}#
Specifies a list of message groups that Amazon Lex uses to respond the user input when the slot fails to be captured.