Show / Hide Table of Contents

Class CfnBotPropsMixin.ConditionalBranchProperty

A set of actions that Amazon Lex should run if the condition is matched.

Inheritance
object
CfnBotPropsMixin.ConditionalBranchProperty
Implements
CfnBotPropsMixin.IConditionalBranchProperty
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.ConditionalBranchProperty : CfnBotPropsMixin.IConditionalBranchProperty
Syntax (vb)
Public Class CfnBotPropsMixin.ConditionalBranchProperty Implements CfnBotPropsMixin.IConditionalBranchProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-conditionalbranch.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 conditionalBranchProperty = new ConditionalBranchProperty {
                 Condition = new ConditionProperty {
                     ExpressionString = "expressionString"
                 },
                 Name = "name",
                 NextStep = 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"
                     } }
                 },
                 Response = new ResponseSpecificationProperty {
                     AllowInterrupt = false,
                     MessageGroupsList = new [] { new MessageGroupProperty {
                         Message = new MessageProperty {
                             CustomPayload = new CustomPayloadProperty {
                                 Value = "value"
                             },
                             ImageResponseCard = new ImageResponseCardProperty {
                                 Buttons = new [] { new ButtonProperty {
                                     Text = "text",
                                     Value = "value"
                                 } },
                                 ImageUrl = "imageUrl",
                                 Subtitle = "subtitle",
                                 Title = "title"
                             },
                             PlainTextMessage = new PlainTextMessageProperty {
                                 Value = "value"
                             },
                             SsmlMessage = new SSMLMessageProperty {
                                 Value = "value"
                             }
                         },
                         Variations = new [] { new MessageProperty {
                             CustomPayload = new CustomPayloadProperty {
                                 Value = "value"
                             },
                             ImageResponseCard = new ImageResponseCardProperty {
                                 Buttons = new [] { new ButtonProperty {
                                     Text = "text",
                                     Value = "value"
                                 } },
                                 ImageUrl = "imageUrl",
                                 Subtitle = "subtitle",
                                 Title = "title"
                             },
                             PlainTextMessage = new PlainTextMessageProperty {
                                 Value = "value"
                             },
                             SsmlMessage = new SSMLMessageProperty {
                                 Value = "value"
                             }
                         } }
                     } }
                 }
             };

Synopsis

Constructors

ConditionalBranchProperty()

A set of actions that Amazon Lex should run if the condition is matched.

Properties

Condition

Contains the expression to evaluate.

Name

The name of the branch.

NextStep

The next step in the conversation.

Response

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

Constructors

ConditionalBranchProperty()

A set of actions that Amazon Lex should run if the condition is matched.

public ConditionalBranchProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-conditionalbranch.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 conditionalBranchProperty = new ConditionalBranchProperty {
                 Condition = new ConditionProperty {
                     ExpressionString = "expressionString"
                 },
                 Name = "name",
                 NextStep = 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"
                     } }
                 },
                 Response = new ResponseSpecificationProperty {
                     AllowInterrupt = false,
                     MessageGroupsList = new [] { new MessageGroupProperty {
                         Message = new MessageProperty {
                             CustomPayload = new CustomPayloadProperty {
                                 Value = "value"
                             },
                             ImageResponseCard = new ImageResponseCardProperty {
                                 Buttons = new [] { new ButtonProperty {
                                     Text = "text",
                                     Value = "value"
                                 } },
                                 ImageUrl = "imageUrl",
                                 Subtitle = "subtitle",
                                 Title = "title"
                             },
                             PlainTextMessage = new PlainTextMessageProperty {
                                 Value = "value"
                             },
                             SsmlMessage = new SSMLMessageProperty {
                                 Value = "value"
                             }
                         },
                         Variations = new [] { new MessageProperty {
                             CustomPayload = new CustomPayloadProperty {
                                 Value = "value"
                             },
                             ImageResponseCard = new ImageResponseCardProperty {
                                 Buttons = new [] { new ButtonProperty {
                                     Text = "text",
                                     Value = "value"
                                 } },
                                 ImageUrl = "imageUrl",
                                 Subtitle = "subtitle",
                                 Title = "title"
                             },
                             PlainTextMessage = new PlainTextMessageProperty {
                                 Value = "value"
                             },
                             SsmlMessage = new SSMLMessageProperty {
                                 Value = "value"
                             }
                         } }
                     } }
                 }
             };

Properties

Condition

Contains the expression to evaluate.

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

object

Remarks

If the condition is true, the branch's actions are taken.

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

Type union: either IResolvable or CfnBotPropsMixin.IConditionProperty

Name

The name of the branch.

public string? Name { get; set; }
Property Value

string

Remarks

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

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-conditionalbranch.html#cfn-lex-bot-conditionalbranch-nextstep

Type union: either IResolvable or CfnBotPropsMixin.IDialogStateProperty

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-conditionalbranch.html#cfn-lex-bot-conditionalbranch-response

Type union: either IResolvable or CfnBotPropsMixin.IResponseSpecificationProperty

Implements

CfnBotPropsMixin.IConditionalBranchProperty
Back to top Generated by DocFX