Class CfnBotPropsMixin.OutputContextProperty
Describes a session context that is activated when an intent is fulfilled.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnBotPropsMixin.OutputContextProperty : CfnBotPropsMixin.IOutputContextProperty
Syntax (vb)
Public Class CfnBotPropsMixin.OutputContextProperty Implements CfnBotPropsMixin.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.Mixins.Preview.AWS.Lex.Mixins;
var outputContextProperty = new OutputContextProperty {
Name = "name",
TimeToLiveInSeconds = 123,
TurnsToLive = 123
};
Synopsis
Constructors
| OutputContextProperty() | Describes a session context that is activated when an intent is fulfilled. |
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()
Describes a session context that is activated when an intent is fulfilled.
public OutputContextProperty()
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.Mixins.Preview.AWS.Lex.Mixins;
var outputContextProperty = new OutputContextProperty {
Name = "name",
TimeToLiveInSeconds = 123,
TurnsToLive = 123
};
Properties
Name
The name of the output context.
public string? Name { get; set; }
Property Value
Remarks
TimeToLiveInSeconds
The amount of time, in seconds, that the output context should remain active.
public double? TimeToLiveInSeconds { get; set; }
Property Value
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
Remarks
The number of turns is counted from the first time that the context is sent to the user.