Skip to content
v2.274.0

SessionAttributeProperty Struct ​

A key/value pair representing session-specific context information.

It contains application information passed between Amazon Lex V2 and a client application.

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 sessionAttributeProperty: lex.CfnBot.SessionAttributeProperty = {
  key: 'key',

  // the properties below are optional
  value: 'value',
};

Properties ​

keystringkeystrkeyStringKeystringKey*stringrequired#
The name of the session attribute.
valueoptionalstringvalueoptionalstrvalueoptionalStringValueoptionalstringValueoptional*string#
The session-specific context information for the session attribute.