# OutputContextProperty

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

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lex as lex } from 'aws-cdk-lib';
const outputContextProperty: lex.CfnBot.OutputContextProperty = {
  name: 'name',
  timeToLiveInSeconds: 123,
  turnsToLive: 123,
};
```

## Properties

- `name`: string (required) — The name of the output context.

- `timeToLiveInSeconds`: number (required) — 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.

- `turnsToLive`: number (required) — 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.
