Show / Hide Table of Contents

Class CfnBotPropsMixin.MessageGroupProperty

Provides one or more messages that Amazon Lex should send to the user.

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

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

             var messageGroupProperty = 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

MessageGroupProperty()

Provides one or more messages that Amazon Lex should send to the user.

Properties

Message

The primary message that Amazon Lex should send to the user.

Variations

Message variations to send to the user.

Constructors

MessageGroupProperty()

Provides one or more messages that Amazon Lex should send to the user.

public MessageGroupProperty()
Remarks

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

             var messageGroupProperty = 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

Message

The primary message that Amazon Lex should send to the user.

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

object

Remarks

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

Type union: either IResolvable or CfnBotPropsMixin.IMessageProperty

Variations

Message variations to send to the user.

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

object

Remarks

When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user.

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

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

Implements

CfnBotPropsMixin.IMessageGroupProperty
Back to top Generated by DocFX