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: object

Properties 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html#cfn-workspacesweb-sessionlogger-additionalencryptioncontext

customer_managed_key

The custom managed key of the session logger.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html#cfn-workspacesweb-sessionlogger-customermanagedkey

display_name

The human-readable display name.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html#cfn-workspacesweb-sessionlogger-displayname

event_filter

The filter that specifies which events to monitor.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html#cfn-workspacesweb-sessionlogger-eventfilter

log_configuration

The configuration that specifies where logs are fowarded.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html#cfn-workspacesweb-sessionlogger-logconfiguration

tags

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html#cfn-workspacesweb-sessionlogger-tags

Type:

see