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

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.getSessionLogger

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

    Using getSessionLogger

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getSessionLogger(args: GetSessionLoggerArgs, opts?: InvokeOptions): Promise<GetSessionLoggerResult>
    function getSessionLoggerOutput(args: GetSessionLoggerOutputArgs, opts?: InvokeOptions): Output<GetSessionLoggerResult>
    def get_session_logger(session_logger_arn: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetSessionLoggerResult
    def get_session_logger_output(session_logger_arn: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetSessionLoggerResult]
    func LookupSessionLogger(ctx *Context, args *LookupSessionLoggerArgs, opts ...InvokeOption) (*LookupSessionLoggerResult, error)
    func LookupSessionLoggerOutput(ctx *Context, args *LookupSessionLoggerOutputArgs, opts ...InvokeOption) LookupSessionLoggerResultOutput

    > Note: This function is named LookupSessionLogger in the Go SDK.

    public static class GetSessionLogger 
    {
        public static Task<GetSessionLoggerResult> InvokeAsync(GetSessionLoggerArgs args, InvokeOptions? opts = null)
        public static Output<GetSessionLoggerResult> Invoke(GetSessionLoggerInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSessionLoggerResult> getSessionLogger(GetSessionLoggerArgs args, InvokeOptions options)
    public static Output<GetSessionLoggerResult> getSessionLogger(GetSessionLoggerArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:workspacesweb:getSessionLogger
      arguments:
        # arguments dictionary

    The following arguments are supported:

    SessionLoggerArn string
    The ARN of the session logger resource.
    SessionLoggerArn string
    The ARN of the session logger resource.
    sessionLoggerArn String
    The ARN of the session logger resource.
    sessionLoggerArn string
    The ARN of the session logger resource.
    session_logger_arn str
    The ARN of the session logger resource.
    sessionLoggerArn String
    The ARN of the session logger resource.

    getSessionLogger Result

    The following output properties are available:

    AssociatedPortalArns List<string>
    The associated portal ARN.
    CreationDate string
    The date the session logger resource was created.
    DisplayName string
    The human-readable display name.
    EventFilter Pulumi.AwsNative.WorkSpacesWeb.Outputs.SessionLoggerEventFilter0Properties | Pulumi.AwsNative.WorkSpacesWeb.Outputs.SessionLoggerEventFilter1Properties
    The filter that specifies which events to monitor.
    LogConfiguration Pulumi.AwsNative.WorkSpacesWeb.Outputs.SessionLoggerLogConfiguration
    The configuration that specifies where logs are fowarded.
    SessionLoggerArn string
    The ARN of the session logger resource.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    AssociatedPortalArns []string
    The associated portal ARN.
    CreationDate string
    The date the session logger resource was created.
    DisplayName string
    The human-readable display name.
    EventFilter SessionLoggerEventFilter0Properties | SessionLoggerEventFilter1Properties
    The filter that specifies which events to monitor.
    LogConfiguration SessionLoggerLogConfiguration
    The configuration that specifies where logs are fowarded.
    SessionLoggerArn string
    The ARN of the session logger resource.
    Tags Tag
    associatedPortalArns List<String>
    The associated portal ARN.
    creationDate String
    The date the session logger resource was created.
    displayName String
    The human-readable display name.
    eventFilter SessionLoggerEventFilter0Properties | SessionLoggerEventFilter1Properties
    The filter that specifies which events to monitor.
    logConfiguration SessionLoggerLogConfiguration
    The configuration that specifies where logs are fowarded.
    sessionLoggerArn String
    The ARN of the session logger resource.
    tags List<Tag>
    associatedPortalArns string[]
    The associated portal ARN.
    creationDate string
    The date the session logger resource was created.
    displayName string
    The human-readable display name.
    eventFilter SessionLoggerEventFilter0Properties | SessionLoggerEventFilter1Properties
    The filter that specifies which events to monitor.
    logConfiguration SessionLoggerLogConfiguration
    The configuration that specifies where logs are fowarded.
    sessionLoggerArn string
    The ARN of the session logger resource.
    tags Tag[]
    associated_portal_arns Sequence[str]
    The associated portal ARN.
    creation_date str
    The date the session logger resource was created.
    display_name str
    The human-readable display name.
    event_filter SessionLoggerEventFilter0Properties | SessionLoggerEventFilter1Properties
    The filter that specifies which events to monitor.
    log_configuration SessionLoggerLogConfiguration
    The configuration that specifies where logs are fowarded.
    session_logger_arn str
    The ARN of the session logger resource.
    tags Sequence[root_Tag]
    associatedPortalArns List<String>
    The associated portal ARN.
    creationDate String
    The date the session logger resource was created.
    displayName String
    The human-readable display name.
    eventFilter Property Map | Property Map
    The filter that specifies which events to monitor.
    logConfiguration Property Map
    The configuration that specifies where logs are fowarded.
    sessionLoggerArn String
    The ARN of the session logger resource.
    tags List<Property Map>

    Supporting Types

    SessionLoggerEvent

    SessionLoggerEventFilter0Properties

    SessionLoggerEventFilter1Properties

    SessionLoggerFolderStructure

    SessionLoggerLogConfiguration

    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

    SessionLoggerS3LogConfiguration

    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

    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