interface WaitAndContinueSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins.CfnBotPropsMixin.WaitAndContinueSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslex/mixins#CfnBotPropsMixin_WaitAndContinueSpecificationProperty |
Java | software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotPropsMixin.WaitAndContinueSpecificationProperty |
Python | aws_cdk.mixins_preview.aws_lex.mixins.CfnBotPropsMixin.WaitAndContinueSpecificationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lex » mixins » CfnBotPropsMixin » WaitAndContinueSpecificationProperty |
Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input.
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 waitAndContinueSpecificationProperty: lex_mixins.CfnBotPropsMixin.WaitAndContinueSpecificationProperty = {
continueResponse: {
allowInterrupt: false,
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',
},
}],
}],
},
isActive: false,
stillWaitingResponse: {
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,
},
waitingResponse: {
allowInterrupt: false,
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',
},
}],
}],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| continue | IResolvable | Response | The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation. |
| is | boolean | IResolvable | Specifies whether the bot will wait for a user to respond. |
| still | IResolvable | Still | A response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user. |
| waiting | IResolvable | Response | The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue. |
continueResponse?
Type:
IResolvable | Response
(optional)
The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.
isActive?
Type:
boolean | IResolvable
(optional)
Specifies whether the bot will wait for a user to respond.
When this field is false, wait and continue responses for a slot aren't used. If the IsActive field isn't specified, the default is true.
stillWaitingResponse?
Type:
IResolvable | Still
(optional)
A response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user.
waitingResponse?
Type:
IResolvable | Response
(optional)
The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.

.NET
Go
Java
Python
TypeScript