File Coverage

blib/lib/Paws/Config/Compliance.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::Config::Compliance;
2 1     1   258 use Moose;
  1         4  
  1         6  
3             has ComplianceContributorCount => (is => 'ro', isa => 'Paws::Config::ComplianceContributorCount');
4             has ComplianceType => (is => 'ro', isa => 'Str');
5             1;
6              
7             ### main pod documentation begin ###
8              
9             =head1 NAME
10              
11             Paws::Config::Compliance
12              
13             =head1 USAGE
14              
15             This class represents one of two things:
16              
17             =head3 Arguments in a call to a service
18              
19             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
20             Each attribute should be used as a named argument in the calls that expect this type of object.
21              
22             As an example, if Att1 is expected to be a Paws::Config::Compliance object:
23              
24             $service_obj->Method(Att1 => { ComplianceContributorCount => $value, ..., ComplianceType => $value });
25              
26             =head3 Results returned from an API call
27              
28             Use accessors for each attribute. If Att1 is expected to be an Paws::Config::Compliance object:
29              
30             $result = $service_obj->Method(...);
31             $result->Att1->ComplianceContributorCount
32              
33             =head1 DESCRIPTION
34              
35             Indicates whether an AWS resource or AWS Config rule is compliant and
36             provides the number of contributors that affect the compliance.
37              
38             =head1 ATTRIBUTES
39              
40              
41             =head2 ComplianceContributorCount => L<Paws::Config::ComplianceContributorCount>
42              
43             The number of AWS resources or AWS Config rules that cause a result of
44             C<NON_COMPLIANT>, up to a maximum number.
45              
46              
47             =head2 ComplianceType => Str
48              
49             Indicates whether an AWS resource or AWS Config rule is compliant.
50              
51             A resource is compliant if it complies with all of the AWS Config rules
52             that evaluate it, and it is noncompliant if it does not comply with one
53             or more of these rules.
54              
55             A rule is compliant if all of the resources that the rule evaluates
56             comply with it, and it is noncompliant if any of these resources do not
57             comply.
58              
59             AWS Config returns the C<INSUFFICIENT_DATA> value when no evaluation
60             results are available for the AWS resource or Config rule.
61              
62             For the C<Compliance> data type, AWS Config supports only C<COMPLIANT>,
63             C<NON_COMPLIANT>, and C<INSUFFICIENT_DATA> values. AWS Config does not
64             support the C<NOT_APPLICABLE> value for the C<Compliance> data type.
65              
66              
67              
68             =head1 SEE ALSO
69              
70             This class forms part of L<Paws>, describing an object used in L<Paws::Config>
71              
72             =head1 BUGS and CONTRIBUTIONS
73              
74             The source code is located here: https://github.com/pplu/aws-sdk-perl
75              
76             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
77              
78             =cut
79