Interface CfnBot.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.AWS.Lex
Assembly: Amazon.CDK.AWS.Lex.dll
Syntax (csharp)
public interface IStillWaitingResponseSpecificationProperty
Syntax (vb)
Public Interface 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
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.
virtual object AllowInterrupt { get; }
Property Value
System.Object
Remarks
FrequencyInSeconds
How often a message should be sent to the user.
double FrequencyInSeconds { get; }
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.
object MessageGroupsList { get; }
Property Value
System.Object
Remarks
TimeoutInSeconds
If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.
double TimeoutInSeconds { get; }
Property Value
System.Double