blib/lib/Paws/FMS/ResourceViolation.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::FMS::ResourceViolation;
3 use Moose;
4 has AwsEc2InstanceViolation => (is => 'ro', isa => 'Paws::FMS::AwsEc2InstanceViolation');
5 has AwsEc2NetworkInterfaceViolation => (is => 'ro', isa => 'Paws::FMS::AwsEc2NetworkInterfaceViolation');
6 has AwsVPCSecurityGroupViolation => (is => 'ro', isa => 'Paws::FMS::AwsVPCSecurityGroupViolation');
7 has DnsDuplicateRuleGroupViolation => (is => 'ro', isa => 'Paws::FMS::DnsDuplicateRuleGroupViolation');
8 has DnsRuleGroupLimitExceededViolation => (is => 'ro', isa => 'Paws::FMS::DnsRuleGroupLimitExceededViolation');
9 has DnsRuleGroupPriorityConflictViolation => (is => 'ro', isa => 'Paws::FMS::DnsRuleGroupPriorityConflictViolation');
10 has NetworkFirewallMissingExpectedRTViolation => (is => 'ro', isa => 'Paws::FMS::NetworkFirewallMissingExpectedRTViolation');
11 has NetworkFirewallMissingFirewallViolation => (is => 'ro', isa => 'Paws::FMS::NetworkFirewallMissingFirewallViolation');
12 has NetworkFirewallMissingSubnetViolation => (is => 'ro', isa => 'Paws::FMS::NetworkFirewallMissingSubnetViolation');
13 has NetworkFirewallPolicyModifiedViolation => (is => 'ro', isa => 'Paws::FMS::NetworkFirewallPolicyModifiedViolation');
14  
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::FMS::ResourceViolation
22  
23 =head1 USAGE
24  
25 This class represents one of two things:
26  
27 =head3 Arguments in a call to a service
28  
29 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
30 Each attribute should be used as a named argument in the calls that expect this type of object.
31  
32 As an example, if Att1 is expected to be a Paws::FMS::ResourceViolation object:
33  
34 $service_obj->Method(Att1 => { AwsEc2InstanceViolation => $value, ..., NetworkFirewallPolicyModifiedViolation => $value });
35  
36 =head3 Results returned from an API call
37  
38 Use accessors for each attribute. If Att1 is expected to be an Paws::FMS::ResourceViolation object:
39  
40 $result = $service_obj->Method(...);
41 $result->Att1->AwsEc2InstanceViolation
42  
43 =head1 DESCRIPTION
44  
45 Violation detail based on resource type.
46  
47 =head1 ATTRIBUTES
48  
49  
50 =head2 AwsEc2InstanceViolation => L<Paws::FMS::AwsEc2InstanceViolation>
51  
52 Violation details for an EC2 instance.
53  
54  
55 =head2 AwsEc2NetworkInterfaceViolation => L<Paws::FMS::AwsEc2NetworkInterfaceViolation>
56  
57 Violation details for network interface.
58  
59  
60 =head2 AwsVPCSecurityGroupViolation => L<Paws::FMS::AwsVPCSecurityGroupViolation>
61  
62 Violation details for security groups.
63  
64  
65 =head2 DnsDuplicateRuleGroupViolation => L<Paws::FMS::DnsDuplicateRuleGroupViolation>
66  
67 Violation detail for a DNS Firewall policy that indicates that a rule
68 group that Firewall Manager tried to associate with a VPC is already
69 associated with the VPC and can't be associated again.
70  
71  
72 =head2 DnsRuleGroupLimitExceededViolation => L<Paws::FMS::DnsRuleGroupLimitExceededViolation>
73  
74 Violation details for a DNS Firewall policy that indicates that the VPC
75 reached the limit for associated DNS Firewall rule groups. Firewall
76 Manager tried to associate another rule group with the VPC and failed.
77  
78  
79 =head2 DnsRuleGroupPriorityConflictViolation => L<Paws::FMS::DnsRuleGroupPriorityConflictViolation>
80  
81 Violation detail for a DNS Firewall policy that indicates that a rule
82 group that Firewall Manager tried to associate with a VPC has the same
83 priority as a rule group that's already associated.
84  
85  
86 =head2 NetworkFirewallMissingExpectedRTViolation => L<Paws::FMS::NetworkFirewallMissingExpectedRTViolation>
87  
88 Violation detail for an Network Firewall policy that indicates that a
89 subnet is not associated with the expected Firewall Manager managed
90 route table.
91  
92  
93 =head2 NetworkFirewallMissingFirewallViolation => L<Paws::FMS::NetworkFirewallMissingFirewallViolation>
94  
95 Violation detail for an Network Firewall policy that indicates that a
96 subnet has no Firewall Manager managed firewall in its VPC.
97  
98  
99 =head2 NetworkFirewallMissingSubnetViolation => L<Paws::FMS::NetworkFirewallMissingSubnetViolation>
100  
101 Violation detail for an Network Firewall policy that indicates that an
102 Availability Zone is missing the expected Firewall Manager managed
103 subnet.
104  
105  
106 =head2 NetworkFirewallPolicyModifiedViolation => L<Paws::FMS::NetworkFirewallPolicyModifiedViolation>
107  
108 Violation detail for an Network Firewall policy that indicates that a
109 firewall policy in an individual account has been modified in a way
110 that makes it noncompliant. For example, the individual account owner
111 might have deleted a rule group, changed the priority of a stateless
112 rule group, or changed a policy default action.
113  
114  
115  
116 =head1 SEE ALSO
117  
118 This class forms part of L<Paws>, describing an object used in L<Paws::FMS>
119  
120 =head1 BUGS and CONTRIBUTIONS
121  
122 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
123  
124 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
125  
126 =cut
127