# DialogStateProperty

The current state of the conversation with the user.

- 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';

declare const slotValueOverrideProperty_: lex.CfnBot.SlotValueOverrideProperty;
const dialogStateProperty: lex.CfnBot.DialogStateProperty = {
  dialogAction: {
    type: 'type',

    // the properties below are optional
    slotToElicit: 'slotToElicit',
    suppressNextMessage: false,
  },
  intent: {
    name: 'name',
    slots: [{
      slotName: 'slotName',
      slotValueOverride: {
        shape: 'shape',
        value: {
          interpretedValue: 'interpretedValue',
        },
        values: [slotValueOverrideProperty_],
      },
    }],
  },
  sessionAttributes: [{
    key: 'key',

    // the properties below are optional
    value: 'value',
  }],
};
```

## Properties

- `dialogAction`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.DialogActionProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.DialogActionProperty.html) — Defines the action that the bot executes at runtime when the conversation reaches this step.

- `intent`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.IntentOverrideProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.IntentOverrideProperty.html) — Override settings to configure the intent state.

- `sessionAttributes`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.SessionAttributeProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SessionAttributeProperty.html)[] — Map of key/value pairs representing session-specific context information.

  It contains application information passed between Amazon Lex and a client application.
