Struct aws_sdk_fsx::types::LustreLogConfiguration
source · #[non_exhaustive]pub struct LustreLogConfiguration {
pub level: Option<LustreAccessAuditLogLevel>,
pub destination: Option<String>,
}
Expand description
The configuration for Lustre logging used to write the enabled logging events for your Amazon FSx for Lustre file system or Amazon File Cache resource to Amazon CloudWatch Logs.
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.level: Option<LustreAccessAuditLogLevel>
The data repository events that are logged by Amazon FSx.
-
WARN_ONLY
- only warning events are logged. -
ERROR_ONLY
- only error events are logged. -
WARN_ERROR
- both warning events and error events are logged. -
DISABLED
- logging of data repository events is turned off.
Note that Amazon File Cache uses a default setting of WARN_ERROR
, which can't be changed.
destination: Option<String>
The Amazon Resource Name (ARN) that specifies the destination of the logs. The destination can be any Amazon CloudWatch Logs log group ARN. The destination ARN must be in the same Amazon Web Services partition, Amazon Web Services Region, and Amazon Web Services account as your Amazon FSx file system.
Implementations§
source§impl LustreLogConfiguration
impl LustreLogConfiguration
sourcepub fn level(&self) -> Option<&LustreAccessAuditLogLevel>
pub fn level(&self) -> Option<&LustreAccessAuditLogLevel>
The data repository events that are logged by Amazon FSx.
-
WARN_ONLY
- only warning events are logged. -
ERROR_ONLY
- only error events are logged. -
WARN_ERROR
- both warning events and error events are logged. -
DISABLED
- logging of data repository events is turned off.
Note that Amazon File Cache uses a default setting of WARN_ERROR
, which can't be changed.
sourcepub fn destination(&self) -> Option<&str>
pub fn destination(&self) -> Option<&str>
The Amazon Resource Name (ARN) that specifies the destination of the logs. The destination can be any Amazon CloudWatch Logs log group ARN. The destination ARN must be in the same Amazon Web Services partition, Amazon Web Services Region, and Amazon Web Services account as your Amazon FSx file system.
source§impl LustreLogConfiguration
impl LustreLogConfiguration
sourcepub fn builder() -> LustreLogConfigurationBuilder
pub fn builder() -> LustreLogConfigurationBuilder
Creates a new builder-style object to manufacture LustreLogConfiguration
.
Trait Implementations§
source§impl Clone for LustreLogConfiguration
impl Clone for LustreLogConfiguration
source§fn clone(&self) -> LustreLogConfiguration
fn clone(&self) -> LustreLogConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LustreLogConfiguration
impl Debug for LustreLogConfiguration
source§impl PartialEq for LustreLogConfiguration
impl PartialEq for LustreLogConfiguration
source§fn eq(&self, other: &LustreLogConfiguration) -> bool
fn eq(&self, other: &LustreLogConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.