aws-cdk-lib.aws_lex.CfnBot.SessionAttributeProperty

interface SessionAttributeProperty

LanguageType name
.NETAmazon.CDK.AWS.Lex.CfnBot.SessionAttributeProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_SessionAttributeProperty
Javasoftware.amazon.awscdk.services.lex.CfnBot.SessionAttributeProperty
Pythonaws_cdk.aws_lex.CfnBot.SessionAttributeProperty
TypeScript aws-cdk-lib » aws_lex » CfnBot » SessionAttributeProperty

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

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

Example

// 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

NameTypeDescription
keystringThe name of the session attribute.
value?stringThe session-specific context information for the session attribute.

key

Type: string

The name of the session attribute.


value?

Type: string (optional)

The session-specific context information for the session attribute.