Interface LoggingConfig.Builder

  • Method Details

    • logGroup

      LoggingConfig.Builder logGroup(String logGroup)

      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.

      Parameters:
      logGroup - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • applicationLogLevel

      LoggingConfig.Builder applicationLogLevel(String 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • applicationLogLevel

      LoggingConfig.Builder applicationLogLevel(ApplicationLogLevel 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • systemLogLevel

      LoggingConfig.Builder systemLogLevel(String 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • systemLogLevel

      LoggingConfig.Builder systemLogLevel(SystemLogLevel 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: