Skip to content
v2.273.0

CfnSessionProps Struct ​

Properties for defining a CfnSession.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const cfnSessionProps: bedrock.CfnSessionProps = {
  encryptionKeyArn: 'encryptionKeyArn',
  sessionMetadata: {
    sessionMetadataKey: 'sessionMetadata',
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

encryptionKeyArnstringencryption_key_arnstrencryptionKeyArnStringEncryptionKeyArnstringEncryptionKeyArn*string#
The Amazon Resource Name (ARN) of the KMS key to use to encrypt the session data.
sessionMetadataIResolvable | { [key: string]: string }session_metadatatyping.Union[IResolvable, typing.Mapping[str, str]]sessionMetadataIResolvableSessionMetadataIResolvableSessionMetadatainterface{}#
A map of key-value pairs containing attributes to be persisted across the session.
tagsCfnTag[]tagstyping.List[CfnTag]tagsList<CfnTag>TagsCfnTag[]Tags*[]CfnTag#
A list of tags associated with the session.

Used as props by ​