#[non_exhaustive]pub struct MonitoringConfiguration {
pub configuration_type: ConfigurationType,
pub metrics_level: Option<MetricsLevel>,
pub log_level: Option<LogLevel>,
}Expand description
Describes configuration parameters for Amazon CloudWatch logging for an application. For more information about CloudWatch logging, see Monitoring.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.configuration_type: ConfigurationTypeDescribes whether to use the default CloudWatch logging configuration for an application. You must set this property to CUSTOM in order to set the LogLevel or MetricsLevel parameters.
metrics_level: Option<MetricsLevel>Describes the granularity of the CloudWatch Logs for an application. The Parallelism level is not recommended for applications with a Parallelism over 64 due to excessive costs.
log_level: Option<LogLevel>Describes the verbosity of the CloudWatch Logs for an application.
Implementations§
source§impl MonitoringConfiguration
impl MonitoringConfiguration
sourcepub fn configuration_type(&self) -> &ConfigurationType
pub fn configuration_type(&self) -> &ConfigurationType
Describes whether to use the default CloudWatch logging configuration for an application. You must set this property to CUSTOM in order to set the LogLevel or MetricsLevel parameters.
sourcepub fn metrics_level(&self) -> Option<&MetricsLevel>
pub fn metrics_level(&self) -> Option<&MetricsLevel>
Describes the granularity of the CloudWatch Logs for an application. The Parallelism level is not recommended for applications with a Parallelism over 64 due to excessive costs.
source§impl MonitoringConfiguration
impl MonitoringConfiguration
sourcepub fn builder() -> MonitoringConfigurationBuilder
pub fn builder() -> MonitoringConfigurationBuilder
Creates a new builder-style object to manufacture MonitoringConfiguration.
Trait Implementations§
source§impl Clone for MonitoringConfiguration
impl Clone for MonitoringConfiguration
source§fn clone(&self) -> MonitoringConfiguration
fn clone(&self) -> MonitoringConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for MonitoringConfiguration
impl Debug for MonitoringConfiguration
source§impl PartialEq for MonitoringConfiguration
impl PartialEq for MonitoringConfiguration
source§fn eq(&self, other: &MonitoringConfiguration) -> bool
fn eq(&self, other: &MonitoringConfiguration) -> bool
self and other values to be equal, and is used
by ==.