Class CfnBot.DialogActionProperty
Defines the action that the bot executes at runtime when the conversation reaches this step.
Inheritance
System.Object
CfnBot.DialogActionProperty
Implements
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class DialogActionProperty : Object, CfnBot.IDialogActionProperty
Syntax (vb)
Public Class DialogActionProperty
Inherits Object
Implements CfnBot.IDialogActionProperty
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;
var dialogActionProperty = new DialogActionProperty {
Type = "type",
// the properties below are optional
SlotToElicit = "slotToElicit",
SuppressNextMessage = false
};
Synopsis
Constructors
DialogActionProperty() |
Properties
SlotToElicit | If the dialog action is |
SuppressNextMessage | When true the next message for the intent is not used. |
Type | The action that the bot should execute. |
Constructors
DialogActionProperty()
public DialogActionProperty()
Properties
SlotToElicit
If the dialog action is ElicitSlot
, defines the slot to elicit from the user.
public string SlotToElicit { get; set; }
Property Value
System.String
Remarks
SuppressNextMessage
When true the next message for the intent is not used.
public object SuppressNextMessage { get; set; }
Property Value
System.Object
Remarks
Type
The action that the bot should execute.
public string Type { get; set; }
Property Value
System.String