CfnSessionProps
- class aws_cdk.aws_bedrock.CfnSessionProps(*, encryption_key_arn=None, session_metadata=None, tags=None)
Bases:
objectProperties for defining a
CfnSession.- Parameters:
encryption_key_arn (
Optional[str]) – The Amazon Resource Name (ARN) of the KMS key to use to encrypt the session data.session_metadata (
Union[IResolvable,Mapping[str,str],None]) – A map of key-value pairs containing attributes to be persisted across the session.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – A list of tags associated with the session.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-session.html
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_bedrock as bedrock cfn_session_props = bedrock.CfnSessionProps( encryption_key_arn="encryptionKeyArn", session_metadata={ "session_metadata_key": "sessionMetadata" }, tags=[CfnTag( key="key", value="value" )] )
Attributes
- encryption_key_arn
The Amazon Resource Name (ARN) of the KMS key to use to encrypt the session data.
- session_metadata
A map of key-value pairs containing attributes to be persisted across the session.
- tags
A list of tags associated with the session.