Show / Hide Table of Contents

Class CfnBotPropsMixin.DialogStateProperty

The current state of the conversation with the user.

Inheritance
object
CfnBotPropsMixin.DialogStateProperty
Implements
CfnBotPropsMixin.IDialogStateProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-dialogstate.html

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-dialogstate.html

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-dialogstate.html#cfn-lex-bot-dialogstate-dialogaction

Type union: either IResolvable or CfnBotPropsMixin.IDialogActionProperty

Intent

Override settings to configure the intent state.

public object? Intent { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-dialogstate.html#cfn-lex-bot-dialogstate-intent

Type union: either IResolvable or CfnBotPropsMixin.IIntentOverrideProperty

SessionAttributes

Map of key/value pairs representing session-specific context information.

public object? SessionAttributes { get; set; }
Property Value

object

Remarks

It contains application information passed between Amazon Lex and a client application.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-dialogstate.html#cfn-lex-bot-dialogstate-sessionattributes

Type union: either IResolvable or (either IResolvable or CfnBotPropsMixin.ISessionAttributeProperty)[]

Implements

CfnBotPropsMixin.IDialogStateProperty
Back to top Generated by DocFX