interface OutputContextProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins.CfnBotPropsMixin.OutputContextProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslex/mixins#CfnBotPropsMixin_OutputContextProperty |
Java | software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotPropsMixin.OutputContextProperty |
Python | aws_cdk.mixins_preview.aws_lex.mixins.CfnBotPropsMixin.OutputContextProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lex » mixins » CfnBotPropsMixin » OutputContextProperty |
Describes a session context that is activated when an intent is fulfilled.
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';
const outputContextProperty: lex_mixins.CfnBotPropsMixin.OutputContextProperty = {
name: 'name',
timeToLiveInSeconds: 123,
turnsToLive: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| name? | string | The name of the output context. |
| time | number | The amount of time, in seconds, that the output context should remain active. |
| turns | number | The number of conversation turns that the output context should remain active. |
name?
Type:
string
(optional)
The name of the output context.
timeToLiveInSeconds?
Type:
number
(optional)
The amount of time, in seconds, that the output context should remain active.
The time is figured from the first time the context is sent to the user.
turnsToLive?
Type:
number
(optional)
The number of conversation turns that the output context should remain active.
The number of turns is counted from the first time that the context is sent to the user.

.NET
Go
Java
Python
TypeScript