Class CfnSessionLogger.Builder
java.lang.Object
software.amazon.awscdk.services.workspacesweb.CfnSessionLogger.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSessionLogger>
- Enclosing class:
CfnSessionLogger
@Stability(Stable)
public static final class CfnSessionLogger.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSessionLogger>
A fluent builder for
CfnSessionLogger.-
Method Summary
Modifier and TypeMethodDescriptionadditionalEncryptionContext(Map<String, String> additionalEncryptionContext) The additional encryption context of the session logger.additionalEncryptionContext(IResolvable additionalEncryptionContext) The additional encryption context of the session logger.build()static CfnSessionLogger.BuildercustomerManagedKey(String customerManagedKey) The custom managed key of the session logger.displayName(String displayName) The human-readable display name.eventFilter(IResolvable eventFilter) The filter that specifies which events to monitor.eventFilter(CfnSessionLogger.EventFilterProperty eventFilter) The filter that specifies which events to monitor.logConfiguration(IResolvable logConfiguration) The configuration that specifies where logs are fowarded.logConfiguration(CfnSessionLogger.LogConfigurationProperty logConfiguration) The configuration that specifies where logs are fowarded.
-
Method Details
-
create
@Stability(Stable) public static CfnSessionLogger.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnSessionLogger.Builder.
-
eventFilter
The filter that specifies which events to monitor.- Parameters:
eventFilter- The filter that specifies which events to monitor. This parameter is required.- Returns:
this- See Also:
-
eventFilter
@Stability(Stable) public CfnSessionLogger.Builder eventFilter(CfnSessionLogger.EventFilterProperty eventFilter) The filter that specifies which events to monitor.- Parameters:
eventFilter- The filter that specifies which events to monitor. This parameter is required.- Returns:
this- See Also:
-
logConfiguration
The configuration that specifies where logs are fowarded.- Parameters:
logConfiguration- The configuration that specifies where logs are fowarded. This parameter is required.- Returns:
this- See Also:
-
logConfiguration
@Stability(Stable) public CfnSessionLogger.Builder logConfiguration(CfnSessionLogger.LogConfigurationProperty logConfiguration) The configuration that specifies where logs are fowarded.- Parameters:
logConfiguration- The configuration that specifies where logs are fowarded. This parameter is required.- Returns:
this- See Also:
-
additionalEncryptionContext
@Stability(Stable) public CfnSessionLogger.Builder additionalEncryptionContext(Map<String, String> additionalEncryptionContext) The additional encryption context of the session logger.- Parameters:
additionalEncryptionContext- The additional encryption context of the session logger. This parameter is required.- Returns:
this- See Also:
-
additionalEncryptionContext
@Stability(Stable) public CfnSessionLogger.Builder additionalEncryptionContext(IResolvable additionalEncryptionContext) The additional encryption context of the session logger.- Parameters:
additionalEncryptionContext- The additional encryption context of the session logger. This parameter is required.- Returns:
this- See Also:
-
customerManagedKey
The custom managed key of the session logger.- Parameters:
customerManagedKey- The custom managed key of the session logger. This parameter is required.- Returns:
this- See Also:
-
displayName
The human-readable display name.- Parameters:
displayName- The human-readable display name. This parameter is required.- Returns:
this- See Also:
-
tags
- Parameters:
tags- This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSessionLogger>- Returns:
- a newly built instance of
CfnSessionLogger.
-