File Coverage

blib/lib/Paws/Config/Source.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::Source;
2 1     1   278 use Moose;
  1         3  
  1         6  
3             has Owner => (is => 'ro', isa => 'Str', required => 1);
4             has SourceDetails => (is => 'ro', isa => 'ArrayRef[Paws::Config::SourceDetail]');
5             has SourceIdentifier => (is => 'ro', isa => 'Str', required => 1);
6             1;
7              
8             ### main pod documentation begin ###
9              
10             =head1 NAME
11              
12             Paws::Config::Source
13              
14             =head1 USAGE
15              
16             This class represents one of two things:
17              
18             =head3 Arguments in a call to a service
19              
20             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
21             Each attribute should be used as a named argument in the calls that expect this type of object.
22              
23             As an example, if Att1 is expected to be a Paws::Config::Source object:
24              
25             $service_obj->Method(Att1 => { Owner => $value, ..., SourceIdentifier => $value });
26              
27             =head3 Results returned from an API call
28              
29             Use accessors for each attribute. If Att1 is expected to be an Paws::Config::Source object:
30              
31             $result = $service_obj->Method(...);
32             $result->Att1->Owner
33              
34             =head1 DESCRIPTION
35              
36             Provides the AWS Config rule owner (AWS or customer), the rule
37             identifier, and the events that trigger the evaluation of your AWS
38             resources.
39              
40             =head1 ATTRIBUTES
41              
42              
43             =head2 B<REQUIRED> Owner => Str
44              
45             Indicates whether AWS or the customer owns and manages the AWS Config
46             rule.
47              
48              
49             =head2 SourceDetails => ArrayRef[L<Paws::Config::SourceDetail>]
50              
51             Provides the source and type of the event that causes AWS Config to
52             evaluate your AWS resources.
53              
54              
55             =head2 B<REQUIRED> SourceIdentifier => Str
56              
57             For AWS Config managed rules, a predefined identifier from a list. For
58             example, C<IAM_PASSWORD_POLICY> is a managed rule. To reference a
59             managed rule, see Using AWS Managed Config Rules.
60              
61             For custom rules, the identifier is the Amazon Resource Name (ARN) of
62             the rule's AWS Lambda function, such as
63             C<arn:aws:lambda:us-east-2:123456789012:function:custom_rule_name>.
64              
65              
66              
67             =head1 SEE ALSO
68              
69             This class forms part of L<Paws>, describing an object used in L<Paws::Config>
70              
71             =head1 BUGS and CONTRIBUTIONS
72              
73             The source code is located here: https://github.com/pplu/aws-sdk-perl
74              
75             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
76              
77             =cut
78