interface DialogStateProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins.CfnBotPropsMixin.DialogStateProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslex/mixins#CfnBotPropsMixin_DialogStateProperty |
Java | software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotPropsMixin.DialogStateProperty |
Python | aws_cdk.mixins_preview.aws_lex.mixins.CfnBotPropsMixin.DialogStateProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lex » mixins » CfnBotPropsMixin » DialogStateProperty |
The current state of the conversation with the user.
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';
declare const slotValueOverrideProperty_: lex_mixins.CfnBotPropsMixin.SlotValueOverrideProperty;
const dialogStateProperty: lex_mixins.CfnBotPropsMixin.DialogStateProperty = {
dialogAction: {
slotToElicit: 'slotToElicit',
suppressNextMessage: false,
type: 'type',
},
intent: {
name: 'name',
slots: [{
slotName: 'slotName',
slotValueOverride: {
shape: 'shape',
value: {
interpretedValue: 'interpretedValue',
},
values: [slotValueOverrideProperty_],
},
}],
},
sessionAttributes: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| dialog | IResolvable | Dialog | Defines the action that the bot executes at runtime when the conversation reaches this step. |
| intent? | IResolvable | Intent | Override settings to configure the intent state. |
| session | IResolvable | (IResolvable | Session)[] | Map of key/value pairs representing session-specific context information. |
dialogAction?
Type:
IResolvable | Dialog
(optional)
Defines the action that the bot executes at runtime when the conversation reaches this step.
intent?
Type:
IResolvable | Intent
(optional)
Override settings to configure the intent state.
sessionAttributes?
Type:
IResolvable | (IResolvable | Session)[]
(optional)
Map of key/value pairs representing session-specific context information.
It contains application information passed between Amazon Lex and a client application.

.NET
Go
Java
Python
TypeScript