interface DialogActionProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Lex.CfnBot.DialogActionProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_DialogActionProperty |
Java | software.amazon.awscdk.services.lex.CfnBot.DialogActionProperty |
Python | aws_cdk.aws_lex.CfnBot.DialogActionProperty |
TypeScript | aws-cdk-lib » aws_lex » CfnBot » 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 { aws_lex as lex } from 'aws-cdk-lib';
const dialogActionProperty: lex.CfnBot.DialogActionProperty = {
type: 'type',
// the properties below are optional
slotToElicit: 'slotToElicit',
suppressNextMessage: false,
};
Properties
Name | Type | Description |
---|---|---|
type | string | The action that the bot should execute. |
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
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.