Skip to content

Creates a session logger

Description

Creates a session logger.

Usage

workspacesweb_create_session_logger(eventFilter, logConfiguration,
  displayName, customerManagedKey, additionalEncryptionContext, tags,
  clientToken)

Arguments

  • eventFilter

    [required] The filter that specifies the events to monitor.

  • logConfiguration

    [required] The configuration that specifies where logs are delivered.

  • displayName

    The human-readable display name for the session logger resource.

  • customerManagedKey

    The custom managed key of the session logger.

  • additionalEncryptionContext

    The additional encryption context of the session logger.

  • tags

    The tags to add to the session logger.

  • clientToken

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request. If you do not specify a client token, one is automatically generated by the AWS SDK.

Value

A list with the following syntax:

list(
  sessionLoggerArn = "string"
)

Request syntax

svc$create_session_logger(
  eventFilter = list(
    all = list(),
    include = list(
      "WebsiteInteract"|"FileDownloadFromSecureBrowserToRemoteDisk"|"FileTransferFromRemoteToLocalDisk"|"FileTransferFromLocalToRemoteDisk"|"FileUploadFromRemoteDiskToSecureBrowser"|"ContentPasteToWebsite"|"ContentTransferFromLocalToRemoteClipboard"|"ContentCopyFromWebsite"|"UrlLoad"|"TabOpen"|"TabClose"|"PrintJobSubmit"|"SessionConnect"|"SessionStart"|"SessionDisconnect"|"SessionEnd"|"UrlBlockByContentFilter"
    )
  ),
  logConfiguration = list(
    s3 = list(
      bucket = "string",
      keyPrefix = "string",
      bucketOwner = "string",
      logFileFormat = "JSONLines"|"Json",
      folderStructure = "Flat"|"NestedByDate"
    )
  ),
  displayName = "string",
  customerManagedKey = "string",
  additionalEncryptionContext = list(
    "string"
  ),
  tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  ),
  clientToken = "string"
)