| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::WAFV2::LoggingConfiguration; | ||
| 3 | use Moose; | ||
| 4 | has LogDestinationConfigs => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1); | ||
| 5 | has LoggingFilter => (is => 'ro', isa => 'Paws::WAFV2::LoggingFilter'); | ||
| 6 | has ManagedByFirewallManager => (is => 'ro', isa => 'Bool'); | ||
| 7 | has RedactedFields => (is => 'ro', isa => 'ArrayRef[Paws::WAFV2::FieldToMatch]'); | ||
| 8 | has ResourceArn => (is => 'ro', isa => 'Str', required => 1); | ||
| 9 | |||
| 10 | 1; | ||
| 11 | |||
| 12 | ### main pod documentation begin ### | ||
| 13 | |||
| 14 | =head1 NAME | ||
| 15 | |||
| 16 | Paws::WAFV2::LoggingConfiguration | ||
| 17 | |||
| 18 | =head1 USAGE | ||
| 19 | |||
| 20 | This class represents one of two things: | ||
| 21 | |||
| 22 | =head3 Arguments in a call to a service | ||
| 23 | |||
| 24 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 25 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 26 | |||
| 27 | As an example, if Att1 is expected to be a Paws::WAFV2::LoggingConfiguration object: | ||
| 28 | |||
| 29 | $service_obj->Method(Att1 => { LogDestinationConfigs => $value, ..., ResourceArn => $value }); | ||
| 30 | |||
| 31 | =head3 Results returned from an API call | ||
| 32 | |||
| 33 | Use accessors for each attribute. If Att1 is expected to be an Paws::WAFV2::LoggingConfiguration object: | ||
| 34 | |||
| 35 | $result = $service_obj->Method(...); | ||
| 36 | $result->Att1->LogDestinationConfigs | ||
| 37 | |||
| 38 | =head1 DESCRIPTION | ||
| 39 | |||
| 40 | Defines an association between Amazon Kinesis Data Firehose | ||
| 41 | destinations and a web ACL resource, for logging from WAF. As part of | ||
| 42 | the association, you can specify parts of the standard logging fields | ||
| 43 | to keep out of the logs and you can specify filters so that you log | ||
| 44 | only a subset of the logging records. | ||
| 45 | |||
| 46 | =head1 ATTRIBUTES | ||
| 47 | |||
| 48 | |||
| 49 | =head2 B<REQUIRED> LogDestinationConfigs => ArrayRef[Str|Undef] | ||
| 50 | |||
| 51 | The Amazon Kinesis Data Firehose Amazon Resource Name (ARNs) that you | ||
| 52 | want to associate with the web ACL. | ||
| 53 | |||
| 54 | |||
| 55 | =head2 LoggingFilter => L<Paws::WAFV2::LoggingFilter> | ||
| 56 | |||
| 57 | Filtering that specifies which web requests are kept in the logs and | ||
| 58 | which are dropped. You can filter on the rule action and on the web | ||
| 59 | request labels that were applied by matching rules during web ACL | ||
| 60 | evaluation. | ||
| 61 | |||
| 62 | |||
| 63 | =head2 ManagedByFirewallManager => Bool | ||
| 64 | |||
| 65 | Indicates whether the logging configuration was created by Firewall | ||
| 66 | Manager, as part of an WAF policy configuration. If true, only Firewall | ||
| 67 | Manager can modify or delete the configuration. | ||
| 68 | |||
| 69 | |||
| 70 | =head2 RedactedFields => ArrayRef[L<Paws::WAFV2::FieldToMatch>] | ||
| 71 | |||
| 72 | The parts of the request that you want to keep out of the logs. For | ||
| 73 | example, if you redact the C<HEADER> field, the C<HEADER> field in the | ||
| 74 | firehose will be C<xxx>. | ||
| 75 | |||
| 76 | You must use one of the following values: C<URI>, C<QUERY_STRING>, | ||
| 77 | C<HEADER>, or C<METHOD>. | ||
| 78 | |||
| 79 | |||
| 80 | =head2 B<REQUIRED> ResourceArn => Str | ||
| 81 | |||
| 82 | The Amazon Resource Name (ARN) of the web ACL that you want to | ||
| 83 | associate with C<LogDestinationConfigs>. | ||
| 84 | |||
| 85 | |||
| 86 | |||
| 87 | =head1 SEE ALSO | ||
| 88 | |||
| 89 | This class forms part of L<Paws>, describing an object used in L<Paws::WAFV2> | ||
| 90 | |||
| 91 | =head1 BUGS and CONTRIBUTIONS | ||
| 92 | |||
| 93 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 94 | |||
| 95 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 96 | |||
| 97 | =cut | ||
| 98 |