Class CfnSessionLogger
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.workspacesweb.CfnSessionLogger
- All Implemented Interfaces:
IInspectable
,ITaggableV2
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-09-02T11:25:42.288Z")
@Stability(Stable)
public class CfnSessionLogger
extends CfnResource
implements IInspectable, ITaggableV2
The session logger resource.
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; CfnSessionLogger cfnSessionLogger = CfnSessionLogger.Builder.create(this, "MyCfnSessionLogger") .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 TypeClassDescriptionstatic final class
A fluent builder forCfnSessionLogger
.static interface
The filter that specifies the events to monitor.static interface
The configuration of the log.static interface
The S3 log configuration.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CfnSessionLogger
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnSessionLogger
(software.amazon.jsii.JsiiObjectRef objRef) CfnSessionLogger
(software.constructs.Construct scope, String id, CfnSessionLoggerProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe additional encryption context of the session logger.The associated portal ARN.The date the session logger resource was created.The ARN of the session logger resource.Tag Manager which manages the tags for this resource.The custom managed key of the session logger.The human-readable display name.The filter that specifies which events to monitor.The configuration that specifies where logs are fowarded.getTags()
void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
The additional encryption context of the session logger.void
The additional encryption context of the session logger.void
setCustomerManagedKey
(String value) The custom managed key of the session logger.void
setDisplayName
(String value) The human-readable display name.void
setEventFilter
(IResolvable value) The filter that specifies which events to monitor.void
The filter that specifies which events to monitor.void
setLogConfiguration
(IResolvable value) The configuration that specifies where logs are fowarded.void
The configuration that specifies where logs are fowarded.void
Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnSessionLogger
protected CfnSessionLogger(software.amazon.jsii.JsiiObjectRef objRef) -
CfnSessionLogger
protected CfnSessionLogger(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnSessionLogger
@Stability(Stable) public CfnSessionLogger(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnSessionLoggerProps props) - 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.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrAssociatedPortalArns
The associated portal ARN. -
getAttrCreationDate
The date the session logger resource was created. -
getAttrSessionLoggerArn
The ARN of the session logger resource. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getEventFilter
The filter that specifies which events to monitor. -
setEventFilter
The filter that specifies which events to monitor. -
setEventFilter
The filter that specifies which events to monitor. -
getLogConfiguration
The configuration that specifies where logs are fowarded. -
setLogConfiguration
The configuration that specifies where logs are fowarded. -
setLogConfiguration
@Stability(Stable) public void setLogConfiguration(@NotNull CfnSessionLogger.LogConfigurationProperty value) The configuration that specifies where logs are fowarded. -
getAdditionalEncryptionContext
The additional encryption context of the session logger. -
setAdditionalEncryptionContext
The additional encryption context of the session logger. -
setAdditionalEncryptionContext
The additional encryption context of the session logger. -
getCustomerManagedKey
The custom managed key of the session logger. -
setCustomerManagedKey
The custom managed key of the session logger. -
getDisplayName
The human-readable display name. -
setDisplayName
The human-readable display name. -
getTags
-
setTags
-