(&self)
| 149 | } |
| 150 | |
| 151 | pub fn tracing_config(&self) -> Option<TracingConfig> { |
| 152 | let tracing = self.function_config.tracing.clone()?; |
| 153 | |
| 154 | Some( |
| 155 | TracingConfig::builder() |
| 156 | .mode(tracing.as_str().into()) |
| 157 | .build(), |
| 158 | ) |
| 159 | } |
| 160 | |
| 161 | pub fn lambda_tags(&self) -> Option<HashMap<String, String>> { |
| 162 | match &self.tag { |
no test coverage detected