1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. workspacesweb
  5. SessionLogger

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.35.0 published on Monday, Sep 22, 2025 by Pulumi

aws-native.workspacesweb.SessionLogger

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.35.0 published on Monday, Sep 22, 2025 by Pulumi

    Definition of AWS::WorkSpacesWeb::SessionLogger Resource Type

    Create SessionLogger Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SessionLogger(name: string, args: SessionLoggerArgs, opts?: CustomResourceOptions);
    @overload
    def SessionLogger(resource_name: str,
                      args: SessionLoggerArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def SessionLogger(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      event_filter: Optional[Union[SessionLoggerEventFilter0PropertiesArgs, SessionLoggerEventFilter1PropertiesArgs]] = None,
                      log_configuration: Optional[SessionLoggerLogConfigurationArgs] = None,
                      additional_encryption_context: Optional[Mapping[str, str]] = None,
                      customer_managed_key: Optional[str] = None,
                      display_name: Optional[str] = None,
                      tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewSessionLogger(ctx *Context, name string, args SessionLoggerArgs, opts ...ResourceOption) (*SessionLogger, error)
    public SessionLogger(string name, SessionLoggerArgs args, CustomResourceOptions? opts = null)
    public SessionLogger(String name, SessionLoggerArgs args)
    public SessionLogger(String name, SessionLoggerArgs args, CustomResourceOptions options)
    
    type: aws-native:workspacesweb:SessionLogger
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SessionLoggerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SessionLoggerArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SessionLoggerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SessionLoggerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SessionLoggerArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    SessionLogger Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The SessionLogger resource accepts the following input properties:

    EventFilter Pulumi.AwsNative.WorkSpacesWeb.Inputs.SessionLoggerEventFilter0Properties | Pulumi.AwsNative.WorkSpacesWeb.Inputs.SessionLoggerEventFilter1Properties
    The filter that specifies which events to monitor.
    LogConfiguration Pulumi.AwsNative.WorkSpacesWeb.Inputs.SessionLoggerLogConfiguration
    The configuration that specifies where logs are fowarded.
    AdditionalEncryptionContext Dictionary<string, string>
    The additional encryption context of the session logger.
    CustomerManagedKey string
    The custom managed key of the session logger.
    DisplayName string
    The human-readable display name.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    EventFilter SessionLoggerEventFilter0PropertiesArgs | SessionLoggerEventFilter1PropertiesArgs
    The filter that specifies which events to monitor.
    LogConfiguration SessionLoggerLogConfigurationArgs
    The configuration that specifies where logs are fowarded.
    AdditionalEncryptionContext map[string]string
    The additional encryption context of the session logger.
    CustomerManagedKey string
    The custom managed key of the session logger.
    DisplayName string
    The human-readable display name.
    Tags TagArgs
    eventFilter SessionLoggerEventFilter0Properties | SessionLoggerEventFilter1Properties
    The filter that specifies which events to monitor.
    logConfiguration SessionLoggerLogConfiguration
    The configuration that specifies where logs are fowarded.
    additionalEncryptionContext Map<String,String>
    The additional encryption context of the session logger.
    customerManagedKey String
    The custom managed key of the session logger.
    displayName String
    The human-readable display name.
    tags List<Tag>
    eventFilter SessionLoggerEventFilter0Properties | SessionLoggerEventFilter1Properties
    The filter that specifies which events to monitor.
    logConfiguration SessionLoggerLogConfiguration
    The configuration that specifies where logs are fowarded.
    additionalEncryptionContext {[key: string]: string}
    The additional encryption context of the session logger.
    customerManagedKey string
    The custom managed key of the session logger.
    displayName string
    The human-readable display name.
    tags Tag[]
    event_filter SessionLoggerEventFilter0PropertiesArgs | SessionLoggerEventFilter1PropertiesArgs
    The filter that specifies which events to monitor.
    log_configuration SessionLoggerLogConfigurationArgs
    The configuration that specifies where logs are fowarded.
    additional_encryption_context Mapping[str, str]
    The additional encryption context of the session logger.
    customer_managed_key str
    The custom managed key of the session logger.
    display_name str
    The human-readable display name.
    tags Sequence[TagArgs]
    eventFilter Property Map | Property Map
    The filter that specifies which events to monitor.
    logConfiguration Property Map
    The configuration that specifies where logs are fowarded.
    additionalEncryptionContext Map<String>
    The additional encryption context of the session logger.
    customerManagedKey String
    The custom managed key of the session logger.
    displayName String
    The human-readable display name.
    tags List<Property Map>

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SessionLogger resource produces the following output properties:

    AssociatedPortalArns List<string>
    The associated portal ARN.
    CreationDate string
    The date the session logger resource was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    SessionLoggerArn string
    The ARN of the session logger resource.
    AssociatedPortalArns []string
    The associated portal ARN.
    CreationDate string
    The date the session logger resource was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    SessionLoggerArn string
    The ARN of the session logger resource.
    associatedPortalArns List<String>
    The associated portal ARN.
    creationDate String
    The date the session logger resource was created.
    id String
    The provider-assigned unique ID for this managed resource.
    sessionLoggerArn String
    The ARN of the session logger resource.
    associatedPortalArns string[]
    The associated portal ARN.
    creationDate string
    The date the session logger resource was created.
    id string
    The provider-assigned unique ID for this managed resource.
    sessionLoggerArn string
    The ARN of the session logger resource.
    associated_portal_arns Sequence[str]
    The associated portal ARN.
    creation_date str
    The date the session logger resource was created.
    id str
    The provider-assigned unique ID for this managed resource.
    session_logger_arn str
    The ARN of the session logger resource.
    associatedPortalArns List<String>
    The associated portal ARN.
    creationDate String
    The date the session logger resource was created.
    id String
    The provider-assigned unique ID for this managed resource.
    sessionLoggerArn String
    The ARN of the session logger resource.

    Supporting Types

    SessionLoggerEvent, SessionLoggerEventArgs

    WebsiteInteract
    WebsiteInteract
    FileDownloadFromSecureBrowserToRemoteDisk
    FileDownloadFromSecureBrowserToRemoteDisk
    FileTransferFromRemoteToLocalDisk
    FileTransferFromRemoteToLocalDisk
    FileTransferFromLocalToRemoteDisk
    FileTransferFromLocalToRemoteDisk
    FileUploadFromRemoteDiskToSecureBrowser
    FileUploadFromRemoteDiskToSecureBrowser
    ContentPasteToWebsite
    ContentPasteToWebsite
    ContentTransferFromLocalToRemoteClipboard
    ContentTransferFromLocalToRemoteClipboard
    ContentCopyFromWebsite
    ContentCopyFromWebsite
    UrlLoad
    UrlLoad
    TabOpen
    TabOpen
    TabClose
    TabClose
    PrintJobSubmit
    PrintJobSubmit
    SessionConnect
    SessionConnect
    SessionStart
    SessionStart
    SessionDisconnect
    SessionDisconnect
    SessionEnd
    SessionEnd
    UrlBlockByContentFilter
    UrlBlockByContentFilter
    SessionLoggerEventWebsiteInteract
    WebsiteInteract
    SessionLoggerEventFileDownloadFromSecureBrowserToRemoteDisk
    FileDownloadFromSecureBrowserToRemoteDisk
    SessionLoggerEventFileTransferFromRemoteToLocalDisk
    FileTransferFromRemoteToLocalDisk
    SessionLoggerEventFileTransferFromLocalToRemoteDisk
    FileTransferFromLocalToRemoteDisk
    SessionLoggerEventFileUploadFromRemoteDiskToSecureBrowser
    FileUploadFromRemoteDiskToSecureBrowser
    SessionLoggerEventContentPasteToWebsite
    ContentPasteToWebsite
    SessionLoggerEventContentTransferFromLocalToRemoteClipboard
    ContentTransferFromLocalToRemoteClipboard
    SessionLoggerEventContentCopyFromWebsite
    ContentCopyFromWebsite
    SessionLoggerEventUrlLoad
    UrlLoad
    SessionLoggerEventTabOpen
    TabOpen
    SessionLoggerEventTabClose
    TabClose
    SessionLoggerEventPrintJobSubmit
    PrintJobSubmit
    SessionLoggerEventSessionConnect
    SessionConnect
    SessionLoggerEventSessionStart
    SessionStart
    SessionLoggerEventSessionDisconnect
    SessionDisconnect
    SessionLoggerEventSessionEnd
    SessionEnd
    SessionLoggerEventUrlBlockByContentFilter
    UrlBlockByContentFilter
    WebsiteInteract
    WebsiteInteract
    FileDownloadFromSecureBrowserToRemoteDisk
    FileDownloadFromSecureBrowserToRemoteDisk
    FileTransferFromRemoteToLocalDisk
    FileTransferFromRemoteToLocalDisk
    FileTransferFromLocalToRemoteDisk
    FileTransferFromLocalToRemoteDisk
    FileUploadFromRemoteDiskToSecureBrowser
    FileUploadFromRemoteDiskToSecureBrowser
    ContentPasteToWebsite
    ContentPasteToWebsite
    ContentTransferFromLocalToRemoteClipboard
    ContentTransferFromLocalToRemoteClipboard
    ContentCopyFromWebsite
    ContentCopyFromWebsite
    UrlLoad
    UrlLoad
    TabOpen
    TabOpen
    TabClose
    TabClose
    PrintJobSubmit
    PrintJobSubmit
    SessionConnect
    SessionConnect
    SessionStart
    SessionStart
    SessionDisconnect
    SessionDisconnect
    SessionEnd
    SessionEnd
    UrlBlockByContentFilter
    UrlBlockByContentFilter
    WebsiteInteract
    WebsiteInteract
    FileDownloadFromSecureBrowserToRemoteDisk
    FileDownloadFromSecureBrowserToRemoteDisk
    FileTransferFromRemoteToLocalDisk
    FileTransferFromRemoteToLocalDisk
    FileTransferFromLocalToRemoteDisk
    FileTransferFromLocalToRemoteDisk
    FileUploadFromRemoteDiskToSecureBrowser
    FileUploadFromRemoteDiskToSecureBrowser
    ContentPasteToWebsite
    ContentPasteToWebsite
    ContentTransferFromLocalToRemoteClipboard
    ContentTransferFromLocalToRemoteClipboard
    ContentCopyFromWebsite
    ContentCopyFromWebsite
    UrlLoad
    UrlLoad
    TabOpen
    TabOpen
    TabClose
    TabClose
    PrintJobSubmit
    PrintJobSubmit
    SessionConnect
    SessionConnect
    SessionStart
    SessionStart
    SessionDisconnect
    SessionDisconnect
    SessionEnd
    SessionEnd
    UrlBlockByContentFilter
    UrlBlockByContentFilter
    WEBSITE_INTERACT
    WebsiteInteract
    FILE_DOWNLOAD_FROM_SECURE_BROWSER_TO_REMOTE_DISK
    FileDownloadFromSecureBrowserToRemoteDisk
    FILE_TRANSFER_FROM_REMOTE_TO_LOCAL_DISK
    FileTransferFromRemoteToLocalDisk
    FILE_TRANSFER_FROM_LOCAL_TO_REMOTE_DISK
    FileTransferFromLocalToRemoteDisk
    FILE_UPLOAD_FROM_REMOTE_DISK_TO_SECURE_BROWSER
    FileUploadFromRemoteDiskToSecureBrowser
    CONTENT_PASTE_TO_WEBSITE
    ContentPasteToWebsite
    CONTENT_TRANSFER_FROM_LOCAL_TO_REMOTE_CLIPBOARD
    ContentTransferFromLocalToRemoteClipboard
    CONTENT_COPY_FROM_WEBSITE
    ContentCopyFromWebsite
    URL_LOAD
    UrlLoad
    TAB_OPEN
    TabOpen
    TAB_CLOSE
    TabClose
    PRINT_JOB_SUBMIT
    PrintJobSubmit
    SESSION_CONNECT
    SessionConnect
    SESSION_START
    SessionStart
    SESSION_DISCONNECT
    SessionDisconnect
    SESSION_END
    SessionEnd
    URL_BLOCK_BY_CONTENT_FILTER
    UrlBlockByContentFilter
    "WebsiteInteract"
    WebsiteInteract
    "FileDownloadFromSecureBrowserToRemoteDisk"
    FileDownloadFromSecureBrowserToRemoteDisk
    "FileTransferFromRemoteToLocalDisk"
    FileTransferFromRemoteToLocalDisk
    "FileTransferFromLocalToRemoteDisk"
    FileTransferFromLocalToRemoteDisk
    "FileUploadFromRemoteDiskToSecureBrowser"
    FileUploadFromRemoteDiskToSecureBrowser
    "ContentPasteToWebsite"
    ContentPasteToWebsite
    "ContentTransferFromLocalToRemoteClipboard"
    ContentTransferFromLocalToRemoteClipboard
    "ContentCopyFromWebsite"
    ContentCopyFromWebsite
    "UrlLoad"
    UrlLoad
    "TabOpen"
    TabOpen
    "TabClose"
    TabClose
    "PrintJobSubmit"
    PrintJobSubmit
    "SessionConnect"
    SessionConnect
    "SessionStart"
    SessionStart
    "SessionDisconnect"
    SessionDisconnect
    "SessionEnd"
    SessionEnd
    "UrlBlockByContentFilter"
    UrlBlockByContentFilter

    SessionLoggerEventFilter0Properties, SessionLoggerEventFilter0PropertiesArgs

    SessionLoggerEventFilter1Properties, SessionLoggerEventFilter1PropertiesArgs

    SessionLoggerFolderStructure, SessionLoggerFolderStructureArgs

    Flat
    Flat
    NestedByDate
    NestedByDate
    SessionLoggerFolderStructureFlat
    Flat
    SessionLoggerFolderStructureNestedByDate
    NestedByDate
    Flat
    Flat
    NestedByDate
    NestedByDate
    Flat
    Flat
    NestedByDate
    NestedByDate
    FLAT
    Flat
    NESTED_BY_DATE
    NestedByDate
    "Flat"
    Flat
    "NestedByDate"
    NestedByDate

    SessionLoggerLogConfiguration, SessionLoggerLogConfigurationArgs

    S3 Pulumi.AwsNative.WorkSpacesWeb.Inputs.SessionLoggerS3LogConfiguration
    The configuration for delivering the logs to S3.
    S3 SessionLoggerS3LogConfiguration
    The configuration for delivering the logs to S3.
    s3 SessionLoggerS3LogConfiguration
    The configuration for delivering the logs to S3.
    s3 SessionLoggerS3LogConfiguration
    The configuration for delivering the logs to S3.
    s3 SessionLoggerS3LogConfiguration
    The configuration for delivering the logs to S3.
    s3 Property Map
    The configuration for delivering the logs to S3.

    SessionLoggerLogFileFormat, SessionLoggerLogFileFormatArgs

    JsonLines
    JSONLines
    Json
    Json
    SessionLoggerLogFileFormatJsonLines
    JSONLines
    SessionLoggerLogFileFormatJson
    Json
    JsonLines
    JSONLines
    Json
    Json
    JsonLines
    JSONLines
    Json
    Json
    JSON_LINES
    JSONLines
    JSON
    Json
    "JSONLines"
    JSONLines
    "Json"
    Json

    SessionLoggerS3LogConfiguration, SessionLoggerS3LogConfigurationArgs

    Bucket string
    The S3 bucket name where logs are delivered.
    FolderStructure Pulumi.AwsNative.WorkSpacesWeb.SessionLoggerFolderStructure
    The folder structure that defines the organizational structure for log files in S3.
    LogFileFormat Pulumi.AwsNative.WorkSpacesWeb.SessionLoggerLogFileFormat
    The format of the LogFile that is written to S3.
    BucketOwner string
    The expected bucket owner of the target S3 bucket. The caller must have permissions to write to the target bucket.
    KeyPrefix string
    The S3 path prefix that determines where log files are stored.
    Bucket string
    The S3 bucket name where logs are delivered.
    FolderStructure SessionLoggerFolderStructure
    The folder structure that defines the organizational structure for log files in S3.
    LogFileFormat SessionLoggerLogFileFormat
    The format of the LogFile that is written to S3.
    BucketOwner string
    The expected bucket owner of the target S3 bucket. The caller must have permissions to write to the target bucket.
    KeyPrefix string
    The S3 path prefix that determines where log files are stored.
    bucket String
    The S3 bucket name where logs are delivered.
    folderStructure SessionLoggerFolderStructure
    The folder structure that defines the organizational structure for log files in S3.
    logFileFormat SessionLoggerLogFileFormat
    The format of the LogFile that is written to S3.
    bucketOwner String
    The expected bucket owner of the target S3 bucket. The caller must have permissions to write to the target bucket.
    keyPrefix String
    The S3 path prefix that determines where log files are stored.
    bucket string
    The S3 bucket name where logs are delivered.
    folderStructure SessionLoggerFolderStructure
    The folder structure that defines the organizational structure for log files in S3.
    logFileFormat SessionLoggerLogFileFormat
    The format of the LogFile that is written to S3.
    bucketOwner string
    The expected bucket owner of the target S3 bucket. The caller must have permissions to write to the target bucket.
    keyPrefix string
    The S3 path prefix that determines where log files are stored.
    bucket str
    The S3 bucket name where logs are delivered.
    folder_structure SessionLoggerFolderStructure
    The folder structure that defines the organizational structure for log files in S3.
    log_file_format SessionLoggerLogFileFormat
    The format of the LogFile that is written to S3.
    bucket_owner str
    The expected bucket owner of the target S3 bucket. The caller must have permissions to write to the target bucket.
    key_prefix str
    The S3 path prefix that determines where log files are stored.
    bucket String
    The S3 bucket name where logs are delivered.
    folderStructure "Flat" | "NestedByDate"
    The folder structure that defines the organizational structure for log files in S3.
    logFileFormat "JSONLines" | "Json"
    The format of the LogFile that is written to S3.
    bucketOwner String
    The expected bucket owner of the target S3 bucket. The caller must have permissions to write to the target bucket.
    keyPrefix String
    The S3 path prefix that determines where log files are stored.

    Tag, TagArgs

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.35.0 published on Monday, Sep 22, 2025 by Pulumi