Class CfnBot.StillWaitingResponseSpecificationProperty
Defines the messages that Amazon Lex sends to a user to remind them that the bot is waiting for a response.
Inheritance
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.AWS.Lex.dll
Syntax (csharp)
public class StillWaitingResponseSpecificationProperty : Object, CfnBot.IStillWaitingResponseSpecificationProperty
Syntax (vb)
Public Class StillWaitingResponseSpecificationProperty
Inherits Object
Implements CfnBot.IStillWaitingResponseSpecificationProperty
Remarks
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;
var stillWaitingResponseSpecificationProperty = new StillWaitingResponseSpecificationProperty {
FrequencyInSeconds = 123,
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"
}
} }
} },
TimeoutInSeconds = 123,
// the properties below are optional
AllowInterrupt = false
};
Synopsis
Constructors
StillWaitingResponseSpecificationProperty() |
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. |
Constructors
StillWaitingResponseSpecificationProperty()
public StillWaitingResponseSpecificationProperty()
Properties
AllowInterrupt
Indicates that the user can interrupt the response by speaking while the message is being played.
public object AllowInterrupt { get; set; }
Property Value
System.Object
Remarks
FrequencyInSeconds
How often a message should be sent to the user.
public double FrequencyInSeconds { get; set; }
Property Value
System.Double
Remarks
Minimum of 1 second, maximum of 5 minutes.
MessageGroupsList
One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.
public object MessageGroupsList { get; set; }
Property Value
System.Object
Remarks
TimeoutInSeconds
If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.
public double TimeoutInSeconds { get; set; }
Property Value
System.Double