Interface CfnFileSystem.IAuditLogConfigurationProperty
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.
Namespace: Amazon.CDK.AWS.FSx
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAuditLogConfigurationProperty
Syntax (vb)
Public Interface 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
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. |
Properties
AuditLogDestination
The Amazon Resource Name (ARN) for the destination of the audit logs.
virtual string AuditLogDestination { get; }
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.
string FileAccessAuditLogLevel { get; }
Property Value
System.
Remarks
FileShareAccessAuditLogLevel
Sets which attempt type is logged by Amazon FSx for file share accesses.
string FileShareAccessAuditLogLevel { get; }
Property Value
System.