pub struct WindowsAuditLogCreateConfiguration {
pub audit_log_destination: Option<String>,
pub file_access_audit_log_level: String,
pub file_share_access_audit_log_level: String,
}
Expand description
The Windows file access auditing configuration used when creating or updating an Amazon FSx for Windows File Server file system.
Fields
audit_log_destination: Option<String>
The Amazon Resource Name (ARN) that specifies 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, with the following requirements:
-
The destination ARN that you provide (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.
-
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 theaws-fsx
prefix. -
If you do not provide a destination in
AuditLogDestination
, Amazon FSx will create and use a log stream in the CloudWatch Logs/aws/fsx/windows
log group. -
If
AuditLogDestination
is provided and the resource does not exist, the request will fail with aBadRequest
error. -
If
FileAccessAuditLogLevel
andFileShareAccessAuditLogLevel
are both set toDISABLED
, you cannot specify a destination inAuditLogDestination
.
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 WindowsAuditLogCreateConfiguration
impl Clone for WindowsAuditLogCreateConfiguration
sourcefn clone(&self) -> WindowsAuditLogCreateConfiguration
fn clone(&self) -> WindowsAuditLogCreateConfiguration
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 Default for WindowsAuditLogCreateConfiguration
impl Default for WindowsAuditLogCreateConfiguration
sourcefn default() -> WindowsAuditLogCreateConfiguration
fn default() -> WindowsAuditLogCreateConfiguration
Returns the “default value” for a type. Read more
sourceimpl PartialEq<WindowsAuditLogCreateConfiguration> for WindowsAuditLogCreateConfiguration
impl PartialEq<WindowsAuditLogCreateConfiguration> for WindowsAuditLogCreateConfiguration
sourcefn eq(&self, other: &WindowsAuditLogCreateConfiguration) -> bool
fn eq(&self, other: &WindowsAuditLogCreateConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &WindowsAuditLogCreateConfiguration) -> bool
fn ne(&self, other: &WindowsAuditLogCreateConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for WindowsAuditLogCreateConfiguration
Auto Trait Implementations
impl RefUnwindSafe for WindowsAuditLogCreateConfiguration
impl Send for WindowsAuditLogCreateConfiguration
impl Sync for WindowsAuditLogCreateConfiguration
impl Unpin for WindowsAuditLogCreateConfiguration
impl UnwindSafe for WindowsAuditLogCreateConfiguration
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