aws-cdk-lib.aws_lex.CfnBot.OutputContextProperty

interface OutputContextProperty

LanguageType name
.NETAmazon.CDK.AWS.Lex.CfnBot.OutputContextProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_OutputContextProperty
Javasoftware.amazon.awscdk.services.lex.CfnBot.OutputContextProperty
Pythonaws_cdk.aws_lex.CfnBot.OutputContextProperty
TypeScript 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

NameTypeDescription
namestringThe name of the output context.
timeToLiveInSecondsnumberThe amount of time, in seconds, that the output context should remain active.
turnsToLivenumberThe 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.