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