blib/lib/Paws/Config/RecordingGroup.pm untested

filter: Statementstmt 0.0% 0 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 10 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Config::RecordingGroup;
3 use Moose;
4 has AllSupported => (is => 'ro', isa => 'Bool', request_name => 'allSupported', traits => ['NameInRequest']);
5 has IncludeGlobalResourceTypes => (is => 'ro', isa => 'Bool', request_name => 'includeGlobalResourceTypes', traits => ['NameInRequest']);
6 has ResourceTypes => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'resourceTypes', traits => ['NameInRequest']);
7  
8 1;
9  
10 ### main pod documentation begin ###
11  
12 =head1 NAME
13  
14 Paws::Config::RecordingGroup
15  
16 =head1 USAGE
17  
18 This class represents one of two things:
19  
20 =head3 Arguments in a call to a service
21  
22 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23 Each attribute should be used as a named argument in the calls that expect this type of object.
24  
25 As an example, if Att1 is expected to be a Paws::Config::RecordingGroup object:
26  
27 $service_obj->Method(Att1 => { AllSupported => $value, ..., ResourceTypes => $value });
28  
29 =head3 Results returned from an API call
30  
31 Use accessors for each attribute. If Att1 is expected to be an Paws::Config::RecordingGroup object:
32  
33 $result = $service_obj->Method(...);
34 $result->Att1->AllSupported
35  
36 =head1 DESCRIPTION
37  
38 Specifies the types of AWS resource for which AWS Config records
39 configuration changes.
40  
41 In the recording group, you specify whether all supported types or
42 specific types of resources are recorded.
43  
44 By default, AWS Config records configuration changes for all supported
45 types of regional resources that AWS Config discovers in the region in
46 which it is running. Regional resources are tied to a region and can be
47 used only in that region. Examples of regional resources are EC2
48 instances and EBS volumes.
49  
50 You can also have AWS Config record configuration changes for supported
51 types of global resources (for example, IAM resources). Global
52 resources are not tied to an individual region and can be used in all
53 regions.
54  
55 The configuration details for any global resource are the same in all
56 regions. If you customize AWS Config in multiple regions to record
57 global resources, it will create multiple configuration items each time
58 a global resource changes: one configuration item for each region.
59 These configuration items will contain identical data. To prevent
60 duplicate configuration items, you should consider customizing AWS
61 Config in only one region to record global resources, unless you want
62 the configuration items to be available in multiple regions.
63  
64 If you don't want AWS Config to record all resources, you can specify
65 which types of resources it will record with the C<resourceTypes>
66 parameter.
67  
68 For a list of supported resource types, see Supported Resource Types
69 (https://docs.aws.amazon.com/config/latest/developerguide/resource-config-reference.html#supported-resources).
70  
71 For more information, see Selecting Which Resources AWS Config Records
72 (https://docs.aws.amazon.com/config/latest/developerguide/select-resources.html).
73  
74 =head1 ATTRIBUTES
75  
76  
77 =head2 AllSupported => Bool
78  
79 Specifies whether AWS Config records configuration changes for every
80 supported type of regional resource.
81  
82 If you set this option to C<true>, when AWS Config adds support for a
83 new type of regional resource, it starts recording resources of that
84 type automatically.
85  
86 If you set this option to C<true>, you cannot enumerate a list of
87 C<resourceTypes>.
88  
89  
90 =head2 IncludeGlobalResourceTypes => Bool
91  
92 Specifies whether AWS Config includes all supported types of global
93 resources (for example, IAM resources) with the resources that it
94 records.
95  
96 Before you can set this option to C<true>, you must set the
97 C<allSupported> option to C<true>.
98  
99 If you set this option to C<true>, when AWS Config adds support for a
100 new type of global resource, it starts recording resources of that type
101 automatically.
102  
103 The configuration details for any global resource are the same in all
104 regions. To prevent duplicate configuration items, you should consider
105 customizing AWS Config in only one region to record global resources.
106  
107  
108 =head2 ResourceTypes => ArrayRef[Str|Undef]
109  
110 A comma-separated list that specifies the types of AWS resources for
111 which AWS Config records configuration changes (for example,
112 C<AWS::EC2::Instance> or C<AWS::CloudTrail::Trail>).
113  
114 To record all configuration changes, you must set the C<allSupported>
115 option to C<true>.
116  
117 If you set this option to C<false>, when AWS Config adds support for a
118 new type of resource, it will not record resources of that type unless
119 you manually add that type to your recording group.
120  
121 For a list of valid C<resourceTypes> values, see the B<resourceType
122 Value> column in Supported AWS Resource Types
123 (https://docs.aws.amazon.com/config/latest/developerguide/resource-config-reference.html#supported-resources).
124  
125  
126  
127 =head1 SEE ALSO
128  
129 This class forms part of L<Paws>, describing an object used in L<Paws::Config>
130  
131 =head1 BUGS and CONTRIBUTIONS
132  
133 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
134  
135 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
136  
137 =cut
138