aws-cdk-lib.aws_lex.CfnBot.DialogActionProperty

interface DialogActionProperty

LanguageType name
.NETAmazon.CDK.AWS.Lex.CfnBot.DialogActionProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_DialogActionProperty
Javasoftware.amazon.awscdk.services.lex.CfnBot.DialogActionProperty
Pythonaws_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

NameTypeDescription
typestringThe action that the bot should execute.
slotToElicit?stringIf the dialog action is ElicitSlot , defines the slot to elicit from the user.
suppressNextMessage?boolean | IResolvableWhen 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.