Class CfnBot.OutputContextProperty
Describes a session context that is activated when an intent is fulfilled.
Inheritance
System.Object
CfnBot.OutputContextProperty
Implements
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class OutputContextProperty : Object, CfnBot.IOutputContextProperty
Syntax (vb)
Public Class OutputContextProperty
Inherits Object
Implements CfnBot.IOutputContextProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lex;
var outputContextProperty = new OutputContextProperty {
Name = "name",
TimeToLiveInSeconds = 123,
TurnsToLive = 123
};
Synopsis
Constructors
OutputContextProperty() |
Properties
Name | The name of the output context. |
TimeToLiveInSeconds | The amount of time, in seconds, that the output context should remain active. |
TurnsToLive | The number of conversation turns that the output context should remain active. |
Constructors
OutputContextProperty()
public OutputContextProperty()
Properties
Name
The name of the output context.
public string Name { get; set; }
Property Value
System.String
Remarks
TimeToLiveInSeconds
The amount of time, in seconds, that the output context should remain active.
public double TimeToLiveInSeconds { get; set; }
Property Value
System.Double
Remarks
The time is figured from the first time the context is sent to the user.
TurnsToLive
The number of conversation turns that the output context should remain active.
public double TurnsToLive { get; set; }
Property Value
System.Double
Remarks
The number of turns is counted from the first time that the context is sent to the user.