blib/lib/Paws/WAFV2/FirewallManagerRuleGroup.pm untested

filter: Statementstmt 0.0% 0 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 9 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::WAFV2::FirewallManagerRuleGroup;
3 use Moose;
4 has FirewallManagerStatement => (is => 'ro', isa => 'Paws::WAFV2::FirewallManagerStatement', required => 1);
5 has Name => (is => 'ro', isa => 'Str', required => 1);
6 has OverrideAction => (is => 'ro', isa => 'Paws::WAFV2::OverrideAction', required => 1);
7 has Priority => (is => 'ro', isa => 'Int', required => 1);
8 has VisibilityConfig => (is => 'ro', isa => 'Paws::WAFV2::VisibilityConfig', required => 1);
9  
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::WAFV2::FirewallManagerRuleGroup
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::FirewallManagerRuleGroup object:
28  
29 $service_obj->Method(Att1 => { FirewallManagerStatement => $value, ..., VisibilityConfig => $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::FirewallManagerRuleGroup object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->FirewallManagerStatement
37  
38 =head1 DESCRIPTION
39  
40 A rule group that's defined for an Firewall Manager WAF policy.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 B<REQUIRED> FirewallManagerStatement => L<Paws::WAFV2::FirewallManagerStatement>
46  
47 The processing guidance for an Firewall Manager rule. This is like a
48 regular rule Statement, but it can only contain a rule group reference.
49  
50  
51 =head2 B<REQUIRED> Name => Str
52  
53 The name of the rule group. You cannot change the name of a rule group
54 after you create it.
55  
56  
57 =head2 B<REQUIRED> OverrideAction => L<Paws::WAFV2::OverrideAction>
58  
59 The override action to apply to the rules in a rule group. Used only
60 for rule statements that reference a rule group, like
61 C<RuleGroupReferenceStatement> and C<ManagedRuleGroupStatement>.
62  
63 Set the override action to none to leave the rule actions in effect.
64 Set it to count to only count matches, regardless of the rule action
65 settings.
66  
67 In a Rule, you must specify either this C<OverrideAction> setting or
68 the rule C<Action> setting, but not both:
69  
70 =over
71  
72 =item *
73  
74 If the rule statement references a rule group, use this override action
75 setting and not the action setting.
76  
77 =item *
78  
79 If the rule statement does not reference a rule group, use the rule
80 action setting and not this rule override action setting.
81  
82 =back
83  
84  
85  
86 =head2 B<REQUIRED> Priority => Int
87  
88 If you define more than one rule group in the first or last Firewall
89 Manager rule groups, WAF evaluates each request against the rule groups
90 in order, starting from the lowest priority setting. The priorities
91 don't need to be consecutive, but they must all be different.
92  
93  
94 =head2 B<REQUIRED> VisibilityConfig => L<Paws::WAFV2::VisibilityConfig>
95  
96 Defines and enables Amazon CloudWatch metrics and web request sample
97 collection.
98  
99  
100  
101 =head1 SEE ALSO
102  
103 This class forms part of L<Paws>, describing an object used in L<Paws::WAFV2>
104  
105 =head1 BUGS and CONTRIBUTIONS
106  
107 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
108  
109 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
110  
111 =cut
112