| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::WAFV2::RegexPatternSetReferenceStatement; | ||
| 3 | use Moose; | ||
| 4 | has ARN => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has FieldToMatch => (is => 'ro', isa => 'Paws::WAFV2::FieldToMatch', required => 1); | ||
| 6 | has TextTransformations => (is => 'ro', isa => 'ArrayRef[Paws::WAFV2::TextTransformation]', required => 1); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::WAFV2::RegexPatternSetReferenceStatement | ||
| 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::WAFV2::RegexPatternSetReferenceStatement object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { ARN => $value, ..., TextTransformations => $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::WAFV2::RegexPatternSetReferenceStatement object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->ARN | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | A rule statement used to search web request components for matches with | ||
| 39 | regular expressions. To use this, create a RegexPatternSet that | ||
| 40 | specifies the expressions that you want to detect, then use the ARN of | ||
| 41 | that set in this statement. A web request matches the pattern set rule | ||
| 42 | statement if the request component matches any of the patterns in the | ||
| 43 | set. To create a regex pattern set, see CreateRegexPatternSet. | ||
| 44 | |||
| 45 | Each regex pattern set rule statement references a regex pattern set. | ||
| 46 | You create and maintain the set independent of your rules. This allows | ||
| 47 | you to use the single set in multiple rules. When you update the | ||
| 48 | referenced set, WAF automatically updates all rules that reference it. | ||
| 49 | |||
| 50 | =head1 ATTRIBUTES | ||
| 51 | |||
| 52 | |||
| 53 | =head2 B<REQUIRED> ARN => Str | ||
| 54 | |||
| 55 | The Amazon Resource Name (ARN) of the RegexPatternSet that this | ||
| 56 | statement references. | ||
| 57 | |||
| 58 | |||
| 59 | =head2 B<REQUIRED> FieldToMatch => L<Paws::WAFV2::FieldToMatch> | ||
| 60 | |||
| 61 | The part of a web request that you want WAF to inspect. For more | ||
| 62 | information, see FieldToMatch. | ||
| 63 | |||
| 64 | |||
| 65 | =head2 B<REQUIRED> TextTransformations => ArrayRef[L<Paws::WAFV2::TextTransformation>] | ||
| 66 | |||
| 67 | Text transformations eliminate some of the unusual formatting that | ||
| 68 | attackers use in web requests in an effort to bypass detection. If you | ||
| 69 | specify one or more transformations in a rule statement, WAF performs | ||
| 70 | all transformations on the content of the request component identified | ||
| 71 | by C<FieldToMatch>, starting from the lowest priority setting, before | ||
| 72 | inspecting the content for a match. | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head1 SEE ALSO | ||
| 77 | |||
| 78 | This class forms part of L<Paws>, describing an object used in L<Paws::WAFV2> | ||
| 79 | |||
| 80 | =head1 BUGS and CONTRIBUTIONS | ||
| 81 | |||
| 82 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 83 | |||
| 84 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 85 | |||
| 86 | =cut | ||
| 87 |