CfnSessionLoggerProps
- class aws_cdk.aws_workspacesweb.CfnSessionLoggerProps(*, event_filter, log_configuration, additional_encryption_context=None, customer_managed_key=None, display_name=None, tags=None)
Bases:
objectProperties for defining a
CfnSessionLogger.- Parameters:
event_filter (
Union[IResolvable,EventFilterProperty,Dict[str,Any]]) – The filter that specifies which events to monitor.log_configuration (
Union[IResolvable,LogConfigurationProperty,Dict[str,Any]]) – The configuration that specifies where logs are fowarded.additional_encryption_context (
Union[Mapping[str,str],IResolvable,None]) – The additional encryption context of the session logger.customer_managed_key (
Optional[str]) – The custom managed key of the session logger.display_name (
Optional[str]) – The human-readable display name.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_workspacesweb as workspacesweb # all: Any cfn_session_logger_props = workspacesweb.CfnSessionLoggerProps( event_filter=workspacesweb.CfnSessionLogger.EventFilterProperty( all=all, include=["include"] ), log_configuration=workspacesweb.CfnSessionLogger.LogConfigurationProperty( s3=workspacesweb.CfnSessionLogger.S3LogConfigurationProperty( bucket="bucket", folder_structure="folderStructure", log_file_format="logFileFormat", # the properties below are optional bucket_owner="bucketOwner", key_prefix="keyPrefix" ) ), # the properties below are optional additional_encryption_context={ "additional_encryption_context_key": "additionalEncryptionContext" }, customer_managed_key="customerManagedKey", display_name="displayName", tags=[CfnTag( key="key", value="value" )] )
Attributes
- additional_encryption_context
The additional encryption context of the session logger.
- customer_managed_key
The custom managed key of the session logger.
- display_name
The human-readable display name.
- event_filter
The filter that specifies which events to monitor.
- log_configuration
The configuration that specifies where logs are fowarded.