Show / Hide Table of Contents

Interface CfnBotPropsMixin.IStillWaitingResponseSpecificationProperty

Defines the messages that Amazon Lex sends to a user to remind them that the bot is waiting for a response.

Namespace: Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnBotPropsMixin.IStillWaitingResponseSpecificationProperty
Syntax (vb)
Public Interface CfnBotPropsMixin.IStillWaitingResponseSpecificationProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-stillwaitingresponsespecification.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 stillWaitingResponseSpecificationProperty = new StillWaitingResponseSpecificationProperty {
                 AllowInterrupt = false,
                 FrequencyInSeconds = 123,
                 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"
                         }
                     } }
                 } },
                 TimeoutInSeconds = 123
             };

Synopsis

Properties

AllowInterrupt

Indicates that the user can interrupt the response by speaking while the message is being played.

FrequencyInSeconds

How often a message should be sent to the user.

MessageGroupsList

One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.

TimeoutInSeconds

If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.

Properties

AllowInterrupt

Indicates that the user can interrupt the response by speaking while the message is being played.

object? AllowInterrupt { get; }
Property Value

object

Remarks

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

Type union: either bool or IResolvable

FrequencyInSeconds

How often a message should be sent to the user.

double? FrequencyInSeconds { get; }
Property Value

double?

Remarks

Minimum of 1 second, maximum of 5 minutes.

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

MessageGroupsList

One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.

object? MessageGroupsList { get; }
Property Value

object

Remarks

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

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

TimeoutInSeconds

If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.

double? TimeoutInSeconds { get; }
Property Value

double?

Remarks

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

Back to top Generated by DocFX