Class CfnBot.SlotValueOverrideProperty
The slot values that Amazon Lex uses when it sets slot values in a dialog step.
Inheritance
System.Object
CfnBot.SlotValueOverrideProperty
Implements
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.AWS.Lex.dll
Syntax (csharp)
public class SlotValueOverrideProperty : Object, CfnBot.ISlotValueOverrideProperty
Syntax (vb)
Public Class SlotValueOverrideProperty
Inherits Object
Implements CfnBot.ISlotValueOverrideProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lex;
SlotValueOverrideProperty slotValueOverrideProperty_;
var slotValueOverrideProperty = new SlotValueOverrideProperty {
Shape = "shape",
Value = new SlotValueProperty {
InterpretedValue = "interpretedValue"
},
Values = new [] { new SlotValueOverrideProperty {
Shape = "shape",
Value = new SlotValueProperty {
InterpretedValue = "interpretedValue"
},
Values = new [] { slotValueOverrideProperty_ }
} }
};
Synopsis
Constructors
SlotValueOverrideProperty() |
Properties
Shape | When the shape value is |
Value | The current value of the slot. |
Values | A list of one or more values that the user provided for the slot. |
Constructors
SlotValueOverrideProperty()
public SlotValueOverrideProperty()
Properties
Shape
When the shape value is List
, it indicates that the values
field contains a list of slot values.
public string Shape { get; set; }
Property Value
System.String
Remarks
When the value is Scalar
, it indicates that the value
field contains a single value.
Value
The current value of the slot.
public object Value { get; set; }
Property Value
System.Object
Remarks
Values
A list of one or more values that the user provided for the slot.
public object Values { get; set; }
Property Value
System.Object
Remarks
For example, for a slot that elicits pizza toppings, the values might be "pepperoni" and "pineapple."