#[non_exhaustive]pub struct WindowsAuditLogConfigurationBuilder { /* private fields */ }
Expand description
A builder for WindowsAuditLogConfiguration
.
Implementations§
source§impl WindowsAuditLogConfigurationBuilder
impl WindowsAuditLogConfigurationBuilder
sourcepub fn file_access_audit_log_level(
self,
input: WindowsAccessAuditLogLevel
) -> Self
pub fn file_access_audit_log_level( self, input: WindowsAccessAuditLogLevel ) -> Self
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.
sourcepub fn set_file_access_audit_log_level(
self,
input: Option<WindowsAccessAuditLogLevel>
) -> Self
pub fn set_file_access_audit_log_level( self, input: Option<WindowsAccessAuditLogLevel> ) -> Self
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.
sourcepub fn get_file_access_audit_log_level(
&self
) -> &Option<WindowsAccessAuditLogLevel>
pub fn get_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.
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.
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, input: impl Into<String>) -> Self
pub fn audit_log_destination(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_audit_log_destination(self, input: Option<String>) -> Self
pub fn set_audit_log_destination(self, input: Option<String>) -> Self
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.
sourcepub fn get_audit_log_destination(&self) -> &Option<String>
pub fn get_audit_log_destination(&self) -> &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.
sourcepub fn build(self) -> WindowsAuditLogConfiguration
pub fn build(self) -> WindowsAuditLogConfiguration
Consumes the builder and constructs a WindowsAuditLogConfiguration
.
Trait Implementations§
source§impl Clone for WindowsAuditLogConfigurationBuilder
impl Clone for WindowsAuditLogConfigurationBuilder
source§fn clone(&self) -> WindowsAuditLogConfigurationBuilder
fn clone(&self) -> WindowsAuditLogConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for WindowsAuditLogConfigurationBuilder
impl Default for WindowsAuditLogConfigurationBuilder
source§fn default() -> WindowsAuditLogConfigurationBuilder
fn default() -> WindowsAuditLogConfigurationBuilder
source§impl PartialEq for WindowsAuditLogConfigurationBuilder
impl PartialEq for WindowsAuditLogConfigurationBuilder
source§fn eq(&self, other: &WindowsAuditLogConfigurationBuilder) -> bool
fn eq(&self, other: &WindowsAuditLogConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.