Class CfnBot.DialogStateProperty
The current state of the conversation with the user.
Inheritance
System.Object
CfnBot.DialogStateProperty
Implements
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class DialogStateProperty : Object, CfnBot.IDialogStateProperty
Syntax (vb)
Public Class DialogStateProperty
Inherits Object
Implements CfnBot.IDialogStateProperty
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 dialogStateProperty = new DialogStateProperty {
DialogAction = new DialogActionProperty {
Type = "type",
// the properties below are optional
SlotToElicit = "slotToElicit",
SuppressNextMessage = false
},
Intent = new IntentOverrideProperty {
Name = "name",
Slots = new [] { new SlotValueOverrideMapProperty {
SlotName = "slotName",
SlotValueOverride = new SlotValueOverrideProperty {
Shape = "shape",
Value = new SlotValueProperty {
InterpretedValue = "interpretedValue"
},
Values = new [] { slotValueOverrideProperty_ }
}
} }
},
SessionAttributes = new [] { new SessionAttributeProperty {
Key = "key",
// the properties below are optional
Value = "value"
} }
};
Synopsis
Constructors
DialogStateProperty() |
Properties
DialogAction | Defines the action that the bot executes at runtime when the conversation reaches this step. |
Intent | Override settings to configure the intent state. |
SessionAttributes | Map of key/value pairs representing session-specific context information. |
Constructors
DialogStateProperty()
public DialogStateProperty()
Properties
DialogAction
Defines the action that the bot executes at runtime when the conversation reaches this step.
public object DialogAction { get; set; }
Property Value
System.Object
Remarks
Intent
Override settings to configure the intent state.
public object Intent { get; set; }
Property Value
System.Object
Remarks
SessionAttributes
Map of key/value pairs representing session-specific context information.
public object SessionAttributes { get; set; }
Property Value
System.Object
Remarks
It contains application information passed between Amazon Lex and a client application.