Class: AWSCDK::Lambda::CfnEventSourceMapping::LoggingConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Lambda::CfnEventSourceMapping::LoggingConfigProperty
- Defined in:
- lambda/cfn_event_source_mapping.rb
Overview
The function's Amazon CloudWatch Logs configuration settings.
Instance Attribute Summary collapse
-
#system_log_level ⇒ String?
readonly
Set this property to filter the system logs for your function that Lambda sends to CloudWatch.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(system_log_level: nil) ⇒ LoggingConfigProperty
constructor
A new instance of LoggingConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(system_log_level: nil) ⇒ LoggingConfigProperty
Returns a new instance of LoggingConfigProperty.
1140 1141 1142 1143 |
# File 'lambda/cfn_event_source_mapping.rb', line 1140 def initialize(system_log_level: nil) @system_log_level = system_log_level Jsii::Type.check_type(@system_log_level, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "systemLogLevel") unless @system_log_level.nil? end |
Instance Attribute Details
#system_log_level ⇒ String? (readonly)
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.
1151 1152 1153 |
# File 'lambda/cfn_event_source_mapping.rb', line 1151 def system_log_level @system_log_level end |
Class Method Details
.jsii_properties ⇒ Object
1153 1154 1155 1156 1157 |
# File 'lambda/cfn_event_source_mapping.rb', line 1153 def self.jsii_properties { :system_log_level => "systemLogLevel", } end |
Instance Method Details
#to_jsii ⇒ Object
1159 1160 1161 1162 1163 1164 1165 |
# File 'lambda/cfn_event_source_mapping.rb', line 1159 def to_jsii result = {} result.merge!({ "systemLogLevel" => @system_log_level, }) result.compact end |