Class CfnBotPropsMixin.DialogStateProperty
The current state of the conversation with the user.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnBotPropsMixin.DialogStateProperty : CfnBotPropsMixin.IDialogStateProperty
Syntax (vb)
Public Class CfnBotPropsMixin.DialogStateProperty Implements CfnBotPropsMixin.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.Mixins.Preview.AWS.Lex.Mixins;
SlotValueOverrideProperty slotValueOverrideProperty_;
var dialogStateProperty = new DialogStateProperty {
DialogAction = new DialogActionProperty {
SlotToElicit = "slotToElicit",
SuppressNextMessage = false,
Type = "type"
},
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",
Value = "value"
} }
};
Synopsis
Constructors
| DialogStateProperty() | The current state of the conversation with the user. |
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()
The current state of the conversation with the user.
public DialogStateProperty()
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 dialogStateProperty = new DialogStateProperty {
DialogAction = new DialogActionProperty {
SlotToElicit = "slotToElicit",
SuppressNextMessage = false,
Type = "type"
},
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",
Value = "value"
} }
};
Properties
DialogAction
Defines the action that the bot executes at runtime when the conversation reaches this step.
public object? DialogAction { get; set; }
Property Value
Remarks
Intent
Override settings to configure the intent state.
public object? Intent { get; set; }
Property Value
Remarks
SessionAttributes
Map of key/value pairs representing session-specific context information.
public object? SessionAttributes { get; set; }
Property Value
Remarks
It contains application information passed between Amazon Lex and a client application.
Type union: either IResolvable or (either IResolvable or CfnBotPropsMixin.ISessionAttributeProperty)[]