#[non_exhaustive]pub struct CloudwatchLogsExportConfiguration {
pub enable_log_types: Option<Vec<String>>,
pub disable_log_types: Option<Vec<String>>,
}
Expand description
The configuration setting for the log types to be enabled for export to Amazon CloudWatch Logs for a specific instance or cluster.
The EnableLogTypes
and DisableLogTypes
arrays determine which logs are exported (or not exported) to CloudWatch Logs. The values within these arrays depend on the engine that is being used.
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.enable_log_types: Option<Vec<String>>
The list of log types to enable.
disable_log_types: Option<Vec<String>>
The list of log types to disable.
Implementations§
source§impl CloudwatchLogsExportConfiguration
impl CloudwatchLogsExportConfiguration
sourcepub fn enable_log_types(&self) -> &[String]
pub fn enable_log_types(&self) -> &[String]
The list of log types to enable.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .enable_log_types.is_none()
.
sourcepub fn disable_log_types(&self) -> &[String]
pub fn disable_log_types(&self) -> &[String]
The list of log types to disable.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .disable_log_types.is_none()
.
source§impl CloudwatchLogsExportConfiguration
impl CloudwatchLogsExportConfiguration
sourcepub fn builder() -> CloudwatchLogsExportConfigurationBuilder
pub fn builder() -> CloudwatchLogsExportConfigurationBuilder
Creates a new builder-style object to manufacture CloudwatchLogsExportConfiguration
.
Trait Implementations§
source§impl Clone for CloudwatchLogsExportConfiguration
impl Clone for CloudwatchLogsExportConfiguration
source§fn clone(&self) -> CloudwatchLogsExportConfiguration
fn clone(&self) -> CloudwatchLogsExportConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CloudwatchLogsExportConfiguration
impl PartialEq for CloudwatchLogsExportConfiguration
source§fn eq(&self, other: &CloudwatchLogsExportConfiguration) -> bool
fn eq(&self, other: &CloudwatchLogsExportConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.