Interface CfnBotPropsMixin.IIntentOverrideProperty
Override settings to configure the intent state.
Namespace: Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnBotPropsMixin.IIntentOverrideProperty
Syntax (vb)
Public Interface CfnBotPropsMixin.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.Mixins.Preview.AWS.Lex.Mixins;
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
Properties
| Name | The name of the intent. |
| Slots | A map of all of the slot value overrides for the intent. |
Properties
Name
The name of the intent.
string? Name { get; }
Property Value
Remarks
Only required when you're switching intents.
Slots
A map of all of the slot value overrides for the intent.
object? Slots { get; }
Property Value
Remarks
The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden.
Type union: either IResolvable or (either IResolvable or CfnBotPropsMixin.ISlotValueOverrideMapProperty)[]