#[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 ==.impl StructuralPartialEq for CloudwatchLogsExportConfiguration
Auto Trait Implementations§
impl Freeze for CloudwatchLogsExportConfiguration
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more