interface CfnSessionProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.CfnSessionProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#CfnSessionProps |
Java | software.amazon.awscdk.services.bedrock.CfnSessionProps |
Python | aws_cdk.aws_bedrock.CfnSessionProps |
TypeScript | aws-cdk-lib » aws_bedrock » CfnSessionProps |
Properties for defining a CfnSession.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-session.html
Example
// 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
| Name | Type | Description |
|---|---|---|
| encryption | string | The Amazon Resource Name (ARN) of the KMS key to use to encrypt the session data. |
| session | IResolvable | { [string]: string } | A map of key-value pairs containing attributes to be persisted across the session. |
| tags? | Cfn[] | A list of tags associated with the session. |
encryptionKeyArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the KMS key to use to encrypt the session data.
sessionMetadata?
Type:
IResolvable | { [string]: string }
(optional)
A map of key-value pairs containing attributes to be persisted across the session.
tags?
Type:
Cfn[]
(optional)
A list of tags associated with the session.

.NET
Go
Java
Python
TypeScript