#[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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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) -> Option<&[String]>
pub fn enable_log_types(&self) -> Option<&[String]>
The list of log types to enable.
sourcepub fn disable_log_types(&self) -> Option<&[String]>
pub fn disable_log_types(&self) -> Option<&[String]>
The list of log types to disable.
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<CloudwatchLogsExportConfiguration> for CloudwatchLogsExportConfiguration
impl PartialEq<CloudwatchLogsExportConfiguration> for CloudwatchLogsExportConfiguration
source§fn eq(&self, other: &CloudwatchLogsExportConfiguration) -> bool
fn eq(&self, other: &CloudwatchLogsExportConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CloudwatchLogsExportConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for CloudwatchLogsExportConfiguration
impl Send for CloudwatchLogsExportConfiguration
impl Sync for CloudwatchLogsExportConfiguration
impl Unpin for CloudwatchLogsExportConfiguration
impl UnwindSafe for CloudwatchLogsExportConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more