interface OutputContextProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Lex.CfnBot.OutputContextProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_OutputContextProperty |
![]() | software.amazon.awscdk.services.lex.CfnBot.OutputContextProperty |
![]() | aws_cdk.aws_lex.CfnBot.OutputContextProperty |
![]() | aws-cdk-lib » aws_lex » CfnBot » 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 { aws_lex as lex } from 'aws-cdk-lib';
const outputContextProperty: lex.CfnBot.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
The name of the output context.
timeToLiveInSeconds
Type:
number
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
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.