Struct aws_sdk_fsx::types::WindowsAuditLogConfiguration
source · #[non_exhaustive]pub struct WindowsAuditLogConfiguration {
pub file_access_audit_log_level: Option<WindowsAccessAuditLogLevel>,
pub file_share_access_audit_log_level: Option<WindowsAccessAuditLogLevel>,
pub audit_log_destination: Option<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 (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.file_access_audit_log_level: Option<WindowsAccessAuditLogLevel>
Sets which attempt type is logged by Amazon FSx for file and folder accesses.
-
SUCCESS_ONLY
- only successful attempts to access files or folders are logged. -
FAILURE_ONLY
- only failed attempts to access files or folders are logged. -
SUCCESS_AND_FAILURE
- 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.
-
SUCCESS_ONLY
- only successful attempts to access file shares are logged. -
FAILURE_ONLY
- only failed attempts to access file shares are logged. -
SUCCESS_AND_FAILURE
- both successful attempts and failed attempts to access file shares are logged. -
DISABLED
- access auditing of file shares is turned off.
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 Firehose 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 Amazon Web Services partition, Amazon Web Services Region, and Amazon Web Services account as your Amazon FSx file system.
Implementations§
source§impl WindowsAuditLogConfiguration
impl WindowsAuditLogConfiguration
sourcepub fn file_access_audit_log_level(&self) -> Option<&WindowsAccessAuditLogLevel>
pub fn file_access_audit_log_level(&self) -> Option<&WindowsAccessAuditLogLevel>
Sets which attempt type is logged by Amazon FSx for file and folder accesses.
-
SUCCESS_ONLY
- only successful attempts to access files or folders are logged. -
FAILURE_ONLY
- only failed attempts to access files or folders are logged. -
SUCCESS_AND_FAILURE
- 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.
-
SUCCESS_ONLY
- only successful attempts to access file shares are logged. -
FAILURE_ONLY
- only failed attempts to access file shares are logged. -
SUCCESS_AND_FAILURE
- both successful attempts and failed attempts to access file shares are logged. -
DISABLED
- access auditing of file shares is turned off.
sourcepub fn audit_log_destination(&self) -> Option<&str>
pub fn audit_log_destination(&self) -> Option<&str>
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 Firehose 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 Amazon Web Services partition, Amazon Web Services Region, and Amazon Web Services account as your Amazon FSx file system.
source§impl WindowsAuditLogConfiguration
impl WindowsAuditLogConfiguration
sourcepub fn builder() -> WindowsAuditLogConfigurationBuilder
pub fn builder() -> WindowsAuditLogConfigurationBuilder
Creates a new builder-style object to manufacture WindowsAuditLogConfiguration
.
Trait Implementations§
source§impl Clone for WindowsAuditLogConfiguration
impl Clone for WindowsAuditLogConfiguration
source§fn clone(&self) -> WindowsAuditLogConfiguration
fn clone(&self) -> WindowsAuditLogConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WindowsAuditLogConfiguration
impl Debug for WindowsAuditLogConfiguration
source§impl PartialEq for WindowsAuditLogConfiguration
impl PartialEq for WindowsAuditLogConfiguration
source§fn eq(&self, other: &WindowsAuditLogConfiguration) -> bool
fn eq(&self, other: &WindowsAuditLogConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WindowsAuditLogConfiguration
Auto Trait Implementations§
impl Freeze for WindowsAuditLogConfiguration
impl RefUnwindSafe for WindowsAuditLogConfiguration
impl Send for WindowsAuditLogConfiguration
impl Sync for WindowsAuditLogConfiguration
impl Unpin for WindowsAuditLogConfiguration
impl UnwindSafe for WindowsAuditLogConfiguration
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> 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