aws-cdk-lib.aws_lex.CfnBot.SlotValueElicitationSettingProperty

interface SlotValueElicitationSettingProperty

LanguageType name
.NETAmazon.CDK.AWS.Lex.CfnBot.SlotValueElicitationSettingProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_SlotValueElicitationSettingProperty
Javasoftware.amazon.awscdk.services.lex.CfnBot.SlotValueElicitationSettingProperty
Pythonaws_cdk.aws_lex.CfnBot.SlotValueElicitationSettingProperty
TypeScript aws-cdk-lib » aws_lex » CfnBot » SlotValueElicitationSettingProperty

Specifies the elicitation setting details eliciting a slot.

Example

// The generated example for this type would exceed 500 lines,
// and has been elided for readability.

Properties

NameTypeDescription
slotConstraintstringSpecifies whether the slot is required or optional.
defaultValueSpecification?IResolvable | SlotDefaultValueSpecificationPropertyA list of default values for a slot.
promptSpecification?IResolvable | PromptSpecificationPropertyThe prompt that Amazon Lex uses to elicit the slot value from the user.
sampleUtterances?IResolvable | IResolvable | SampleUtteranceProperty[]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.
slotCaptureSetting?IResolvable | SlotCaptureSettingPropertySpecifies the settings that Amazon Lex uses when a slot value is successfully entered by a user.
waitAndContinueSpecification?IResolvable | WaitAndContinueSpecificationPropertySpecifies the prompts that Amazon Lex uses while a bot is waiting for customer input.

slotConstraint

Type: string

Specifies whether the slot is required or optional.


defaultValueSpecification?

Type: IResolvable | SlotDefaultValueSpecificationProperty (optional)

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.


promptSpecification?

Type: IResolvable | PromptSpecificationProperty (optional)

The prompt that Amazon Lex uses to elicit the slot value from the user.


sampleUtterances?

Type: IResolvable | IResolvable | SampleUtteranceProperty[] (optional)

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.


slotCaptureSetting?

Type: IResolvable | SlotCaptureSettingProperty (optional)

Specifies the settings that Amazon Lex uses when a slot value is successfully entered by a user.


waitAndContinueSpecification?

Type: IResolvable | WaitAndContinueSpecificationProperty (optional)

Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input.