Interface CfnSessionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSessionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:04.456Z")
@Stability(Stable)
public interface CfnSessionProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnSession.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrock.*;
CfnSessionProps cfnSessionProps = CfnSessionProps.builder()
.encryptionKeyArn("encryptionKeyArn")
.sessionMetadata(Map.of(
"sessionMetadataKey", "sessionMetadata"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSessionPropsstatic final classAn implementation forCfnSessionProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnSessionProps.Builderbuilder()default StringThe Amazon Resource Name (ARN) of the KMS key to use to encrypt the session data.default ObjectA map of key-value pairs containing attributes to be persisted across the session.getTags()A list of tags associated with the session.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEncryptionKeyArn
The Amazon Resource Name (ARN) of the KMS key to use to encrypt the session data.- See Also:
-
getSessionMetadata
A map of key-value pairs containing attributes to be persisted across the session.Returns union: either
IResolvableor Mapinvalid input: '<'String,String>- See Also:
-
getTags
A list of tags associated with the session.- See Also:
-
builder
- Returns:
- a
CfnSessionProps.BuilderofCfnSessionProps
-