Cfn/Resource/AWS/S3/Bucket.pm

filter: Statementstmt 74.3% 767 / 1032 Branchbran 5.0% 9 / 178 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 52.1% 124 / 238 Podpod 0.0% 0 / 2 totaltotal 62.0% 900 / 1450 CC 90 SCAR 12.7
CC
90
Cov
64%
__ANON__
6.0
__ANON__
6.0
__ANON__
6.0
CRAP 3.6
« Cfn/Resource/AWS/CodeDeploy/DeploymentGroup.pm ↑ Summary Cfn/Resource/AWS/IoTEvents/DetectorModel.pm »
1 # AWS::S3::Bucket generated from spec 21.0.0
2 5 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket',
5 from 'HashRef',
6 17 ▶ via { Cfn::Resource::Properties::AWS::S3::Bucket->new( %$_ ) };
Subroutine __ANON__: called CC=1 SCAR=0.0
7  
8 5 package Cfn::Resource::AWS::S3::Bucket {
9 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 5 extends 'Cfn::Resource';
11 5 has Properties => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket', is => 'rw', coerce => 1);
12
13 sub AttributeList {
14 1 ▶ [ 'Arn','DomainName','DualStackDomainName','RegionalDomainName','WebsiteURL' ]
Subroutine AttributeList: called CC=1 SCAR=0.0
Pod undocumented
15 }
16 sub supported_regions {
17 1 ▶ [ 'af-south-1','ap-east-1','ap-northeast-1','ap-northeast-2','ap-northeast-3','ap-south-1','ap-southeast-1','ap-southeast-2','ca-central-1','cn-north-1','cn-northwest-1','eu-central-1','eu-north-1','eu-south-1','eu-west-1','eu-west-2','eu-west-3','me-south-1','sa-east-1','us-east-1','us-east-2','us-gov-east-1','us-gov-west-1','us-west-1','us-west-2' ]
Subroutine supported_regions: called CC=1 SCAR=0.0
Pod undocumented
18 }
19 }
20  
21  
22 subtype 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::TagFilter',
23 as 'Cfn::Value',
24 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
25 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
26  
27 coerce 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::TagFilter',
28 from 'HashRef',
29 via {
30 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
31 0 return $f
32 } else {
33 0 die 'Only accepts functions';
34 }
35 },
36 from 'ArrayRef',
37 via {
38 Cfn::Value::Array->new(Value => [
39 map {
40 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::S3::Bucket::TagFilter')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
41 } @$_
42 ]);
43 5 };
44  
45 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::TagFilter',
46 as 'Cfn::Value';
47  
48 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::TagFilter',
49 from 'HashRef',
50 via {
51 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
52 0 return $f
53 } else {
54 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::TagFilter->new( %$_ );
55 }
56 5 };
57  
58 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::TagFilter {
59 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
60 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
61 5 extends 'Cfn::Value::TypedValue';
62
63 5 has Key => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
64 5 has Value => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
65 }
66  
67 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::ReplicationTimeValue',
68 as 'Cfn::Value';
69  
70 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::ReplicationTimeValue',
71 from 'HashRef',
72 via {
73 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
74 0 return $f
75 } else {
76 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::ReplicationTimeValue->new( %$_ );
77 }
78 5 };
79  
80 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::ReplicationTimeValue {
81 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
82 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
83 5 extends 'Cfn::Value::TypedValue';
84
85 5 has Minutes => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
86 }
87 subtype 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::FilterRule',
88 as 'Cfn::Value',
89 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
90 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
91  
92 coerce 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::FilterRule',
93 from 'HashRef',
94 via {
95 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
96 0 return $f
97 } else {
98 0 die 'Only accepts functions';
99 }
100 },
101 from 'ArrayRef',
102 via {
103 Cfn::Value::Array->new(Value => [
104 map {
105 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::S3::Bucket::FilterRule')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
106 } @$_
107 ]);
108 5 };
109  
110 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::FilterRule',
111 as 'Cfn::Value';
112  
113 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::FilterRule',
114 from 'HashRef',
115 via {
116 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
117 0 return $f
118 } else {
119 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::FilterRule->new( %$_ );
120 }
121 5 };
122  
123 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::FilterRule {
124 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
125 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
126 5 extends 'Cfn::Value::TypedValue';
127
128 5 has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
129 5 has Value => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
130 }
131  
132 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::SseKmsEncryptedObjects',
133 as 'Cfn::Value';
134  
135 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::SseKmsEncryptedObjects',
136 from 'HashRef',
137 via {
138 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
139 0 return $f
140 } else {
141 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::SseKmsEncryptedObjects->new( %$_ );
142 }
143 5 };
144  
145 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::SseKmsEncryptedObjects {
146 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
147 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
148 5 extends 'Cfn::Value::TypedValue';
149
150 5 has Status => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
151 }
152  
153 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::S3KeyFilter',
154 as 'Cfn::Value';
155  
156 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::S3KeyFilter',
157 from 'HashRef',
158 via {
159 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
160 0 return $f
161 } else {
162 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::S3KeyFilter->new( %$_ );
163 }
164 5 };
165  
166 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::S3KeyFilter {
167 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
168 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
169 5 extends 'Cfn::Value::TypedValue';
170
171 5 has Rules => (isa => 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::FilterRule', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
172 }
173  
174 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::ReplicationTime',
175 as 'Cfn::Value';
176  
177 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::ReplicationTime',
178 from 'HashRef',
179 via {
180 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
181 0 return $f
182 } else {
183 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::ReplicationTime->new( %$_ );
184 }
185 5 };
186  
187 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::ReplicationTime {
188 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
189 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
190 5 extends 'Cfn::Value::TypedValue';
191
192 5 has Status => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
193 5 has Time => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::ReplicationTimeValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
194 }
195  
196 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::ReplicationRuleAndOperator',
197 as 'Cfn::Value';
198  
199 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::ReplicationRuleAndOperator',
200 from 'HashRef',
201 via {
202 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
203 0 return $f
204 } else {
205 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::ReplicationRuleAndOperator->new( %$_ );
206 }
207 5 };
208  
209 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::ReplicationRuleAndOperator {
210 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
211 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
212 5 extends 'Cfn::Value::TypedValue';
213
214 5 has Prefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
215 5 has TagFilters => (isa => 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::TagFilter', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
216 }
217  
218 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::Metrics',
219 as 'Cfn::Value';
220  
221 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::Metrics',
222 from 'HashRef',
223 via {
224 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
225 0 return $f
226 } else {
227 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::Metrics->new( %$_ );
228 }
229 5 };
230  
231 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::Metrics {
232 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
233 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
234 5 extends 'Cfn::Value::TypedValue';
235
236 5 has EventThreshold => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::ReplicationTimeValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
237 5 has Status => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
238 }
239  
240 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::EncryptionConfiguration',
241 as 'Cfn::Value';
242  
243 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::EncryptionConfiguration',
244 from 'HashRef',
245 via {
246 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
247 0 return $f
248 } else {
249 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::EncryptionConfiguration->new( %$_ );
250 }
251 5 };
252  
253 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::EncryptionConfiguration {
254 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
255 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
256 5 extends 'Cfn::Value::TypedValue';
257
258 5 has ReplicaKmsKeyID => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
259 }
260  
261 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::Destination',
262 as 'Cfn::Value';
263  
264 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::Destination',
265 from 'HashRef',
266 via {
267 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
268 0 return $f
269 } else {
270 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::Destination->new( %$_ );
271 }
272 5 };
273  
274 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::Destination {
275 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
276 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
277 5 extends 'Cfn::Value::TypedValue';
278
279 5 has BucketAccountId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
280 5 has BucketArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
281 5 has Format => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
282 5 has Prefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
283 }
284  
285 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::AccessControlTranslation',
286 as 'Cfn::Value';
287  
288 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::AccessControlTranslation',
289 from 'HashRef',
290 via {
291 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
292 0 return $f
293 } else {
294 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::AccessControlTranslation->new( %$_ );
295 }
296 5 };
297  
298 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::AccessControlTranslation {
299 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
300 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
301 5 extends 'Cfn::Value::TypedValue';
302
303 5 has Owner => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
304 }
305 subtype 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::Transition',
306 as 'Cfn::Value',
307 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
308 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
309  
310 coerce 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::Transition',
311 from 'HashRef',
312 via {
313 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
314 0 return $f
315 } else {
316 0 die 'Only accepts functions';
317 }
318 },
319 from 'ArrayRef',
320 via {
321 Cfn::Value::Array->new(Value => [
322 map {
323 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::S3::Bucket::Transition')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
324 } @$_
325 ]);
326 5 };
327  
328 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::Transition',
329 as 'Cfn::Value';
330  
331 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::Transition',
332 from 'HashRef',
333 via {
334 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
335 0 return $f
336 } else {
337 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::Transition->new( %$_ );
338 }
339 5 };
340  
341 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::Transition {
342 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
343 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
344 5 extends 'Cfn::Value::TypedValue';
345
346 5 has StorageClass => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
347 5 has TransitionDate => (isa => 'Cfn::Value::Timestamp', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
348 5 has TransitionInDays => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
349 }
350  
351 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::SourceSelectionCriteria',
352 as 'Cfn::Value';
353  
354 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::SourceSelectionCriteria',
355 from 'HashRef',
356 via {
357 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
358 0 return $f
359 } else {
360 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::SourceSelectionCriteria->new( %$_ );
361 }
362 5 };
363  
364 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::SourceSelectionCriteria {
365 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
366 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
367 5 extends 'Cfn::Value::TypedValue';
368
369 5 has SseKmsEncryptedObjects => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::SseKmsEncryptedObjects', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
370 }
371  
372 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::ServerSideEncryptionByDefault',
373 as 'Cfn::Value';
374  
375 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::ServerSideEncryptionByDefault',
376 from 'HashRef',
377 via {
378 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
379 0 return $f
380 } else {
381 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::ServerSideEncryptionByDefault->new( %$_ );
382 }
383 5 };
384  
385 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::ServerSideEncryptionByDefault {
386 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
387 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
388 5 extends 'Cfn::Value::TypedValue';
389
390 5 has KMSMasterKeyID => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
391 5 has SSEAlgorithm => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
392 }
393  
394 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::RoutingRuleCondition',
395 as 'Cfn::Value';
396  
397 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::RoutingRuleCondition',
398 from 'HashRef',
399 via {
400 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
401 0 return $f
402 } else {
403 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::RoutingRuleCondition->new( %$_ );
404 }
405 5 };
406  
407 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::RoutingRuleCondition {
408 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
409 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
410 5 extends 'Cfn::Value::TypedValue';
411
412 5 has HttpErrorCodeReturnedEquals => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
413 5 has KeyPrefixEquals => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
414 }
415  
416 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::ReplicationRuleFilter',
417 as 'Cfn::Value';
418  
419 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::ReplicationRuleFilter',
420 from 'HashRef',
421 via {
422 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
423 0 return $f
424 } else {
425 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::ReplicationRuleFilter->new( %$_ );
426 }
427 5 };
428  
429 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::ReplicationRuleFilter {
430 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
431 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
432 5 extends 'Cfn::Value::TypedValue';
433
434 5 has And => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::ReplicationRuleAndOperator', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
435 5 has Prefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
436 5 has TagFilter => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::TagFilter', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
437 }
438  
439 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::ReplicationDestination',
440 as 'Cfn::Value';
441  
442 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::ReplicationDestination',
443 from 'HashRef',
444 via {
445 2 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 2 2
446 0 return $f
447 } else {
448 2 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::ReplicationDestination->new( %$_ );
449 }
450 5 };
451  
452 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::ReplicationDestination {
453 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
454 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
455 5 extends 'Cfn::Value::TypedValue';
456
457 5 has AccessControlTranslation => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::AccessControlTranslation', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
458 5 has Account => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
459 5 has Bucket => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
460 5 has EncryptionConfiguration => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::EncryptionConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
461 5 has Metrics => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::Metrics', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
462 5 has ReplicationTime => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::ReplicationTime', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
463 5 has StorageClass => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
464 }
465  
466 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::RedirectRule',
467 as 'Cfn::Value';
468  
469 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::RedirectRule',
470 from 'HashRef',
471 via {
472 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
473 0 return $f
474 } else {
475 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::RedirectRule->new( %$_ );
476 }
477 5 };
478  
479 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::RedirectRule {
480 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
481 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
482 5 extends 'Cfn::Value::TypedValue';
483
484 5 has HostName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
485 5 has HttpRedirectCode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
486 5 has Protocol => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
487 5 has ReplaceKeyPrefixWith => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
488 5 has ReplaceKeyWith => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
489 }
490  
491 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::NotificationFilter',
492 as 'Cfn::Value';
493  
494 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::NotificationFilter',
495 from 'HashRef',
496 via {
497 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
498 0 return $f
499 } else {
500 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::NotificationFilter->new( %$_ );
501 }
502 5 };
503  
504 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::NotificationFilter {
505 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
506 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
507 5 extends 'Cfn::Value::TypedValue';
508
509 5 has S3Key => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::S3KeyFilter', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
510 }
511 subtype 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::NoncurrentVersionTransition',
512 as 'Cfn::Value',
513 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
514 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
515  
516 coerce 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::NoncurrentVersionTransition',
517 from 'HashRef',
518 via {
519 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
520 0 return $f
521 } else {
522 0 die 'Only accepts functions';
523 }
524 },
525 from 'ArrayRef',
526 via {
527 Cfn::Value::Array->new(Value => [
528 map {
529 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::S3::Bucket::NoncurrentVersionTransition')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
530 } @$_
531 ]);
532 5 };
533  
534 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::NoncurrentVersionTransition',
535 as 'Cfn::Value';
536  
537 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::NoncurrentVersionTransition',
538 from 'HashRef',
539 via {
540 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
541 0 return $f
542 } else {
543 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::NoncurrentVersionTransition->new( %$_ );
544 }
545 5 };
546  
547 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::NoncurrentVersionTransition {
548 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
549 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
550 5 extends 'Cfn::Value::TypedValue';
551
552 5 has StorageClass => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
553 5 has TransitionInDays => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
554 }
555  
556 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::DeleteMarkerReplication',
557 as 'Cfn::Value';
558  
559 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::DeleteMarkerReplication',
560 from 'HashRef',
561 via {
562 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
563 0 return $f
564 } else {
565 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::DeleteMarkerReplication->new( %$_ );
566 }
567 5 };
568  
569 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::DeleteMarkerReplication {
570 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
571 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
572 5 extends 'Cfn::Value::TypedValue';
573
574 5 has Status => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
575 }
576  
577 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::DefaultRetention',
578 as 'Cfn::Value';
579  
580 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::DefaultRetention',
581 from 'HashRef',
582 via {
583 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
584 0 return $f
585 } else {
586 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::DefaultRetention->new( %$_ );
587 }
588 5 };
589  
590 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::DefaultRetention {
591 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
592 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
593 5 extends 'Cfn::Value::TypedValue';
594
595 5 has Days => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
596 5 has Mode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
597 5 has Years => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
598 }
599  
600 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::DataExport',
601 as 'Cfn::Value';
602  
603 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::DataExport',
604 from 'HashRef',
605 via {
606 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
607 0 return $f
608 } else {
609 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::DataExport->new( %$_ );
610 }
611 5 };
612  
613 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::DataExport {
614 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
615 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
616 5 extends 'Cfn::Value::TypedValue';
617
618 5 has Destination => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::Destination', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
619 5 has OutputSchemaVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
620 }
621  
622 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::AbortIncompleteMultipartUpload',
623 as 'Cfn::Value';
624  
625 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::AbortIncompleteMultipartUpload',
626 from 'HashRef',
627 via {
628 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
629 0 return $f
630 } else {
631 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::AbortIncompleteMultipartUpload->new( %$_ );
632 }
633 5 };
634  
635 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::AbortIncompleteMultipartUpload {
636 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
637 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
638 5 extends 'Cfn::Value::TypedValue';
639
640 5 has DaysAfterInitiation => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
641 }
642 subtype 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::TopicConfiguration',
643 as 'Cfn::Value',
644 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
645 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
646  
647 coerce 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::TopicConfiguration',
648 from 'HashRef',
649 via {
650 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
651 0 return $f
652 } else {
653 0 die 'Only accepts functions';
654 }
655 },
656 from 'ArrayRef',
657 via {
658 Cfn::Value::Array->new(Value => [
659 map {
660 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::S3::Bucket::TopicConfiguration')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
661 } @$_
662 ]);
663 5 };
664  
665 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::TopicConfiguration',
666 as 'Cfn::Value';
667  
668 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::TopicConfiguration',
669 from 'HashRef',
670 via {
671 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
672 0 return $f
673 } else {
674 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::TopicConfiguration->new( %$_ );
675 }
676 5 };
677  
678 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::TopicConfiguration {
679 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
680 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
681 5 extends 'Cfn::Value::TypedValue';
682
683 5 has Event => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
684 5 has Filter => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::NotificationFilter', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
685 5 has Topic => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
686 }
687 subtype 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::Tiering',
688 as 'Cfn::Value',
689 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
690 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
691  
692 coerce 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::Tiering',
693 from 'HashRef',
694 via {
695 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
696 0 return $f
697 } else {
698 0 die 'Only accepts functions';
699 }
700 },
701 from 'ArrayRef',
702 via {
703 Cfn::Value::Array->new(Value => [
704 map {
705 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::S3::Bucket::Tiering')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
706 } @$_
707 ]);
708 5 };
709  
710 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::Tiering',
711 as 'Cfn::Value';
712  
713 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::Tiering',
714 from 'HashRef',
715 via {
716 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
717 0 return $f
718 } else {
719 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::Tiering->new( %$_ );
720 }
721 5 };
722  
723 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::Tiering {
724 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
725 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
726 5 extends 'Cfn::Value::TypedValue';
727
728 5 has AccessTier => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
729 5 has Days => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
730 }
731  
732 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::StorageClassAnalysis',
733 as 'Cfn::Value';
734  
735 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::StorageClassAnalysis',
736 from 'HashRef',
737 via {
738 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
739 0 return $f
740 } else {
741 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::StorageClassAnalysis->new( %$_ );
742 }
743 5 };
744  
745 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::StorageClassAnalysis {
746 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
747 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
748 5 extends 'Cfn::Value::TypedValue';
749
750 5 has DataExport => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::DataExport', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
751 }
752 subtype 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::ServerSideEncryptionRule',
753 as 'Cfn::Value',
754 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
755 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
756  
757 coerce 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::ServerSideEncryptionRule',
758 from 'HashRef',
759 via {
760 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
761 0 return $f
762 } else {
763 0 die 'Only accepts functions';
764 }
765 },
766 from 'ArrayRef',
767 via {
768 Cfn::Value::Array->new(Value => [
769 map {
770 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::S3::Bucket::ServerSideEncryptionRule')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
771 } @$_
772 ]);
773 5 };
774  
775 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::ServerSideEncryptionRule',
776 as 'Cfn::Value';
777  
778 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::ServerSideEncryptionRule',
779 from 'HashRef',
780 via {
781 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
782 0 return $f
783 } else {
784 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::ServerSideEncryptionRule->new( %$_ );
785 }
786 5 };
787  
788 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::ServerSideEncryptionRule {
789 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
790 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
791 5 extends 'Cfn::Value::TypedValue';
792
793 5 has ServerSideEncryptionByDefault => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::ServerSideEncryptionByDefault', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
794 }
795 subtype 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::Rule',
796 as 'Cfn::Value',
797 4 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: called CC=2 SCAR=7.6
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 4 4
798 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
799  
800 coerce 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::Rule',
801 from 'HashRef',
802 via {
803 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
804 0 return $f
805 } else {
806 0 die 'Only accepts functions';
807 }
808 },
809 from 'ArrayRef',
810 via {
811 Cfn::Value::Array->new(Value => [
812 map {
813 4 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::S3::Bucket::Rule')->coerce($_)
Subroutine __ANON__: called CC=1 SCAR=0.0
814 } @$_
815 ]);
816 5 };
817  
818 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::Rule',
819 as 'Cfn::Value';
820  
821 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::Rule',
822 from 'HashRef',
823 via {
824 4 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 4 4
825 0 return $f
826 } else {
827 4 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::Rule->new( %$_ );
828 }
829 5 };
830  
831 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::Rule {
832 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
833 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
834 5 extends 'Cfn::Value::TypedValue';
835
836 5 has AbortIncompleteMultipartUpload => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::AbortIncompleteMultipartUpload', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
837 5 has ExpirationDate => (isa => 'Cfn::Value::Timestamp', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
838 5 has ExpirationInDays => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
839 5 has Id => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
840 5 has NoncurrentVersionExpirationInDays => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
841 5 has NoncurrentVersionTransition => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::NoncurrentVersionTransition', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
842 5 has NoncurrentVersionTransitions => (isa => 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::NoncurrentVersionTransition', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
843 5 has Prefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
844 5 has Status => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
845 5 has TagFilters => (isa => 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::TagFilter', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
846 5 has Transition => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::Transition', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
847 5 has Transitions => (isa => 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::Transition', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
848 }
849 subtype 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::RoutingRule',
850 as 'Cfn::Value',
851 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
852 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
853  
854 coerce 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::RoutingRule',
855 from 'HashRef',
856 via {
857 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
858 0 return $f
859 } else {
860 0 die 'Only accepts functions';
861 }
862 },
863 from 'ArrayRef',
864 via {
865 Cfn::Value::Array->new(Value => [
866 map {
867 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::S3::Bucket::RoutingRule')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
868 } @$_
869 ]);
870 5 };
871  
872 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::RoutingRule',
873 as 'Cfn::Value';
874  
875 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::RoutingRule',
876 from 'HashRef',
877 via {
878 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
879 0 return $f
880 } else {
881 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::RoutingRule->new( %$_ );
882 }
883 5 };
884  
885 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::RoutingRule {
886 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
887 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
888 5 extends 'Cfn::Value::TypedValue';
889
890 5 has RedirectRule => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::RedirectRule', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
891 5 has RoutingRuleCondition => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::RoutingRuleCondition', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
892 }
893 subtype 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::ReplicationRule',
894 as 'Cfn::Value',
895 2 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: called CC=2 SCAR=7.6
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 2 2
896 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
897  
898 coerce 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::ReplicationRule',
899 from 'HashRef',
900 via {
901 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
902 0 return $f
903 } else {
904 0 die 'Only accepts functions';
905 }
906 },
907 from 'ArrayRef',
908 via {
909 Cfn::Value::Array->new(Value => [
910 map {
911 2 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::S3::Bucket::ReplicationRule')->coerce($_)
Subroutine __ANON__: called CC=1 SCAR=0.0
912 } @$_
913 ]);
914 5 };
915  
916 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::ReplicationRule',
917 as 'Cfn::Value';
918  
919 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::ReplicationRule',
920 from 'HashRef',
921 via {
922 2 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 2 2
923 0 return $f
924 } else {
925 2 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::ReplicationRule->new( %$_ );
926 }
927 5 };
928  
929 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::ReplicationRule {
930 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
931 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
932 5 extends 'Cfn::Value::TypedValue';
933
934 5 has DeleteMarkerReplication => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::DeleteMarkerReplication', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
935 5 has Destination => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::ReplicationDestination', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
936 5 has Filter => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::ReplicationRuleFilter', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
937 5 has Id => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
938 5 has Prefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
939 5 has Priority => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
940 5 has SourceSelectionCriteria => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::SourceSelectionCriteria', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
941 5 has Status => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
942 }
943  
944 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::RedirectAllRequestsTo',
945 as 'Cfn::Value';
946  
947 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::RedirectAllRequestsTo',
948 from 'HashRef',
949 via {
950 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
951 0 return $f
952 } else {
953 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::RedirectAllRequestsTo->new( %$_ );
954 }
955 5 };
956  
957 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::RedirectAllRequestsTo {
958 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
959 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
960 5 extends 'Cfn::Value::TypedValue';
961
962 5 has HostName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
963 5 has Protocol => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
964 }
965 subtype 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::QueueConfiguration',
966 as 'Cfn::Value',
967 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
968 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
969  
970 coerce 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::QueueConfiguration',
971 from 'HashRef',
972 via {
973 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
974 0 return $f
975 } else {
976 0 die 'Only accepts functions';
977 }
978 },
979 from 'ArrayRef',
980 via {
981 Cfn::Value::Array->new(Value => [
982 map {
983 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::S3::Bucket::QueueConfiguration')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
984 } @$_
985 ]);
986 5 };
987  
988 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::QueueConfiguration',
989 as 'Cfn::Value';
990  
991 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::QueueConfiguration',
992 from 'HashRef',
993 via {
994 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
995 0 return $f
996 } else {
997 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::QueueConfiguration->new( %$_ );
998 }
999 5 };
1000  
1001 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::QueueConfiguration {
1002 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
1003 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
1004 5 extends 'Cfn::Value::TypedValue';
1005
1006 5 has Event => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1007 5 has Filter => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::NotificationFilter', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1008 5 has Queue => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1009 }
1010 subtype 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::OwnershipControlsRule',
1011 as 'Cfn::Value',
1012 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
1013 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
1014  
1015 coerce 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::OwnershipControlsRule',
1016 from 'HashRef',
1017 via {
1018 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
1019 0 return $f
1020 } else {
1021 0 die 'Only accepts functions';
1022 }
1023 },
1024 from 'ArrayRef',
1025 via {
1026 Cfn::Value::Array->new(Value => [
1027 map {
1028 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::S3::Bucket::OwnershipControlsRule')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
1029 } @$_
1030 ]);
1031 5 };
1032  
1033 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::OwnershipControlsRule',
1034 as 'Cfn::Value';
1035  
1036 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::OwnershipControlsRule',
1037 from 'HashRef',
1038 via {
1039 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
1040 0 return $f
1041 } else {
1042 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::OwnershipControlsRule->new( %$_ );
1043 }
1044 5 };
1045  
1046 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::OwnershipControlsRule {
1047 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
1048 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
1049 5 extends 'Cfn::Value::TypedValue';
1050
1051 5 has ObjectOwnership => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1052 }
1053  
1054 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::ObjectLockRule',
1055 as 'Cfn::Value';
1056  
1057 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::ObjectLockRule',
1058 from 'HashRef',
1059 via {
1060 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
1061 0 return $f
1062 } else {
1063 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::ObjectLockRule->new( %$_ );
1064 }
1065 5 };
1066  
1067 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::ObjectLockRule {
1068 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
1069 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
1070 5 extends 'Cfn::Value::TypedValue';
1071
1072 5 has DefaultRetention => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::DefaultRetention', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1073 }
1074 subtype 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::LambdaConfiguration',
1075 as 'Cfn::Value',
1076 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
1077 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
1078  
1079 coerce 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::LambdaConfiguration',
1080 from 'HashRef',
1081 via {
1082 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
1083 0 return $f
1084 } else {
1085 0 die 'Only accepts functions';
1086 }
1087 },
1088 from 'ArrayRef',
1089 via {
1090 Cfn::Value::Array->new(Value => [
1091 map {
1092 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::S3::Bucket::LambdaConfiguration')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
1093 } @$_
1094 ]);
1095 5 };
1096  
1097 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::LambdaConfiguration',
1098 as 'Cfn::Value';
1099  
1100 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::LambdaConfiguration',
1101 from 'HashRef',
1102 via {
1103 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
1104 0 return $f
1105 } else {
1106 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::LambdaConfiguration->new( %$_ );
1107 }
1108 5 };
1109  
1110 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::LambdaConfiguration {
1111 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
1112 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
1113 5 extends 'Cfn::Value::TypedValue';
1114
1115 5 has Event => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1116 5 has Filter => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::NotificationFilter', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1117 5 has Function => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1118 }
1119 subtype 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::CorsRule',
1120 as 'Cfn::Value',
1121 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
1122 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
1123  
1124 coerce 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::CorsRule',
1125 from 'HashRef',
1126 via {
1127 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
1128 0 return $f
1129 } else {
1130 0 die 'Only accepts functions';
1131 }
1132 },
1133 from 'ArrayRef',
1134 via {
1135 Cfn::Value::Array->new(Value => [
1136 map {
1137 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::S3::Bucket::CorsRule')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
1138 } @$_
1139 ]);
1140 5 };
1141  
1142 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::CorsRule',
1143 as 'Cfn::Value';
1144  
1145 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::CorsRule',
1146 from 'HashRef',
1147 via {
1148 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
1149 0 return $f
1150 } else {
1151 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::CorsRule->new( %$_ );
1152 }
1153 5 };
1154  
1155 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::CorsRule {
1156 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
1157 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
1158 5 extends 'Cfn::Value::TypedValue';
1159
1160 5 has AllowedHeaders => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1161 5 has AllowedMethods => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1162 5 has AllowedOrigins => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1163 5 has ExposedHeaders => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1164 5 has Id => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1165 5 has MaxAge => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1166 }
1167  
1168 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::WebsiteConfiguration',
1169 as 'Cfn::Value';
1170  
1171 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::WebsiteConfiguration',
1172 from 'HashRef',
1173 via {
1174 5 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 5 5
1175 0 return $f
1176 } else {
1177 5 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::WebsiteConfiguration->new( %$_ );
1178 }
1179 5 };
1180  
1181 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::WebsiteConfiguration {
1182 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
1183 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
1184 5 extends 'Cfn::Value::TypedValue';
1185
1186 5 has ErrorDocument => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1187 5 has IndexDocument => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1188 5 has RedirectAllRequestsTo => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::RedirectAllRequestsTo', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1189 5 has RoutingRules => (isa => 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::RoutingRule', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1190 }
1191  
1192 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::VersioningConfiguration',
1193 as 'Cfn::Value';
1194  
1195 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::VersioningConfiguration',
1196 from 'HashRef',
1197 via {
1198 2 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 2 2
1199 0 return $f
1200 } else {
1201 2 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::VersioningConfiguration->new( %$_ );
1202 }
1203 5 };
1204  
1205 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::VersioningConfiguration {
1206 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
1207 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
1208 5 extends 'Cfn::Value::TypedValue';
1209
1210 5 has Status => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1211 }
1212  
1213 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::ReplicationConfiguration',
1214 as 'Cfn::Value';
1215  
1216 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::ReplicationConfiguration',
1217 from 'HashRef',
1218 via {
1219 2 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 2 2
1220 0 return $f
1221 } else {
1222 2 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::ReplicationConfiguration->new( %$_ );
1223 }
1224 5 };
1225  
1226 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::ReplicationConfiguration {
1227 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
1228 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
1229 5 extends 'Cfn::Value::TypedValue';
1230
1231 5 has Role => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1232 5 has Rules => (isa => 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::ReplicationRule', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1233 }
1234  
1235 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::PublicAccessBlockConfiguration',
1236 as 'Cfn::Value';
1237  
1238 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::PublicAccessBlockConfiguration',
1239 from 'HashRef',
1240 via {
1241 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
1242 0 return $f
1243 } else {
1244 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::PublicAccessBlockConfiguration->new( %$_ );
1245 }
1246 5 };
1247  
1248 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::PublicAccessBlockConfiguration {
1249 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
1250 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
1251 5 extends 'Cfn::Value::TypedValue';
1252
1253 5 has BlockPublicAcls => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1254 5 has BlockPublicPolicy => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1255 5 has IgnorePublicAcls => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1256 5 has RestrictPublicBuckets => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1257 }
1258  
1259 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::OwnershipControls',
1260 as 'Cfn::Value';
1261  
1262 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::OwnershipControls',
1263 from 'HashRef',
1264 via {
1265 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
1266 0 return $f
1267 } else {
1268 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::OwnershipControls->new( %$_ );
1269 }
1270 5 };
1271  
1272 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::OwnershipControls {
1273 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
1274 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
1275 5 extends 'Cfn::Value::TypedValue';
1276
1277 5 has Rules => (isa => 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::OwnershipControlsRule', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1278 }
1279  
1280 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::ObjectLockConfiguration',
1281 as 'Cfn::Value';
1282  
1283 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::ObjectLockConfiguration',
1284 from 'HashRef',
1285 via {
1286 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
1287 0 return $f
1288 } else {
1289 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::ObjectLockConfiguration->new( %$_ );
1290 }
1291 5 };
1292  
1293 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::ObjectLockConfiguration {
1294 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
1295 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
1296 5 extends 'Cfn::Value::TypedValue';
1297
1298 5 has ObjectLockEnabled => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1299 5 has Rule => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::ObjectLockRule', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1300 }
1301  
1302 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::NotificationConfiguration',
1303 as 'Cfn::Value';
1304  
1305 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::NotificationConfiguration',
1306 from 'HashRef',
1307 via {
1308 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
1309 0 return $f
1310 } else {
1311 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::NotificationConfiguration->new( %$_ );
1312 }
1313 5 };
1314  
1315 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::NotificationConfiguration {
1316 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
1317 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
1318 5 extends 'Cfn::Value::TypedValue';
1319
1320 5 has LambdaConfigurations => (isa => 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::LambdaConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1321 5 has QueueConfigurations => (isa => 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::QueueConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1322 5 has TopicConfigurations => (isa => 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::TopicConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1323 }
1324 subtype 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::MetricsConfiguration',
1325 as 'Cfn::Value',
1326 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
1327 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
1328  
1329 coerce 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::MetricsConfiguration',
1330 from 'HashRef',
1331 via {
1332 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
1333 0 return $f
1334 } else {
1335 0 die 'Only accepts functions';
1336 }
1337 },
1338 from 'ArrayRef',
1339 via {
1340 Cfn::Value::Array->new(Value => [
1341 map {
1342 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::S3::Bucket::MetricsConfiguration')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
1343 } @$_
1344 ]);
1345 5 };
1346  
1347 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::MetricsConfiguration',
1348 as 'Cfn::Value';
1349  
1350 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::MetricsConfiguration',
1351 from 'HashRef',
1352 via {
1353 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
1354 0 return $f
1355 } else {
1356 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::MetricsConfiguration->new( %$_ );
1357 }
1358 5 };
1359  
1360 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::MetricsConfiguration {
1361 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
1362 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
1363 5 extends 'Cfn::Value::TypedValue';
1364
1365 5 has Id => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1366 5 has Prefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1367 5 has TagFilters => (isa => 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::TagFilter', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1368 }
1369  
1370 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::LoggingConfiguration',
1371 as 'Cfn::Value';
1372  
1373 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::LoggingConfiguration',
1374 from 'HashRef',
1375 via {
1376 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
1377 0 return $f
1378 } else {
1379 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::LoggingConfiguration->new( %$_ );
1380 }
1381 5 };
1382  
1383 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::LoggingConfiguration {
1384 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
1385 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
1386 5 extends 'Cfn::Value::TypedValue';
1387
1388 5 has DestinationBucketName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1389 5 has LogFilePrefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1390 }
1391  
1392 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::LifecycleConfiguration',
1393 as 'Cfn::Value';
1394  
1395 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::LifecycleConfiguration',
1396 from 'HashRef',
1397 via {
1398 4 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 4 4
1399 0 return $f
1400 } else {
1401 4 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::LifecycleConfiguration->new( %$_ );
1402 }
1403 5 };
1404  
1405 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::LifecycleConfiguration {
1406 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
1407 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
1408 5 extends 'Cfn::Value::TypedValue';
1409
1410 5 has Rules => (isa => 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::Rule', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1411 }
1412 subtype 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::InventoryConfiguration',
1413 as 'Cfn::Value',
1414 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
1415 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
1416  
1417 coerce 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::InventoryConfiguration',
1418 from 'HashRef',
1419 via {
1420 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
1421 0 return $f
1422 } else {
1423 0 die 'Only accepts functions';
1424 }
1425 },
1426 from 'ArrayRef',
1427 via {
1428 Cfn::Value::Array->new(Value => [
1429 map {
1430 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::S3::Bucket::InventoryConfiguration')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
1431 } @$_
1432 ]);
1433 5 };
1434  
1435 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::InventoryConfiguration',
1436 as 'Cfn::Value';
1437  
1438 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::InventoryConfiguration',
1439 from 'HashRef',
1440 via {
1441 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
1442 0 return $f
1443 } else {
1444 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::InventoryConfiguration->new( %$_ );
1445 }
1446 5 };
1447  
1448 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::InventoryConfiguration {
1449 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
1450 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
1451 5 extends 'Cfn::Value::TypedValue';
1452
1453 5 has Destination => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::Destination', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1454 5 has Enabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1455 5 has Id => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1456 5 has IncludedObjectVersions => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1457 5 has OptionalFields => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1458 5 has Prefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1459 5 has ScheduleFrequency => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1460 }
1461 subtype 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::IntelligentTieringConfiguration',
1462 as 'Cfn::Value',
1463 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
1464 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
1465  
1466 coerce 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::IntelligentTieringConfiguration',
1467 from 'HashRef',
1468 via {
1469 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
1470 0 return $f
1471 } else {
1472 0 die 'Only accepts functions';
1473 }
1474 },
1475 from 'ArrayRef',
1476 via {
1477 Cfn::Value::Array->new(Value => [
1478 map {
1479 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::S3::Bucket::IntelligentTieringConfiguration')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
1480 } @$_
1481 ]);
1482 5 };
1483  
1484 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::IntelligentTieringConfiguration',
1485 as 'Cfn::Value';
1486  
1487 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::IntelligentTieringConfiguration',
1488 from 'HashRef',
1489 via {
1490 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
1491 0 return $f
1492 } else {
1493 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::IntelligentTieringConfiguration->new( %$_ );
1494 }
1495 5 };
1496  
1497 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::IntelligentTieringConfiguration {
1498 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
1499 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
1500 5 extends 'Cfn::Value::TypedValue';
1501
1502 5 has Id => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1503 5 has Prefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1504 5 has Status => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1505 5 has TagFilters => (isa => 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::TagFilter', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1506 5 has Tierings => (isa => 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::Tiering', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1507 }
1508  
1509 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::CorsConfiguration',
1510 as 'Cfn::Value';
1511  
1512 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::CorsConfiguration',
1513 from 'HashRef',
1514 via {
1515 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
1516 0 return $f
1517 } else {
1518 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::CorsConfiguration->new( %$_ );
1519 }
1520 5 };
1521  
1522 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::CorsConfiguration {
1523 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
1524 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
1525 5 extends 'Cfn::Value::TypedValue';
1526
1527 5 has CorsRules => (isa => 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::CorsRule', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1528 }
1529  
1530 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::BucketEncryption',
1531 as 'Cfn::Value';
1532  
1533 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::BucketEncryption',
1534 from 'HashRef',
1535 via {
1536 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
1537 0 return $f
1538 } else {
1539 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::BucketEncryption->new( %$_ );
1540 }
1541 5 };
1542  
1543 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::BucketEncryption {
1544 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
1545 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
1546 5 extends 'Cfn::Value::TypedValue';
1547
1548 5 has ServerSideEncryptionConfiguration => (isa => 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::ServerSideEncryptionRule', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1549 }
1550 subtype 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::AnalyticsConfiguration',
1551 as 'Cfn::Value',
1552 0 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 0 0
1553 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
1554  
1555 coerce 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::AnalyticsConfiguration',
1556 from 'HashRef',
1557 via {
1558 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
1559 0 return $f
1560 } else {
1561 0 die 'Only accepts functions';
1562 }
1563 },
1564 from 'ArrayRef',
1565 via {
1566 Cfn::Value::Array->new(Value => [
1567 map {
1568 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::S3::Bucket::AnalyticsConfiguration')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
1569 } @$_
1570 ]);
1571 5 };
1572  
1573 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::AnalyticsConfiguration',
1574 as 'Cfn::Value';
1575  
1576 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::AnalyticsConfiguration',
1577 from 'HashRef',
1578 via {
1579 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
1580 0 return $f
1581 } else {
1582 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::AnalyticsConfiguration->new( %$_ );
1583 }
1584 5 };
1585  
1586 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::AnalyticsConfiguration {
1587 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
1588 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
1589 5 extends 'Cfn::Value::TypedValue';
1590
1591 5 has Id => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1592 5 has Prefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1593 5 has StorageClassAnalysis => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::StorageClassAnalysis', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1594 5 has TagFilters => (isa => 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::TagFilter', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1595 }
1596  
1597 5 subtype 'Cfn::Resource::Properties::AWS::S3::Bucket::AccelerateConfiguration',
1598 as 'Cfn::Value';
1599  
1600 coerce 'Cfn::Resource::Properties::AWS::S3::Bucket::AccelerateConfiguration',
1601 from 'HashRef',
1602 via {
1603 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
1604 0 return $f
1605 } else {
1606 0 return Cfn::Resource::Properties::Object::AWS::S3::Bucket::AccelerateConfiguration->new( %$_ );
1607 }
1608 5 };
1609  
1610 5 package Cfn::Resource::Properties::Object::AWS::S3::Bucket::AccelerateConfiguration {
1611 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
1612 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
1613 5 extends 'Cfn::Value::TypedValue';
1614
1615 5 has AccelerationStatus => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1616 }
1617  
1618 5 package Cfn::Resource::Properties::AWS::S3::Bucket {
1619 5 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
1620 5 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
1621 5 extends 'Cfn::Resource::Properties';
1622
1623 5 has AccelerateConfiguration => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::AccelerateConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1624 5 has AccessControl => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1625 5 has AnalyticsConfigurations => (isa => 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::AnalyticsConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1626 5 has BucketEncryption => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::BucketEncryption', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1627 5 has BucketName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
1628 5 has CorsConfiguration => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::CorsConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1629 5 has IntelligentTieringConfigurations => (isa => 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::IntelligentTieringConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1630 5 has InventoryConfigurations => (isa => 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::InventoryConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1631 5 has LifecycleConfiguration => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::LifecycleConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1632 5 has LoggingConfiguration => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::LoggingConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1633 5 has MetricsConfigurations => (isa => 'ArrayOfCfn::Resource::Properties::AWS::S3::Bucket::MetricsConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1634 5 has NotificationConfiguration => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::NotificationConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1635 5 has ObjectLockConfiguration => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::ObjectLockConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1636 5 has ObjectLockEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
1637 5 has OwnershipControls => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::OwnershipControls', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1638 5 has PublicAccessBlockConfiguration => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::PublicAccessBlockConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1639 5 has ReplicationConfiguration => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::ReplicationConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1640 5 has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1641 5 has VersioningConfiguration => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::VersioningConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1642 5 has WebsiteConfiguration => (isa => 'Cfn::Resource::Properties::AWS::S3::Bucket::WebsiteConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
1643 }
1644  
1645 5 1;
1646 ### main pod documentation begin ###
1647  
1648 =encoding UTF-8
1649  
1650 =head1 NAME
1651  
1652 Cfn::Resource::AWS::S3::Bucket - Cfn resource for AWS::S3::Bucket
1653  
1654 =head1 DESCRIPTION
1655  
1656 This module implements a Perl module that represents the CloudFormation object AWS::S3::Bucket.
1657  
1658 See L<Cfn> for more information on how to use it.
1659  
1660 =head1 AUTHOR
1661  
1662 Jose Luis Martinez
1663 CAPSiDE
1664 jlmartinez@capside.com
1665  
1666 =head1 COPYRIGHT and LICENSE
1667  
1668 Copyright (c) 2013 by CAPSiDE
1669 This code is distributed under the Apache 2 License. The full text of the
1670 license can be found in the LICENSE file included with this module.
1671  
1672 =cut
« Cfn/Resource/AWS/CodeDeploy/DeploymentGroup.pm ↑ Summary Cfn/Resource/AWS/IoTEvents/DetectorModel.pm »