interface SessionAttributeProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Lex.CfnBot.SessionAttributeProperty |
![]() | software.amazon.awscdk.services.lex.CfnBot.SessionAttributeProperty |
![]() | aws_cdk.aws_lex.CfnBot.SessionAttributeProperty |
![]() | @aws-cdk/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 * as lex from '@aws-cdk/aws-lex';
const sessionAttributeProperty: lex.CfnBot.SessionAttributeProperty = {
key: 'key',
// the properties below are optional
value: 'value',
};
Properties
Name | Type | Description |
---|---|---|
key | string | The name of the session attribute. |
value? | string | The 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.