interface DialogActionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins.CfnBotPropsMixin.DialogActionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslex/mixins#CfnBotPropsMixin_DialogActionProperty |
Java | software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotPropsMixin.DialogActionProperty |
Python | aws_cdk.mixins_preview.aws_lex.mixins.CfnBotPropsMixin.DialogActionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lex » mixins » CfnBotPropsMixin » DialogActionProperty |
Defines the action that the bot executes at runtime when the conversation reaches this step.
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 dialogActionProperty: lex_mixins.CfnBotPropsMixin.DialogActionProperty = {
slotToElicit: 'slotToElicit',
suppressNextMessage: false,
type: 'type',
};
Properties
| Name | Type | Description |
|---|---|---|
| slot | string | If the dialog action is ElicitSlot , defines the slot to elicit from the user. |
| suppress | boolean | IResolvable | When true the next message for the intent is not used. |
| type? | string | The action that the bot should execute. |
slotToElicit?
Type:
string
(optional)
If the dialog action is ElicitSlot , defines the slot to elicit from the user.
suppressNextMessage?
Type:
boolean | IResolvable
(optional)
When true the next message for the intent is not used.
type?
Type:
string
(optional)
The action that the bot should execute.

.NET
Go
Java
Python
TypeScript