aws-cdk-lib.aws_lex.CfnBot.SlotPriorityProperty

interface SlotPriorityProperty

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

Sets the priority that Amazon Lex should use when eliciting slot values from a user.

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 slotPriorityProperty: lex.CfnBot.SlotPriorityProperty = {
  priority: 123,
  slotName: 'slotName',
};

Properties

NameTypeDescription
prioritynumberThe priority that Amazon Lex should apply to the slot.
slotNamestringThe name of the slot.

priority

Type: number

The priority that Amazon Lex should apply to the slot.


slotName

Type: string

The name of the slot.