AWS::Lex::Bot OutputContext - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::Lex::Bot OutputContext

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

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Name" : String, "TimeToLiveInSeconds" : Integer, "TurnsToLive" : Integer }

YAML

Name: String TimeToLiveInSeconds: Integer TurnsToLive: Integer

Properties

Name

The name of the output context.

Required: Yes

Type: String

Pattern: ^([0-9a-zA-Z][_-]?)+$

Minimum: 1

Maximum: 100

Update requires: No interruption

TimeToLiveInSeconds

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.

Required: Yes

Type: Integer

Minimum: 5

Maximum: 86400

Update requires: No interruption

TurnsToLive

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.

Required: Yes

Type: Integer

Minimum: 1

Maximum: 20

Update requires: No interruption