interface StillWaitingResponseSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins.CfnBotPropsMixin.StillWaitingResponseSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslex/mixins#CfnBotPropsMixin_StillWaitingResponseSpecificationProperty |
Java | software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotPropsMixin.StillWaitingResponseSpecificationProperty |
Python | aws_cdk.mixins_preview.aws_lex.mixins.CfnBotPropsMixin.StillWaitingResponseSpecificationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lex » mixins » CfnBotPropsMixin » StillWaitingResponseSpecificationProperty |
Defines the messages that Amazon Lex sends to a user to remind them that the bot is waiting for a response.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as lex_mixins } from '@aws-cdk/mixins-preview/aws-lex';
const stillWaitingResponseSpecificationProperty: lex_mixins.CfnBotPropsMixin.StillWaitingResponseSpecificationProperty = {
allowInterrupt: false,
frequencyInSeconds: 123,
messageGroupsList: [{
message: {
customPayload: {
value: 'value',
},
imageResponseCard: {
buttons: [{
text: 'text',
value: 'value',
}],
imageUrl: 'imageUrl',
subtitle: 'subtitle',
title: 'title',
},
plainTextMessage: {
value: 'value',
},
ssmlMessage: {
value: 'value',
},
},
variations: [{
customPayload: {
value: 'value',
},
imageResponseCard: {
buttons: [{
text: 'text',
value: 'value',
}],
imageUrl: 'imageUrl',
subtitle: 'subtitle',
title: 'title',
},
plainTextMessage: {
value: 'value',
},
ssmlMessage: {
value: 'value',
},
}],
}],
timeoutInSeconds: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| allow | boolean | IResolvable | Indicates that the user can interrupt the response by speaking while the message is being played. |
| frequency | number | How often a message should be sent to the user. |
| message | IResolvable | (IResolvable | Message)[] | One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user. |
| timeout | number | If Amazon Lex waits longer than this length of time for a response, it will stop sending messages. |
allowInterrupt?
Type:
boolean | IResolvable
(optional)
Indicates that the user can interrupt the response by speaking while the message is being played.
frequencyInSeconds?
Type:
number
(optional)
How often a message should be sent to the user.
Minimum of 1 second, maximum of 5 minutes.
messageGroupsList?
Type:
IResolvable | (IResolvable | Message)[]
(optional)
One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.
timeoutInSeconds?
Type:
number
(optional)
If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.

.NET
Go
Java
Python
TypeScript