# DialogActionProperty

Defines the action that the bot executes at runtime when the conversation reaches this step.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// 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

- `slotToElicit`: string — If the dialog action is `ElicitSlot` , defines the slot to elicit from the user.

- `suppressNextMessage`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — When true the next message for the intent is not used.

- `type`: string (required) — The action that the bot should execute.
