@Stability(value=Stable) public static final class CfnFileSystem.AuditLogConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnFileSystem.AuditLogConfigurationProperty>
CfnFileSystem.AuditLogConfigurationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnFileSystem.AuditLogConfigurationProperty.Builder |
auditLogDestination(String auditLogDestination)
Sets the value of
CfnFileSystem.AuditLogConfigurationProperty.getAuditLogDestination() |
CfnFileSystem.AuditLogConfigurationProperty |
build()
Builds the configured instance.
|
CfnFileSystem.AuditLogConfigurationProperty.Builder |
fileAccessAuditLogLevel(String fileAccessAuditLogLevel)
Sets the value of
CfnFileSystem.AuditLogConfigurationProperty.getFileAccessAuditLogLevel() |
CfnFileSystem.AuditLogConfigurationProperty.Builder |
fileShareAccessAuditLogLevel(String fileShareAccessAuditLogLevel)
|
@Stability(value=Stable) public CfnFileSystem.AuditLogConfigurationProperty.Builder fileAccessAuditLogLevel(String fileAccessAuditLogLevel)
CfnFileSystem.AuditLogConfigurationProperty.getFileAccessAuditLogLevel()fileAccessAuditLogLevel - Sets which attempt type is logged by Amazon FSx for file and folder accesses. This parameter is required.
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.this@Stability(value=Stable) public CfnFileSystem.AuditLogConfigurationProperty.Builder fileShareAccessAuditLogLevel(String fileShareAccessAuditLogLevel)
fileShareAccessAuditLogLevel - Sets which attempt type is logged by Amazon FSx for file share accesses. This parameter is required.
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.this@Stability(value=Stable) public CfnFileSystem.AuditLogConfigurationProperty.Builder auditLogDestination(String auditLogDestination)
CfnFileSystem.AuditLogConfigurationProperty.getAuditLogDestination()auditLogDestination - 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 Firehouse 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.
this@Stability(value=Stable) public CfnFileSystem.AuditLogConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnFileSystem.AuditLogConfigurationProperty>CfnFileSystem.AuditLogConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.