line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Paws::Config::RecordingGroup; |
2
|
1
|
|
|
1
|
|
474
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
3
|
|
|
|
|
|
|
has AllSupported => (is => 'ro', isa => 'Bool', request_name => 'allSupported', traits => ['NameInRequest']); |
4
|
|
|
|
|
|
|
has IncludeGlobalResourceTypes => (is => 'ro', isa => 'Bool', request_name => 'includeGlobalResourceTypes', traits => ['NameInRequest']); |
5
|
|
|
|
|
|
|
has ResourceTypes => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'resourceTypes', traits => ['NameInRequest']); |
6
|
|
|
|
|
|
|
1; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
### main pod documentation begin ### |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
=head1 NAME |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
Paws::Config::RecordingGroup |
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::RecordingGroup object: |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
$service_obj->Method(Att1 => { AllSupported => $value, ..., ResourceTypes => $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::RecordingGroup object: |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
$result = $service_obj->Method(...); |
32
|
|
|
|
|
|
|
$result->Att1->AllSupported |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 DESCRIPTION |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Specifies the types of AWS resource for which AWS Config records |
37
|
|
|
|
|
|
|
configuration changes. |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
In the recording group, you specify whether all supported types or |
40
|
|
|
|
|
|
|
specific types of resources are recorded. |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
By default, AWS Config records configuration changes for all supported |
43
|
|
|
|
|
|
|
types of regional resources that AWS Config discovers in the region in |
44
|
|
|
|
|
|
|
which it is running. Regional resources are tied to a region and can be |
45
|
|
|
|
|
|
|
used only in that region. Examples of regional resources are EC2 |
46
|
|
|
|
|
|
|
instances and EBS volumes. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
You can also have AWS Config record configuration changes for supported |
49
|
|
|
|
|
|
|
types of global resources (for example, IAM resources). Global |
50
|
|
|
|
|
|
|
resources are not tied to an individual region and can be used in all |
51
|
|
|
|
|
|
|
regions. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
The configuration details for any global resource are the same in all |
54
|
|
|
|
|
|
|
regions. If you customize AWS Config in multiple regions to record |
55
|
|
|
|
|
|
|
global resources, it will create multiple configuration items each time |
56
|
|
|
|
|
|
|
a global resource changes: one configuration item for each region. |
57
|
|
|
|
|
|
|
These configuration items will contain identical data. To prevent |
58
|
|
|
|
|
|
|
duplicate configuration items, you should consider customizing AWS |
59
|
|
|
|
|
|
|
Config in only one region to record global resources, unless you want |
60
|
|
|
|
|
|
|
the configuration items to be available in multiple regions. |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
If you don't want AWS Config to record all resources, you can specify |
63
|
|
|
|
|
|
|
which types of resources it will record with the C<resourceTypes> |
64
|
|
|
|
|
|
|
parameter. |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
For a list of supported resource types, see Supported resource types. |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
For more information, see Selecting Which Resources AWS Config Records. |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=head2 AllSupported => Bool |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
Specifies whether AWS Config records configuration changes for every |
76
|
|
|
|
|
|
|
supported type of regional resource. |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
If you set this option to C<true>, when AWS Config adds support for a |
79
|
|
|
|
|
|
|
new type of regional resource, it automatically starts recording |
80
|
|
|
|
|
|
|
resources of that type. |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
If you set this option to C<true>, you cannot enumerate a list of |
83
|
|
|
|
|
|
|
C<resourceTypes>. |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=head2 IncludeGlobalResourceTypes => Bool |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
Specifies whether AWS Config includes all supported types of global |
89
|
|
|
|
|
|
|
resources (for example, IAM resources) with the resources that it |
90
|
|
|
|
|
|
|
records. |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
Before you can set this option to C<true>, you must set the |
93
|
|
|
|
|
|
|
C<allSupported> option to C<true>. |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
If you set this option to C<true>, when AWS Config adds support for a |
96
|
|
|
|
|
|
|
new type of global resource, it automatically starts recording |
97
|
|
|
|
|
|
|
resources of that type. |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
The configuration details for any global resource are the same in all |
100
|
|
|
|
|
|
|
regions. To prevent duplicate configuration items, you should consider |
101
|
|
|
|
|
|
|
customizing AWS Config in only one region to record global resources. |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
=head2 ResourceTypes => ArrayRef[Str|Undef] |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
A comma-separated list that specifies the types of AWS resources for |
107
|
|
|
|
|
|
|
which AWS Config records configuration changes (for example, |
108
|
|
|
|
|
|
|
C<AWS::EC2::Instance> or C<AWS::CloudTrail::Trail>). |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
Before you can set this option to C<true>, you must set the |
111
|
|
|
|
|
|
|
C<allSupported> option to C<false>. |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
If you set this option to C<true>, when AWS Config adds support for a |
114
|
|
|
|
|
|
|
new type of resource, it will not record resources of that type unless |
115
|
|
|
|
|
|
|
you manually add that type to your recording group. |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
For a list of valid C<resourceTypes> values, see the B<resourceType |
118
|
|
|
|
|
|
|
Value> column in Supported AWS Resource Types. |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
=head1 SEE ALSO |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
This class forms part of L<Paws>, describing an object used in L<Paws::Config> |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
=cut |
133
|
|
|
|
|
|
|
|