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

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

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

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

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 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.
    
    
    resource "aws-native_workspacesweb_session_logger" "name" {
        # resource properties
    }

    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>
    The tags of the session logger.
    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
    The tags of the session logger.
    event_filter object | object
    The filter that specifies which events to monitor.
    log_configuration object
    The configuration that specifies where logs are fowarded.
    additional_encryption_context map(string)
    The additional encryption context of the session logger.
    customer_managed_key string
    The custom managed key of the session logger.
    display_name string
    The human-readable display name.
    tags list(object)
    The tags of the session logger.
    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>
    The tags of the session logger.
    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[]
    The tags of the session logger.
    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]
    The tags of the session logger.
    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>
    The tags of the session logger.

    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.
    associated_portal_arns list(string)
    The associated portal ARN.
    creation_date string
    The date the session logger resource was created.
    id string
    The provider-assigned unique ID for this managed resource.
    session_logger_arn 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.

    Look up Existing SessionLogger Resource

    Get an existing SessionLogger resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): SessionLogger
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> SessionLogger
    func GetSessionLogger(ctx *Context, name string, id IDInput, state *SessionLoggerState, opts ...ResourceOption) (*SessionLogger, error)
    public static SessionLogger Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static SessionLogger get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingSessionLogger:    type: aws-native:workspacesweb:SessionLogger    get:      id: ${id}
    import {
      to = aws-native_workspacesweb_session_logger.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state SessionLoggerState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    SessionLoggerEvent

    NameValue
    WebsiteInteractWebsiteInteract
    FileDownloadFromSecureBrowserToRemoteDiskFileDownloadFromSecureBrowserToRemoteDisk
    FileTransferFromRemoteToLocalDiskFileTransferFromRemoteToLocalDisk
    FileTransferFromLocalToRemoteDiskFileTransferFromLocalToRemoteDisk
    FileUploadFromRemoteDiskToSecureBrowserFileUploadFromRemoteDiskToSecureBrowser
    ContentPasteToWebsiteContentPasteToWebsite
    ContentTransferFromLocalToRemoteClipboardContentTransferFromLocalToRemoteClipboard
    ContentCopyFromWebsiteContentCopyFromWebsite
    UrlLoadUrlLoad
    TabOpenTabOpen
    TabCloseTabClose
    PrintJobSubmitPrintJobSubmit
    SessionConnectSessionConnect
    SessionStartSessionStart
    SessionDisconnectSessionDisconnect
    SessionEndSessionEnd
    UrlBlockByContentFilterUrlBlockByContentFilter
    NameValue
    SessionLoggerEventWebsiteInteractWebsiteInteract
    SessionLoggerEventFileDownloadFromSecureBrowserToRemoteDiskFileDownloadFromSecureBrowserToRemoteDisk
    SessionLoggerEventFileTransferFromRemoteToLocalDiskFileTransferFromRemoteToLocalDisk
    SessionLoggerEventFileTransferFromLocalToRemoteDiskFileTransferFromLocalToRemoteDisk
    SessionLoggerEventFileUploadFromRemoteDiskToSecureBrowserFileUploadFromRemoteDiskToSecureBrowser
    SessionLoggerEventContentPasteToWebsiteContentPasteToWebsite
    SessionLoggerEventContentTransferFromLocalToRemoteClipboardContentTransferFromLocalToRemoteClipboard
    SessionLoggerEventContentCopyFromWebsiteContentCopyFromWebsite
    SessionLoggerEventUrlLoadUrlLoad
    SessionLoggerEventTabOpenTabOpen
    SessionLoggerEventTabCloseTabClose
    SessionLoggerEventPrintJobSubmitPrintJobSubmit
    SessionLoggerEventSessionConnectSessionConnect
    SessionLoggerEventSessionStartSessionStart
    SessionLoggerEventSessionDisconnectSessionDisconnect
    SessionLoggerEventSessionEndSessionEnd
    SessionLoggerEventUrlBlockByContentFilterUrlBlockByContentFilter
    Value
    WebsiteInteract
    FileDownloadFromSecureBrowserToRemoteDisk
    FileTransferFromRemoteToLocalDisk
    FileTransferFromLocalToRemoteDisk
    FileUploadFromRemoteDiskToSecureBrowser
    ContentPasteToWebsite
    ContentTransferFromLocalToRemoteClipboard
    ContentCopyFromWebsite
    UrlLoad
    TabOpen
    TabClose
    PrintJobSubmit
    SessionConnect
    SessionStart
    SessionDisconnect
    SessionEnd
    UrlBlockByContentFilter
    NameValue
    WebsiteInteractWebsiteInteract
    FileDownloadFromSecureBrowserToRemoteDiskFileDownloadFromSecureBrowserToRemoteDisk
    FileTransferFromRemoteToLocalDiskFileTransferFromRemoteToLocalDisk
    FileTransferFromLocalToRemoteDiskFileTransferFromLocalToRemoteDisk
    FileUploadFromRemoteDiskToSecureBrowserFileUploadFromRemoteDiskToSecureBrowser
    ContentPasteToWebsiteContentPasteToWebsite
    ContentTransferFromLocalToRemoteClipboardContentTransferFromLocalToRemoteClipboard
    ContentCopyFromWebsiteContentCopyFromWebsite
    UrlLoadUrlLoad
    TabOpenTabOpen
    TabCloseTabClose
    PrintJobSubmitPrintJobSubmit
    SessionConnectSessionConnect
    SessionStartSessionStart
    SessionDisconnectSessionDisconnect
    SessionEndSessionEnd
    UrlBlockByContentFilterUrlBlockByContentFilter
    NameValue
    WebsiteInteractWebsiteInteract
    FileDownloadFromSecureBrowserToRemoteDiskFileDownloadFromSecureBrowserToRemoteDisk
    FileTransferFromRemoteToLocalDiskFileTransferFromRemoteToLocalDisk
    FileTransferFromLocalToRemoteDiskFileTransferFromLocalToRemoteDisk
    FileUploadFromRemoteDiskToSecureBrowserFileUploadFromRemoteDiskToSecureBrowser
    ContentPasteToWebsiteContentPasteToWebsite
    ContentTransferFromLocalToRemoteClipboardContentTransferFromLocalToRemoteClipboard
    ContentCopyFromWebsiteContentCopyFromWebsite
    UrlLoadUrlLoad
    TabOpenTabOpen
    TabCloseTabClose
    PrintJobSubmitPrintJobSubmit
    SessionConnectSessionConnect
    SessionStartSessionStart
    SessionDisconnectSessionDisconnect
    SessionEndSessionEnd
    UrlBlockByContentFilterUrlBlockByContentFilter
    NameValue
    WEBSITE_INTERACTWebsiteInteract
    FILE_DOWNLOAD_FROM_SECURE_BROWSER_TO_REMOTE_DISKFileDownloadFromSecureBrowserToRemoteDisk
    FILE_TRANSFER_FROM_REMOTE_TO_LOCAL_DISKFileTransferFromRemoteToLocalDisk
    FILE_TRANSFER_FROM_LOCAL_TO_REMOTE_DISKFileTransferFromLocalToRemoteDisk
    FILE_UPLOAD_FROM_REMOTE_DISK_TO_SECURE_BROWSERFileUploadFromRemoteDiskToSecureBrowser
    CONTENT_PASTE_TO_WEBSITEContentPasteToWebsite
    CONTENT_TRANSFER_FROM_LOCAL_TO_REMOTE_CLIPBOARDContentTransferFromLocalToRemoteClipboard
    CONTENT_COPY_FROM_WEBSITEContentCopyFromWebsite
    URL_LOADUrlLoad
    TAB_OPENTabOpen
    TAB_CLOSETabClose
    PRINT_JOB_SUBMITPrintJobSubmit
    SESSION_CONNECTSessionConnect
    SESSION_STARTSessionStart
    SESSION_DISCONNECTSessionDisconnect
    SESSION_ENDSessionEnd
    URL_BLOCK_BY_CONTENT_FILTERUrlBlockByContentFilter
    Value
    WebsiteInteract
    FileDownloadFromSecureBrowserToRemoteDisk
    FileTransferFromRemoteToLocalDisk
    FileTransferFromLocalToRemoteDisk
    FileUploadFromRemoteDiskToSecureBrowser
    ContentPasteToWebsite
    ContentTransferFromLocalToRemoteClipboard
    ContentCopyFromWebsite
    UrlLoad
    TabOpen
    TabClose
    PrintJobSubmit
    SessionConnect
    SessionStart
    SessionDisconnect
    SessionEnd
    UrlBlockByContentFilter

    SessionLoggerEventFilter0Properties, SessionLoggerEventFilter0PropertiesArgs

    SessionLoggerEventFilter1Properties, SessionLoggerEventFilter1PropertiesArgs

    SessionLoggerFolderStructure

    NameValue
    FlatFlat
    NestedByDateNestedByDate
    NameValue
    SessionLoggerFolderStructureFlatFlat
    SessionLoggerFolderStructureNestedByDateNestedByDate
    Value
    Flat
    NestedByDate
    NameValue
    FlatFlat
    NestedByDateNestedByDate
    NameValue
    FlatFlat
    NestedByDateNestedByDate
    NameValue
    FLATFlat
    NESTED_BY_DATENestedByDate
    Value
    Flat
    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 object
    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

    NameValue
    JsonLinesJSONLines
    JsonJson
    NameValue
    SessionLoggerLogFileFormatJsonLinesJSONLines
    SessionLoggerLogFileFormatJsonJson
    Value
    JSONLines
    Json
    NameValue
    JsonLinesJSONLines
    JsonJson
    NameValue
    JsonLinesJSONLines
    JsonJson
    NameValue
    JSON_LINESJSONLines
    JSONJson
    Value
    JSONLines
    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.
    folder_structure "Flat" | "NestedByDate"
    The folder structure that defines the organizational structure for log files in S3.
    log_file_format "JSONLines" | "Json"
    The format of the LogFile that is written to S3.
    bucket_owner string
    The expected bucket owner of the target S3 bucket. The caller must have permissions to write to the target bucket.
    key_prefix 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

    A set of tags to apply to the resource.

    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 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 aws-native logo AWS Cloud Control

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

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial