Interface CfnSessionLoggerProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSessionLoggerProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:16.150Z")
@Stability(Stable)
public interface CfnSessionLoggerProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnSessionLogger.
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.workspacesweb.*;
Object all;
CfnSessionLoggerProps cfnSessionLoggerProps = CfnSessionLoggerProps.builder()
.eventFilter(EventFilterProperty.builder()
.all(all)
.include(List.of("include"))
.build())
.logConfiguration(LogConfigurationProperty.builder()
.s3(S3LogConfigurationProperty.builder()
.bucket("bucket")
.folderStructure("folderStructure")
.logFileFormat("logFileFormat")
// the properties below are optional
.bucketOwner("bucketOwner")
.keyPrefix("keyPrefix")
.build())
.build())
// the properties below are optional
.additionalEncryptionContext(Map.of(
"additionalEncryptionContextKey", "additionalEncryptionContext"))
.customerManagedKey("customerManagedKey")
.displayName("displayName")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSessionLoggerPropsstatic final classAn implementation forCfnSessionLoggerProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe additional encryption context of the session logger.default StringThe custom managed key of the session logger.default StringThe human-readable display name.The filter that specifies which events to monitor.The configuration that specifies where logs are fowarded.getTags()Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEventFilter
The filter that specifies which events to monitor.Returns union: either
IResolvableorCfnSessionLogger.EventFilterProperty- See Also:
-
getLogConfiguration
The configuration that specifies where logs are fowarded.Returns union: either
IResolvableorCfnSessionLogger.LogConfigurationProperty- See Also:
-
getAdditionalEncryptionContext
The additional encryption context of the session logger.Returns union: either Mapinvalid input: '<'String,
String> orIResolvable- See Also:
-
getCustomerManagedKey
The custom managed key of the session logger.- See Also:
-
getDisplayName
The human-readable display name.- See Also:
-
getTags
- See Also:
-
builder
- Returns:
- a
CfnSessionLoggerProps.BuilderofCfnSessionLoggerProps
-