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
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
Remarks
FrequencyInSeconds
How often a message should be sent to the user.
double? FrequencyInSeconds { get; }
Property Value
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
Remarks
TimeoutInSeconds
If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.
double? TimeoutInSeconds { get; }