Show / Hide Table of Contents

Class CfnBot.OutputContextProperty

Describes a session context that is activated when an intent is fulfilled.

Inheritance
System.Object
CfnBot.OutputContextProperty
Implements
CfnBot.IOutputContextProperty
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.AWS.Lex.dll
Syntax (csharp)
public class OutputContextProperty : Object, CfnBot.IOutputContextProperty
Syntax (vb)
Public Class OutputContextProperty
    Inherits Object
    Implements CfnBot.IOutputContextProperty
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-outputcontext.html

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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-outputcontext.html#cfn-lex-bot-outputcontext-name

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.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-outputcontext.html#cfn-lex-bot-outputcontext-timetoliveinseconds

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.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-outputcontext.html#cfn-lex-bot-outputcontext-turnstolive

Implements

CfnBot.IOutputContextProperty
Back to top Generated by DocFX