Interface CfnSessionLoggerProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSessionLoggerProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-09-02T11:25:42.290Z")
@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 class
A builder forCfnSessionLoggerProps
static final class
An implementation forCfnSessionLoggerProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
The additional encryption context of the session logger.default String
The custom managed key of the session logger.default String
The 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.- See Also:
-
getLogConfiguration
The configuration that specifies where logs are fowarded.- See Also:
-
getAdditionalEncryptionContext
The additional encryption context of the session logger.- 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.Builder
ofCfnSessionLoggerProps
-