Class CfnBot.IntentOverrideProperty
Override settings to configure the intent state.
Inheritance
System.Object
CfnBot.IntentOverrideProperty
Implements
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class IntentOverrideProperty : Object, CfnBot.IIntentOverrideProperty
Syntax (vb)
Public Class IntentOverrideProperty
Inherits Object
Implements CfnBot.IIntentOverrideProperty
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 intentOverrideProperty = new IntentOverrideProperty {
Name = "name",
Slots = new [] { new SlotValueOverrideMapProperty {
SlotName = "slotName",
SlotValueOverride = new SlotValueOverrideProperty {
Shape = "shape",
Value = new SlotValueProperty {
InterpretedValue = "interpretedValue"
},
Values = new [] { slotValueOverrideProperty_ }
}
} }
};
Synopsis
Constructors
IntentOverrideProperty() |
Properties
Name | The name of the intent. |
Slots | A map of all of the slot value overrides for the intent. |
Constructors
IntentOverrideProperty()
public IntentOverrideProperty()
Properties
Name
The name of the intent.
public string Name { get; set; }
Property Value
System.String
Remarks
Only required when you're switching intents.
Slots
A map of all of the slot value overrides for the intent.
public object Slots { get; set; }
Property Value
System.Object
Remarks
The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden.