Show / Hide Table of Contents

Class CfnBotPropsMixin.OutputContextProperty

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

Inheritance
object
CfnBotPropsMixin.OutputContextProperty
Implements
CfnBotPropsMixin.IOutputContextProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

See: 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.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

See: 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.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

string

Remarks

See: 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

double?

Remarks

The time is figured from the first time the context is sent to the user.

See: 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

double?

Remarks

The number of turns is counted from the first time that the context is sent to the user.

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

Implements

CfnBotPropsMixin.IOutputContextProperty
Back to top Generated by DocFX