Show / Hide Table of Contents

Class CfnBot.DefaultConditionalBranchProperty

A set of actions that Amazon Lex should run if none of the other conditions are met.

Inheritance
object
CfnBot.DefaultConditionalBranchProperty
Implements
CfnBot.IDefaultConditionalBranchProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnBot.DefaultConditionalBranchProperty : CfnBot.IDefaultConditionalBranchProperty
Syntax (vb)
Public Class CfnBot.DefaultConditionalBranchProperty Implements CfnBot.IDefaultConditionalBranchProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-defaultconditionalbranch.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.AWS.Lex;

             SlotValueOverrideProperty slotValueOverrideProperty_;

             var defaultConditionalBranchProperty = new DefaultConditionalBranchProperty {
                 NextStep = 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"
                     } }
                 },
                 Response = new ResponseSpecificationProperty {
                     MessageGroupsList = new [] { new MessageGroupProperty {
                         Message = new MessageProperty {
                             CustomPayload = new CustomPayloadProperty {
                                 Value = "value"
                             },
                             ImageResponseCard = new ImageResponseCardProperty {
                                 Title = "title",

                                 // the properties below are optional
                                 Buttons = new [] { new ButtonProperty {
                                     Text = "text",
                                     Value = "value"
                                 } },
                                 ImageUrl = "imageUrl",
                                 Subtitle = "subtitle"
                             },
                             PlainTextMessage = new PlainTextMessageProperty {
                                 Value = "value"
                             },
                             SsmlMessage = new SSMLMessageProperty {
                                 Value = "value"
                             }
                         },

                         // the properties below are optional
                         Variations = new [] { new MessageProperty {
                             CustomPayload = new CustomPayloadProperty {
                                 Value = "value"
                             },
                             ImageResponseCard = new ImageResponseCardProperty {
                                 Title = "title",

                                 // the properties below are optional
                                 Buttons = new [] { new ButtonProperty {
                                     Text = "text",
                                     Value = "value"
                                 } },
                                 ImageUrl = "imageUrl",
                                 Subtitle = "subtitle"
                             },
                             PlainTextMessage = new PlainTextMessageProperty {
                                 Value = "value"
                             },
                             SsmlMessage = new SSMLMessageProperty {
                                 Value = "value"
                             }
                         } }
                     } },

                     // the properties below are optional
                     AllowInterrupt = false
                 }
             };

Synopsis

Constructors

DefaultConditionalBranchProperty()

A set of actions that Amazon Lex should run if none of the other conditions are met.

Properties

NextStep

The next step in the conversation.

Response

Specifies a list of message groups that Amazon Lex uses to respond the user input.

Constructors

DefaultConditionalBranchProperty()

A set of actions that Amazon Lex should run if none of the other conditions are met.

public DefaultConditionalBranchProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-defaultconditionalbranch.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.AWS.Lex;

             SlotValueOverrideProperty slotValueOverrideProperty_;

             var defaultConditionalBranchProperty = new DefaultConditionalBranchProperty {
                 NextStep = 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"
                     } }
                 },
                 Response = new ResponseSpecificationProperty {
                     MessageGroupsList = new [] { new MessageGroupProperty {
                         Message = new MessageProperty {
                             CustomPayload = new CustomPayloadProperty {
                                 Value = "value"
                             },
                             ImageResponseCard = new ImageResponseCardProperty {
                                 Title = "title",

                                 // the properties below are optional
                                 Buttons = new [] { new ButtonProperty {
                                     Text = "text",
                                     Value = "value"
                                 } },
                                 ImageUrl = "imageUrl",
                                 Subtitle = "subtitle"
                             },
                             PlainTextMessage = new PlainTextMessageProperty {
                                 Value = "value"
                             },
                             SsmlMessage = new SSMLMessageProperty {
                                 Value = "value"
                             }
                         },

                         // the properties below are optional
                         Variations = new [] { new MessageProperty {
                             CustomPayload = new CustomPayloadProperty {
                                 Value = "value"
                             },
                             ImageResponseCard = new ImageResponseCardProperty {
                                 Title = "title",

                                 // the properties below are optional
                                 Buttons = new [] { new ButtonProperty {
                                     Text = "text",
                                     Value = "value"
                                 } },
                                 ImageUrl = "imageUrl",
                                 Subtitle = "subtitle"
                             },
                             PlainTextMessage = new PlainTextMessageProperty {
                                 Value = "value"
                             },
                             SsmlMessage = new SSMLMessageProperty {
                                 Value = "value"
                             }
                         } }
                     } },

                     // the properties below are optional
                     AllowInterrupt = false
                 }
             };

Properties

NextStep

The next step in the conversation.

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

object

Remarks

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

Response

Specifies a list of message groups that Amazon Lex uses to respond the user input.

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

object

Remarks

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

Implements

CfnBot.IDefaultConditionalBranchProperty
Back to top Generated by DocFX