Skip to content

LoggingConfig

Source code in docs_src/capo_lambda_web/types/logging_config.py
class LoggingConfig(TypedDict, closed=True):
    log_group: NotRequired["str"]
    """<p>The name of the Amazon CloudWatch Logs log group the web function sends logs to. If you don't specify a value, the default is <code>/aws/lambda/web/{functionName}</code>, and this default is returned in the response.</p>"""
    application_log_level: NotRequired[
        "capo_lambda_web.types.application_log_level.ApplicationLogLevel"
    ]
    """<p>The log level for application logs emitted by the web function. If you don't specify a value, the default is <code>INFO</code>, and this default is returned in the response.</p>"""
    system_log_level: NotRequired[
        "capo_lambda_web.types.system_log_level.SystemLogLevel"
    ]
    """<p>The log level for system logs emitted by the Lambda runtime. If you don't specify a value, the default is <code>INFO</code>, and this default is returned in the response.</p>"""

application_log_level instance-attribute

application_log_level: NotRequired[ApplicationLogLevel]

The log level for application logs emitted by the web function. If you don't specify a value, the default is INFO, and this default is returned in the response.

log_group instance-attribute

log_group: NotRequired[str]

The name of the Amazon CloudWatch Logs log group the web function sends logs to. If you don't specify a value, the default is /aws/lambda/web/{functionName}, and this default is returned in the response.

system_log_level instance-attribute

system_log_level: NotRequired[SystemLogLevel]

The log level for system logs emitted by the Lambda runtime. If you don't specify a value, the default is INFO, and this default is returned in the response.