Cfn/Resource/AWS/S3/Bucket.pm

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