# CfnSessionProps

Properties for defining a `CfnSession`.

Extends: CfnSessionProps
Used as props by: CfnSession

- Source: Generated code
- Type last changed: v2.268.0 · 2 Sep 2026

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

- `encryptionKeyArn`: string — The Amazon Resource Name (ARN) of the KMS key to use to encrypt the session data.

- `sessionMetadata`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: string } — A map of key-value pairs containing attributes to be persisted across the session.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — A list of tags associated with the session.
