« blib/lib/Paws/FSX/UpdateFileSystemWindowsConfiguration.pm
↑ Summary
blib/lib/Paws/FSX/WindowsAuditLogCreateConfiguration.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::FSX::WindowsAuditLogConfiguration; | ||
| 3 | use Moose; | ||
| 4 | has AuditLogDestination => (is => 'ro', isa => 'Str'); | ||
| 5 | has FileAccessAuditLogLevel => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has FileShareAccessAuditLogLevel => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::FSX::WindowsAuditLogConfiguration | ||
| 15 | |||
| 16 | =head1 USAGE | ||
| 17 | |||
| 18 | This class represents one of two things: | ||
| 19 | |||
| 20 | =head3 Arguments in a call to a service | ||
| 21 | |||
| 22 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 23 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 24 | |||
| 25 | As an example, if Att1 is expected to be a Paws::FSX::WindowsAuditLogConfiguration object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { AuditLogDestination => $value, ..., FileShareAccessAuditLogLevel => $value }); | ||
| 28 | |||
| 29 | =head3 Results returned from an API call | ||
| 30 | |||
| 31 | Use accessors for each attribute. If Att1 is expected to be an Paws::FSX::WindowsAuditLogConfiguration object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->AuditLogDestination | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | The configuration that Amazon FSx for Windows File Server uses to audit | ||
| 39 | and log user accesses of files, folders, and file shares on the Amazon | ||
| 40 | FSx for Windows File Server file system. For more information, see File | ||
| 41 | access auditing | ||
| 42 | (https://docs.aws.amazon.com/fsx/latest/WindowsGuide/file-access-auditing.html). | ||
| 43 | |||
| 44 | =head1 ATTRIBUTES | ||
| 45 | |||
| 46 | |||
| 47 | =head2 AuditLogDestination => Str | ||
| 48 | |||
| 49 | The Amazon Resource Name (ARN) for the destination of the audit logs. | ||
| 50 | The destination can be any Amazon CloudWatch Logs log group ARN or | ||
| 51 | Amazon Kinesis Data Firehose delivery stream ARN. | ||
| 52 | |||
| 53 | The name of the Amazon CloudWatch Logs log group must begin with the | ||
| 54 | C</aws/fsx> prefix. The name of the Amazon Kinesis Data Firehouse | ||
| 55 | delivery stream must begin with the C<aws-fsx> prefix. | ||
| 56 | |||
| 57 | The destination ARN (either CloudWatch Logs log group or Kinesis Data | ||
| 58 | Firehose delivery stream) must be in the same AWS partition, AWS | ||
| 59 | region, and AWS account as your Amazon FSx file system. | ||
| 60 | |||
| 61 | |||
| 62 | =head2 B<REQUIRED> FileAccessAuditLogLevel => Str | ||
| 63 | |||
| 64 | Sets which attempt type is logged by Amazon FSx for file and folder | ||
| 65 | accesses. | ||
| 66 | |||
| 67 | =over | ||
| 68 | |||
| 69 | =item * | ||
| 70 | |||
| 71 | C<SUCCESS_ONLY> - only successful attempts to access files or folders | ||
| 72 | are logged. | ||
| 73 | |||
| 74 | =item * | ||
| 75 | |||
| 76 | C<FAILURE_ONLY> - only failed attempts to access files or folders are | ||
| 77 | logged. | ||
| 78 | |||
| 79 | =item * | ||
| 80 | |||
| 81 | C<SUCCESS_AND_FAILURE> - both successful attempts and failed attempts | ||
| 82 | to access files or folders are logged. | ||
| 83 | |||
| 84 | =item * | ||
| 85 | |||
| 86 | C<DISABLED> - access auditing of files and folders is turned off. | ||
| 87 | |||
| 88 | =back | ||
| 89 | |||
| 90 | |||
| 91 | |||
| 92 | =head2 B<REQUIRED> FileShareAccessAuditLogLevel => Str | ||
| 93 | |||
| 94 | Sets which attempt type is logged by Amazon FSx for file share | ||
| 95 | accesses. | ||
| 96 | |||
| 97 | =over | ||
| 98 | |||
| 99 | =item * | ||
| 100 | |||
| 101 | C<SUCCESS_ONLY> - only successful attempts to access file shares are | ||
| 102 | logged. | ||
| 103 | |||
| 104 | =item * | ||
| 105 | |||
| 106 | C<FAILURE_ONLY> - only failed attempts to access file shares are | ||
| 107 | logged. | ||
| 108 | |||
| 109 | =item * | ||
| 110 | |||
| 111 | C<SUCCESS_AND_FAILURE> - both successful attempts and failed attempts | ||
| 112 | to access file shares are logged. | ||
| 113 | |||
| 114 | =item * | ||
| 115 | |||
| 116 | C<DISABLED> - access auditing of file shares is turned off. | ||
| 117 | |||
| 118 | =back | ||
| 119 | |||
| 120 | |||
| 121 | |||
| 122 | |||
| 123 | =head1 SEE ALSO | ||
| 124 | |||
| 125 | This class forms part of L<Paws>, describing an object used in L<Paws::FSX> | ||
| 126 | |||
| 127 | =head1 BUGS and CONTRIBUTIONS | ||
| 128 | |||
| 129 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 130 | |||
| 131 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 132 | |||
| 133 | =cut | ||
| 134 |