LoggingConfigArgs

data class LoggingConfigArgs(val applicationLogLevel: Output<Either<String, LoggingConfigApplicationLogLevel>>? = null, val failureFeedbackRoleArn: Output<String>? = null, val logFormat: Output<Either<String, LoggingConfigLogFormat>>? = null, val logGroup: Output<String>? = null, val protocol: Output<Either<String, LoggingConfigProtocol>>? = null, val successFeedbackRoleArn: Output<String>? = null, val successFeedbackSampleRate: Output<String>? = null, val systemLogLevel: Output<Either<String, LoggingConfigSystemLogLevel>>? = null) : ConvertibleToJava<LoggingConfigArgs>

Definition of LoggingConfig

Constructors

Link copied to clipboard
constructor(applicationLogLevel: Output<Either<String, LoggingConfigApplicationLogLevel>>? = null, failureFeedbackRoleArn: Output<String>? = null, logFormat: Output<Either<String, LoggingConfigLogFormat>>? = null, logGroup: Output<String>? = null, protocol: Output<Either<String, LoggingConfigProtocol>>? = null, successFeedbackRoleArn: Output<String>? = null, successFeedbackSampleRate: Output<String>? = null, systemLogLevel: Output<Either<String, LoggingConfigSystemLogLevel>>? = null)

Properties

Link copied to clipboard

Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where `TRACE` is the highest level and `FATAL` is the lowest.

Link copied to clipboard
val failureFeedbackRoleArn: Output<String>? = null

Property failureFeedbackRoleArn

Link copied to clipboard
val logFormat: Output<Either<String, LoggingConfigLogFormat>>? = null

The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.

Link copied to clipboard
val logGroup: Output<String>? = null

The name of the Amazon CloudWatch log group the function sends logs to. By default, Lambda functions send logs to a default log group named `/aws/lambda/<function name>`. To use a different log group, enter an existing log group or enter a new log group name.

Link copied to clipboard
val protocol: Output<Either<String, LoggingConfigProtocol>>? = null

Property protocol

Link copied to clipboard
val successFeedbackRoleArn: Output<String>? = null

Property successFeedbackRoleArn

Link copied to clipboard
val successFeedbackSampleRate: Output<String>? = null

Property successFeedbackSampleRate

Link copied to clipboard
val systemLogLevel: Output<Either<String, LoggingConfigSystemLogLevel>>? = null

Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where `DEBUG` is the highest level and `WARN` is the lowest.

Functions

Link copied to clipboard
open override fun toJava(): LoggingConfigArgs