Struct rusoto_fsx::WindowsAuditLogConfiguration
source · [−]pub struct WindowsAuditLogConfiguration {
pub audit_log_destination: Option<String>,
pub file_access_audit_log_level: String,
pub file_share_access_audit_log_level: String,
}
Expand description
The configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system. For more information, see File access auditing.
Fields
audit_log_destination: Option<String>
The Amazon Resource Name (ARN) for the destination of the audit logs. The destination can be any Amazon CloudWatch Logs log group ARN or Amazon Kinesis Data Firehose delivery stream ARN.
The name of the Amazon CloudWatch Logs log group must begin with the /aws/fsx
prefix. The name of the Amazon Kinesis Data Firehouse delivery stream must begin with the aws-fsx
prefix.
The destination ARN (either CloudWatch Logs log group or Kinesis Data Firehose delivery stream) must be in the same AWS partition, AWS region, and AWS account as your Amazon FSx file system.
file_access_audit_log_level: String
Sets which attempt type is logged by Amazon FSx for file and folder accesses.
-
SUCCESSONLY
- only successful attempts to access files or folders are logged. -
FAILUREONLY
- only failed attempts to access files or folders are logged. -
SUCCESSANDFAILURE
- both successful attempts and failed attempts to access files or folders are logged. -
DISABLED
- access auditing of files and folders is turned off.
Sets which attempt type is logged by Amazon FSx for file share accesses.
-
SUCCESSONLY
- only successful attempts to access file shares are logged. -
FAILUREONLY
- only failed attempts to access file shares are logged. -
SUCCESSANDFAILURE
- both successful attempts and failed attempts to access file shares are logged. -
DISABLED
- access auditing of file shares is turned off.
Trait Implementations
sourceimpl Clone for WindowsAuditLogConfiguration
impl Clone for WindowsAuditLogConfiguration
sourcefn clone(&self) -> WindowsAuditLogConfiguration
fn clone(&self) -> WindowsAuditLogConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for WindowsAuditLogConfiguration
impl Debug for WindowsAuditLogConfiguration
sourceimpl Default for WindowsAuditLogConfiguration
impl Default for WindowsAuditLogConfiguration
sourcefn default() -> WindowsAuditLogConfiguration
fn default() -> WindowsAuditLogConfiguration
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for WindowsAuditLogConfiguration
impl<'de> Deserialize<'de> for WindowsAuditLogConfiguration
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<WindowsAuditLogConfiguration> for WindowsAuditLogConfiguration
impl PartialEq<WindowsAuditLogConfiguration> for WindowsAuditLogConfiguration
sourcefn eq(&self, other: &WindowsAuditLogConfiguration) -> bool
fn eq(&self, other: &WindowsAuditLogConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &WindowsAuditLogConfiguration) -> bool
fn ne(&self, other: &WindowsAuditLogConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for WindowsAuditLogConfiguration
Auto Trait Implementations
impl RefUnwindSafe for WindowsAuditLogConfiguration
impl Send for WindowsAuditLogConfiguration
impl Sync for WindowsAuditLogConfiguration
impl Unpin for WindowsAuditLogConfiguration
impl UnwindSafe for WindowsAuditLogConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more