aws-cdk-lib.aws_lex.CfnBot.SlotValueProperty

interface SlotValueProperty

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

The value to set in a slot.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lex as lex } from 'aws-cdk-lib';
const slotValueProperty: lex.CfnBot.SlotValueProperty = {
  interpretedValue: 'interpretedValue',
};

Properties

NameTypeDescription
interpretedValue?stringThe value that Amazon Lex determines for the slot.

interpretedValue?

Type: string (optional)

The value that Amazon Lex determines for the slot.

The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.