Class CfnFileSystem.AuditLogConfigurationProperty
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.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.FSx
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AuditLogConfigurationProperty : Object, CfnFileSystem.IAuditLogConfigurationProperty
Syntax (vb)
Public Class AuditLogConfigurationProperty
Inherits Object
Implements CfnFileSystem.IAuditLogConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.FSx;
var auditLogConfigurationProperty = new AuditLogConfigurationProperty {
FileAccessAuditLogLevel = "fileAccessAuditLogLevel",
FileShareAccessAuditLogLevel = "fileShareAccessAuditLogLevel",
// the properties below are optional
AuditLogDestination = "auditLogDestination"
};
Synopsis
Constructors
Audit |
Properties
Audit |
The Amazon Resource Name (ARN) for the destination of the audit logs. |
File |
Sets which attempt type is logged by Amazon FSx for file and folder accesses. |
File |
Sets which attempt type is logged by Amazon FSx for file share accesses. |
Constructors
AuditLogConfigurationProperty()
public AuditLogConfigurationProperty()
Properties
AuditLogDestination
The Amazon Resource Name (ARN) for the destination of the audit logs.
public string AuditLogDestination { get; set; }
Property Value
System.
Remarks
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 AWS partition, AWS Region , and AWS account as your Amazon FSx file system.
FileAccessAuditLogLevel
Sets which attempt type is logged by Amazon FSx for file and folder accesses.
public string FileAccessAuditLogLevel { get; set; }
Property Value
System.
Remarks
FileShareAccessAuditLogLevel
Sets which attempt type is logged by Amazon FSx for file share accesses.
public string FileShareAccessAuditLogLevel { get; set; }
Property Value
System.