class Amazonite::Lambda::EventSourceMappingLoggingConfig

Overview

(Amazon MSK, and self-managed Apache Kafka only) The logging configuration for your event source. Use this configuration object to define the level of logs for your event source mapping.

Included Modules

Defined in:

lambda/event_source_mapping_logging_config.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(system_log_level : EventSourceMappingSystemLogLevel | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def system_log_level : EventSourceMappingSystemLogLevel | Nil #

The log level you want your event source mapping to use. Lambda event poller only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest. For more information about these metrics, see Event source mapping logging.


[View source]
def system_log_level=(system_log_level : EventSourceMappingSystemLogLevel | Nil) #

The log level you want your event source mapping to use. Lambda event poller only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest. For more information about these metrics, see Event source mapping logging.


[View source]
def validate! : Nil #

[View source]