Skip to content
v2.273.0

SlotPriorityProperty Struct ​

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

Example ​

ts
// 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 ​

prioritynumberpriorityint | floatpriorityNumberPrioritydoublePriority*float64required#
The priority that Amazon Lex should apply to the slot.
slotNamestringslot_namestrslotNameStringSlotNamestringSlotName*stringrequired#
The name of the slot.