Cfn/Resource/AWS/IoT/TopicRule.pm

filter: Statementstmt 79.7% 499 / 626 Branchbran 4.6% 4 / 86 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.3% 76 / 126 Podpod 0.0% 0 / 2 totaltotal 68.9% 579 / 840 CC 44 SCAR 12.3
CC
44
Cov
71%
__ANON__
6.0
__ANON__
6.0
__ANON__
6.0
CRAP 3.4
« Cfn/Resource/AWS/OpsWorks/Stack.pm ↑ Summary Cfn/Resource/AWS/CloudTrail/Trail.pm »
1 # AWS::IoT::TopicRule generated from spec 34.0.0
2 2 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule',
5 from 'HashRef',
6 2 ▶ via { Cfn::Resource::Properties::AWS::IoT::TopicRule->new( %$_ ) };
Subroutine __ANON__: called CC=1 SCAR=0.0
7  
8 2 package Cfn::Resource::AWS::IoT::TopicRule {
9 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 2 extends 'Cfn::Resource';
11 2 has Properties => (isa => 'Cfn::Resource::Properties::AWS::IoT::TopicRule', is => 'rw', coerce => 1);
12
13 0 ▶ sub AttributeList {
Subroutine AttributeList: not called CC=1 SCAR=6.9
Pod undocumented
14 0 [ 'Arn' ]
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  
23 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::AssetPropertyVariant',
24 as 'Cfn::Value';
25  
26 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::AssetPropertyVariant',
27 from 'HashRef',
28 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
29 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
30 0 return $f
31 } else {
32 0 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::AssetPropertyVariant->new( %$_ );
33 }
34 2 };
35  
36 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::AssetPropertyVariant {
37 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
38 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
39 2 extends 'Cfn::Value::TypedValue';
40
41 2 has BooleanValue => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42 2 has DoubleValue => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
43 2 has IntegerValue => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
44 2 has StringValue => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
45 }
46  
47 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::AssetPropertyTimestamp',
48 as 'Cfn::Value';
49  
50 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::AssetPropertyTimestamp',
51 from 'HashRef',
52 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
53 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
54 0 return $f
55 } else {
56 0 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::AssetPropertyTimestamp->new( %$_ );
57 }
58 2 };
59  
60 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::AssetPropertyTimestamp {
61 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
62 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
63 2 extends 'Cfn::Value::TypedValue';
64
65 2 has OffsetInNanos => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
66 2 has TimeInSeconds => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
67 }
68 subtype 'ArrayOfCfn::Resource::Properties::AWS::IoT::TopicRule::TimestreamDimension',
69 as 'Cfn::Value',
70 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
71 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
72  
73 coerce 'ArrayOfCfn::Resource::Properties::AWS::IoT::TopicRule::TimestreamDimension',
74 from 'HashRef',
75 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
76 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
77 0 return $f
78 } else {
79 0 die 'Only accepts functions';
80 }
81 },
82 from 'ArrayRef',
83 0 ▶ via {
Subroutine __ANON__: not called CC=1 SCAR=6.9
84 Cfn::Value::Array->new(Value => [
85 map {
86 0 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::IoT::TopicRule::TimestreamDimension')->coerce($_)
87 } @$_
88 ]);
89 2 };
90  
91 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::TimestreamDimension',
92 as 'Cfn::Value';
93  
94 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::TimestreamDimension',
95 from 'HashRef',
96 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
97 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
98 0 return $f
99 } else {
100 0 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::TimestreamDimension->new( %$_ );
101 }
102 2 };
103  
104 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::TimestreamDimension {
105 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
106 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
107 2 extends 'Cfn::Value::TypedValue';
108
109 2 has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
110 2 has Value => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
111 }
112  
113 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::SigV4Authorization',
114 as 'Cfn::Value';
115  
116 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::SigV4Authorization',
117 from 'HashRef',
118 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
119 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
120 0 return $f
121 } else {
122 0 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::SigV4Authorization->new( %$_ );
123 }
124 2 };
125  
126 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::SigV4Authorization {
127 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
128 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
129 2 extends 'Cfn::Value::TypedValue';
130
131 2 has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
132 2 has ServiceName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
133 2 has SigningRegion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
134 }
135 subtype 'ArrayOfCfn::Resource::Properties::AWS::IoT::TopicRule::AssetPropertyValue',
136 as 'Cfn::Value',
137 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
138 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
139  
140 coerce 'ArrayOfCfn::Resource::Properties::AWS::IoT::TopicRule::AssetPropertyValue',
141 from 'HashRef',
142 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
143 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
144 0 return $f
145 } else {
146 0 die 'Only accepts functions';
147 }
148 },
149 from 'ArrayRef',
150 0 ▶ via {
Subroutine __ANON__: not called CC=1 SCAR=6.9
151 Cfn::Value::Array->new(Value => [
152 map {
153 0 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::IoT::TopicRule::AssetPropertyValue')->coerce($_)
154 } @$_
155 ]);
156 2 };
157  
158 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::AssetPropertyValue',
159 as 'Cfn::Value';
160  
161 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::AssetPropertyValue',
162 from 'HashRef',
163 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
164 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
165 0 return $f
166 } else {
167 0 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::AssetPropertyValue->new( %$_ );
168 }
169 2 };
170  
171 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::AssetPropertyValue {
172 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
173 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
174 2 extends 'Cfn::Value::TypedValue';
175
176 2 has Quality => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
177 2 has Timestamp => (isa => 'Cfn::Resource::Properties::AWS::IoT::TopicRule::AssetPropertyTimestamp', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
178 2 has Value => (isa => 'Cfn::Resource::Properties::AWS::IoT::TopicRule::AssetPropertyVariant', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
179 }
180  
181 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::TimestreamTimestamp',
182 as 'Cfn::Value';
183  
184 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::TimestreamTimestamp',
185 from 'HashRef',
186 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
187 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
188 0 return $f
189 } else {
190 0 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::TimestreamTimestamp->new( %$_ );
191 }
192 2 };
193  
194 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::TimestreamTimestamp {
195 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
196 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
197 2 extends 'Cfn::Value::TypedValue';
198
199 2 has Unit => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
200 2 has Value => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
201 }
202  
203 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::TimestreamDimensionsList',
204 as 'Cfn::Value';
205  
206 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::TimestreamDimensionsList',
207 from 'HashRef',
208 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
209 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
210 0 return $f
211 } else {
212 0 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::TimestreamDimensionsList->new( %$_ );
213 }
214 2 };
215  
216 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::TimestreamDimensionsList {
217 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
218 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
219 2 extends 'Cfn::Value::TypedValue';
220
221 2 has TimestreamDimensionsList => (isa => 'ArrayOfCfn::Resource::Properties::AWS::IoT::TopicRule::TimestreamDimension', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
222 }
223  
224 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::PutItemInput',
225 as 'Cfn::Value';
226  
227 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::PutItemInput',
228 from 'HashRef',
229 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
230 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
231 0 return $f
232 } else {
233 0 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::PutItemInput->new( %$_ );
234 }
235 2 };
236  
237 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::PutItemInput {
238 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
239 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
240 2 extends 'Cfn::Value::TypedValue';
241
242 2 has TableName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
243 }
244 subtype 'ArrayOfCfn::Resource::Properties::AWS::IoT::TopicRule::PutAssetPropertyValueEntry',
245 as 'Cfn::Value',
246 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
247 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
248  
249 coerce 'ArrayOfCfn::Resource::Properties::AWS::IoT::TopicRule::PutAssetPropertyValueEntry',
250 from 'HashRef',
251 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
252 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
253 0 return $f
254 } else {
255 0 die 'Only accepts functions';
256 }
257 },
258 from 'ArrayRef',
259 0 ▶ via {
Subroutine __ANON__: not called CC=1 SCAR=6.9
260 Cfn::Value::Array->new(Value => [
261 map {
262 0 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::IoT::TopicRule::PutAssetPropertyValueEntry')->coerce($_)
263 } @$_
264 ]);
265 2 };
266  
267 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::PutAssetPropertyValueEntry',
268 as 'Cfn::Value';
269  
270 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::PutAssetPropertyValueEntry',
271 from 'HashRef',
272 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
273 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
274 0 return $f
275 } else {
276 0 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::PutAssetPropertyValueEntry->new( %$_ );
277 }
278 2 };
279  
280 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::PutAssetPropertyValueEntry {
281 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
282 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
283 2 extends 'Cfn::Value::TypedValue';
284
285 2 has AssetId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
286 2 has EntryId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
287 2 has PropertyAlias => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
288 2 has PropertyId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
289 2 has PropertyValues => (isa => 'ArrayOfCfn::Resource::Properties::AWS::IoT::TopicRule::AssetPropertyValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
290 }
291  
292 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::HttpAuthorization',
293 as 'Cfn::Value';
294  
295 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::HttpAuthorization',
296 from 'HashRef',
297 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
298 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
299 0 return $f
300 } else {
301 0 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::HttpAuthorization->new( %$_ );
302 }
303 2 };
304  
305 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::HttpAuthorization {
306 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
307 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
308 2 extends 'Cfn::Value::TypedValue';
309
310 2 has Sigv4 => (isa => 'Cfn::Resource::Properties::AWS::IoT::TopicRule::SigV4Authorization', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
311 }
312 subtype 'ArrayOfCfn::Resource::Properties::AWS::IoT::TopicRule::HttpActionHeader',
313 as 'Cfn::Value',
314 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
315 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
316  
317 coerce 'ArrayOfCfn::Resource::Properties::AWS::IoT::TopicRule::HttpActionHeader',
318 from 'HashRef',
319 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
320 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
321 0 return $f
322 } else {
323 0 die 'Only accepts functions';
324 }
325 },
326 from 'ArrayRef',
327 0 ▶ via {
Subroutine __ANON__: not called CC=1 SCAR=6.9
328 Cfn::Value::Array->new(Value => [
329 map {
330 0 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::IoT::TopicRule::HttpActionHeader')->coerce($_)
331 } @$_
332 ]);
333 2 };
334  
335 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::HttpActionHeader',
336 as 'Cfn::Value';
337  
338 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::HttpActionHeader',
339 from 'HashRef',
340 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
341 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
342 0 return $f
343 } else {
344 0 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::HttpActionHeader->new( %$_ );
345 }
346 2 };
347  
348 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::HttpActionHeader {
349 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
350 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
351 2 extends 'Cfn::Value::TypedValue';
352
353 2 has Key => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
354 2 has Value => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
355 }
356  
357 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::TimestreamAction',
358 as 'Cfn::Value';
359  
360 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::TimestreamAction',
361 from 'HashRef',
362 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
363 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
364 0 return $f
365 } else {
366 0 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::TimestreamAction->new( %$_ );
367 }
368 2 };
369  
370 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::TimestreamAction {
371 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
372 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
373 2 extends 'Cfn::Value::TypedValue';
374
375 2 has DatabaseName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
376 2 has Dimensions => (isa => 'Cfn::Resource::Properties::AWS::IoT::TopicRule::TimestreamDimensionsList', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
377 2 has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
378 2 has TableName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
379 2 has Timestamp => (isa => 'Cfn::Resource::Properties::AWS::IoT::TopicRule::TimestreamTimestamp', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
380 }
381  
382 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::StepFunctionsAction',
383 as 'Cfn::Value';
384  
385 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::StepFunctionsAction',
386 from 'HashRef',
387 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
388 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
389 0 return $f
390 } else {
391 0 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::StepFunctionsAction->new( %$_ );
392 }
393 2 };
394  
395 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::StepFunctionsAction {
396 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
397 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
398 2 extends 'Cfn::Value::TypedValue';
399
400 2 has ExecutionNamePrefix => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
401 2 has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
402 2 has StateMachineName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
403 }
404  
405 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::SqsAction',
406 as 'Cfn::Value';
407  
408 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::SqsAction',
409 from 'HashRef',
410 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
411 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
412 0 return $f
413 } else {
414 0 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::SqsAction->new( %$_ );
415 }
416 2 };
417  
418 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::SqsAction {
419 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
420 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
421 2 extends 'Cfn::Value::TypedValue';
422
423 2 has QueueUrl => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
424 2 has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
425 2 has UseBase64 => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
426 }
427  
428 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::SnsAction',
429 as 'Cfn::Value';
430  
431 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::SnsAction',
432 from 'HashRef',
433 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
434 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
435 0 return $f
436 } else {
437 0 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::SnsAction->new( %$_ );
438 }
439 2 };
440  
441 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::SnsAction {
442 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
443 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
444 2 extends 'Cfn::Value::TypedValue';
445
446 2 has MessageFormat => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
447 2 has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
448 2 has TargetArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
449 }
450  
451 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::S3Action',
452 as 'Cfn::Value';
453  
454 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::S3Action',
455 from 'HashRef',
456 2 ▶ via {
Subroutine __ANON__: called CC=2 SCAR=8.1
457 2 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 2 2
458 0 return $f
459 } else {
460 2 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::S3Action->new( %$_ );
461 }
462 2 };
463  
464 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::S3Action {
465 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
466 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
467 2 extends 'Cfn::Value::TypedValue';
468
469 2 has BucketName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
470 2 has CannedAcl => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
471 2 has Key => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
472 2 has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
473 }
474  
475 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::RepublishAction',
476 as 'Cfn::Value';
477  
478 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::RepublishAction',
479 from 'HashRef',
480 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
481 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
482 0 return $f
483 } else {
484 0 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::RepublishAction->new( %$_ );
485 }
486 2 };
487  
488 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::RepublishAction {
489 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
490 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
491 2 extends 'Cfn::Value::TypedValue';
492
493 2 has Qos => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
494 2 has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
495 2 has Topic => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
496 }
497  
498 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::LambdaAction',
499 as 'Cfn::Value';
500  
501 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::LambdaAction',
502 from 'HashRef',
503 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
504 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
505 0 return $f
506 } else {
507 0 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::LambdaAction->new( %$_ );
508 }
509 2 };
510  
511 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::LambdaAction {
512 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
513 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
514 2 extends 'Cfn::Value::TypedValue';
515
516 2 has FunctionArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
517 }
518  
519 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::KinesisAction',
520 as 'Cfn::Value';
521  
522 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::KinesisAction',
523 from 'HashRef',
524 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
525 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
526 0 return $f
527 } else {
528 0 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::KinesisAction->new( %$_ );
529 }
530 2 };
531  
532 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::KinesisAction {
533 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
534 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
535 2 extends 'Cfn::Value::TypedValue';
536
537 2 has PartitionKey => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
538 2 has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
539 2 has StreamName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
540 }
541  
542 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::KafkaAction',
543 as 'Cfn::Value';
544  
545 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::KafkaAction',
546 from 'HashRef',
547 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
548 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
549 0 return $f
550 } else {
551 0 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::KafkaAction->new( %$_ );
552 }
553 2 };
554  
555 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::KafkaAction {
556 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
557 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
558 2 extends 'Cfn::Value::TypedValue';
559
560 2 has ClientProperties => (isa => 'Cfn::Value::Hash|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
561 2 has DestinationArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
562 2 has Key => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
563 2 has Partition => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
564 2 has Topic => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
565 }
566  
567 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::IotSiteWiseAction',
568 as 'Cfn::Value';
569  
570 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::IotSiteWiseAction',
571 from 'HashRef',
572 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
573 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
574 0 return $f
575 } else {
576 0 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::IotSiteWiseAction->new( %$_ );
577 }
578 2 };
579  
580 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::IotSiteWiseAction {
581 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
582 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
583 2 extends 'Cfn::Value::TypedValue';
584
585 2 has PutAssetPropertyValueEntries => (isa => 'ArrayOfCfn::Resource::Properties::AWS::IoT::TopicRule::PutAssetPropertyValueEntry', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
586 2 has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
587 }
588  
589 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::IotEventsAction',
590 as 'Cfn::Value';
591  
592 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::IotEventsAction',
593 from 'HashRef',
594 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
595 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
596 0 return $f
597 } else {
598 0 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::IotEventsAction->new( %$_ );
599 }
600 2 };
601  
602 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::IotEventsAction {
603 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
604 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
605 2 extends 'Cfn::Value::TypedValue';
606
607 2 has BatchMode => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
608 2 has InputName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
609 2 has MessageId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
610 2 has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
611 }
612  
613 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::IotAnalyticsAction',
614 as 'Cfn::Value';
615  
616 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::IotAnalyticsAction',
617 from 'HashRef',
618 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
619 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
620 0 return $f
621 } else {
622 0 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::IotAnalyticsAction->new( %$_ );
623 }
624 2 };
625  
626 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::IotAnalyticsAction {
627 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
628 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
629 2 extends 'Cfn::Value::TypedValue';
630
631 2 has BatchMode => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
632 2 has ChannelName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
633 2 has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
634 }
635  
636 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::HttpAction',
637 as 'Cfn::Value';
638  
639 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::HttpAction',
640 from 'HashRef',
641 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
642 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
643 0 return $f
644 } else {
645 0 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::HttpAction->new( %$_ );
646 }
647 2 };
648  
649 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::HttpAction {
650 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
651 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
652 2 extends 'Cfn::Value::TypedValue';
653
654 2 has Auth => (isa => 'Cfn::Resource::Properties::AWS::IoT::TopicRule::HttpAuthorization', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
655 2 has ConfirmationUrl => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
656 2 has Headers => (isa => 'ArrayOfCfn::Resource::Properties::AWS::IoT::TopicRule::HttpActionHeader', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
657 2 has Url => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
658 }
659  
660 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::FirehoseAction',
661 as 'Cfn::Value';
662  
663 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::FirehoseAction',
664 from 'HashRef',
665 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
666 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
667 0 return $f
668 } else {
669 0 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::FirehoseAction->new( %$_ );
670 }
671 2 };
672  
673 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::FirehoseAction {
674 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
675 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
676 2 extends 'Cfn::Value::TypedValue';
677
678 2 has BatchMode => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
679 2 has DeliveryStreamName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
680 2 has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
681 2 has Separator => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
682 }
683  
684 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::ElasticsearchAction',
685 as 'Cfn::Value';
686  
687 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::ElasticsearchAction',
688 from 'HashRef',
689 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
690 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
691 0 return $f
692 } else {
693 0 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::ElasticsearchAction->new( %$_ );
694 }
695 2 };
696  
697 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::ElasticsearchAction {
698 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
699 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
700 2 extends 'Cfn::Value::TypedValue';
701
702 2 has Endpoint => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
703 2 has Id => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
704 2 has Index => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
705 2 has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
706 2 has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
707 }
708  
709 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::DynamoDBv2Action',
710 as 'Cfn::Value';
711  
712 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::DynamoDBv2Action',
713 from 'HashRef',
714 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
715 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
716 0 return $f
717 } else {
718 0 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::DynamoDBv2Action->new( %$_ );
719 }
720 2 };
721  
722 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::DynamoDBv2Action {
723 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
724 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
725 2 extends 'Cfn::Value::TypedValue';
726
727 2 has PutItem => (isa => 'Cfn::Resource::Properties::AWS::IoT::TopicRule::PutItemInput', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
728 2 has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
729 }
730  
731 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::DynamoDBAction',
732 as 'Cfn::Value';
733  
734 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::DynamoDBAction',
735 from 'HashRef',
736 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
737 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
738 0 return $f
739 } else {
740 0 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::DynamoDBAction->new( %$_ );
741 }
742 2 };
743  
744 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::DynamoDBAction {
745 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
746 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
747 2 extends 'Cfn::Value::TypedValue';
748
749 2 has HashKeyField => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
750 2 has HashKeyType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
751 2 has HashKeyValue => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
752 2 has PayloadField => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
753 2 has RangeKeyField => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
754 2 has RangeKeyType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
755 2 has RangeKeyValue => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
756 2 has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
757 2 has TableName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
758 }
759  
760 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::CloudwatchMetricAction',
761 as 'Cfn::Value';
762  
763 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::CloudwatchMetricAction',
764 from 'HashRef',
765 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
766 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
767 0 return $f
768 } else {
769 0 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::CloudwatchMetricAction->new( %$_ );
770 }
771 2 };
772  
773 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::CloudwatchMetricAction {
774 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
775 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
776 2 extends 'Cfn::Value::TypedValue';
777
778 2 has MetricName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
779 2 has MetricNamespace => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
780 2 has MetricTimestamp => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
781 2 has MetricUnit => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
782 2 has MetricValue => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
783 2 has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
784 }
785  
786 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::CloudwatchLogsAction',
787 as 'Cfn::Value';
788  
789 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::CloudwatchLogsAction',
790 from 'HashRef',
791 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
792 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
793 0 return $f
794 } else {
795 0 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::CloudwatchLogsAction->new( %$_ );
796 }
797 2 };
798  
799 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::CloudwatchLogsAction {
800 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
801 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
802 2 extends 'Cfn::Value::TypedValue';
803
804 2 has LogGroupName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
805 2 has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
806 }
807  
808 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::CloudwatchAlarmAction',
809 as 'Cfn::Value';
810  
811 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::CloudwatchAlarmAction',
812 from 'HashRef',
813 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
814 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
815 0 return $f
816 } else {
817 0 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::CloudwatchAlarmAction->new( %$_ );
818 }
819 2 };
820  
821 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::CloudwatchAlarmAction {
822 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
823 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
824 2 extends 'Cfn::Value::TypedValue';
825
826 2 has AlarmName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
827 2 has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
828 2 has StateReason => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
829 2 has StateValue => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
830 }
831 subtype 'ArrayOfCfn::Resource::Properties::AWS::IoT::TopicRule::Action',
832 as 'Cfn::Value',
833 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
834 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
835  
836 coerce 'ArrayOfCfn::Resource::Properties::AWS::IoT::TopicRule::Action',
837 from 'HashRef',
838 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
839 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
840 0 return $f
841 } else {
842 0 die 'Only accepts functions';
843 }
844 },
845 from 'ArrayRef',
846 2 ▶ via {
Subroutine __ANON__: called CC=1 SCAR=0.0
847 Cfn::Value::Array->new(Value => [
848 map {
849 2 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::IoT::TopicRule::Action')->coerce($_)
850 } @$_
851 ]);
852 2 };
853  
854 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::Action',
855 as 'Cfn::Value';
856  
857 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::Action',
858 from 'HashRef',
859 2 ▶ via {
Subroutine __ANON__: called CC=2 SCAR=8.1
860 2 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 2 2
861 0 return $f
862 } else {
863 2 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::Action->new( %$_ );
864 }
865 2 };
866  
867 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::Action {
868 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
869 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
870 2 extends 'Cfn::Value::TypedValue';
871
872 2 has CloudwatchAlarm => (isa => 'Cfn::Resource::Properties::AWS::IoT::TopicRule::CloudwatchAlarmAction', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
873 2 has CloudwatchLogs => (isa => 'Cfn::Resource::Properties::AWS::IoT::TopicRule::CloudwatchLogsAction', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
874 2 has CloudwatchMetric => (isa => 'Cfn::Resource::Properties::AWS::IoT::TopicRule::CloudwatchMetricAction', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
875 2 has DynamoDB => (isa => 'Cfn::Resource::Properties::AWS::IoT::TopicRule::DynamoDBAction', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
876 2 has DynamoDBv2 => (isa => 'Cfn::Resource::Properties::AWS::IoT::TopicRule::DynamoDBv2Action', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
877 2 has Elasticsearch => (isa => 'Cfn::Resource::Properties::AWS::IoT::TopicRule::ElasticsearchAction', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
878 2 has Firehose => (isa => 'Cfn::Resource::Properties::AWS::IoT::TopicRule::FirehoseAction', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
879 2 has Http => (isa => 'Cfn::Resource::Properties::AWS::IoT::TopicRule::HttpAction', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
880 2 has IotAnalytics => (isa => 'Cfn::Resource::Properties::AWS::IoT::TopicRule::IotAnalyticsAction', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
881 2 has IotEvents => (isa => 'Cfn::Resource::Properties::AWS::IoT::TopicRule::IotEventsAction', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
882 2 has IotSiteWise => (isa => 'Cfn::Resource::Properties::AWS::IoT::TopicRule::IotSiteWiseAction', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
883 2 has Kafka => (isa => 'Cfn::Resource::Properties::AWS::IoT::TopicRule::KafkaAction', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
884 2 has Kinesis => (isa => 'Cfn::Resource::Properties::AWS::IoT::TopicRule::KinesisAction', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
885 2 has Lambda => (isa => 'Cfn::Resource::Properties::AWS::IoT::TopicRule::LambdaAction', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
886 2 has Republish => (isa => 'Cfn::Resource::Properties::AWS::IoT::TopicRule::RepublishAction', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
887 2 has S3 => (isa => 'Cfn::Resource::Properties::AWS::IoT::TopicRule::S3Action', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
888 2 has Sns => (isa => 'Cfn::Resource::Properties::AWS::IoT::TopicRule::SnsAction', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
889 2 has Sqs => (isa => 'Cfn::Resource::Properties::AWS::IoT::TopicRule::SqsAction', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
890 2 has StepFunctions => (isa => 'Cfn::Resource::Properties::AWS::IoT::TopicRule::StepFunctionsAction', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
891 2 has Timestream => (isa => 'Cfn::Resource::Properties::AWS::IoT::TopicRule::TimestreamAction', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
892 }
893  
894 2 subtype 'Cfn::Resource::Properties::AWS::IoT::TopicRule::TopicRulePayload',
895 as 'Cfn::Value';
896  
897 coerce 'Cfn::Resource::Properties::AWS::IoT::TopicRule::TopicRulePayload',
898 from 'HashRef',
899 2 ▶ via {
Subroutine __ANON__: called CC=2 SCAR=8.1
900 2 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 2 2
901 0 return $f
902 } else {
903 2 return Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::TopicRulePayload->new( %$_ );
904 }
905 2 };
906  
907 2 package Cfn::Resource::Properties::Object::AWS::IoT::TopicRule::TopicRulePayload {
908 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
909 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
910 2 extends 'Cfn::Value::TypedValue';
911
912 2 has Actions => (isa => 'ArrayOfCfn::Resource::Properties::AWS::IoT::TopicRule::Action', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
913 2 has AwsIotSqlVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
914 2 has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
915 2 has ErrorAction => (isa => 'Cfn::Resource::Properties::AWS::IoT::TopicRule::Action', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
916 2 has RuleDisabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
917 2 has Sql => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
918 }
919  
920 2 package Cfn::Resource::Properties::AWS::IoT::TopicRule {
921 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
922 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
923 2 extends 'Cfn::Resource::Properties';
924
925 2 has RuleName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
926 2 has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
927 2 has TopicRulePayload => (isa => 'Cfn::Resource::Properties::AWS::IoT::TopicRule::TopicRulePayload', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
928 }
929  
930 2 1;
931 ### main pod documentation begin ###
932  
933 =encoding UTF-8
934  
935 =head1 NAME
936  
937 Cfn::Resource::AWS::IoT::TopicRule - Cfn resource for AWS::IoT::TopicRule
938  
939 =head1 DESCRIPTION
940  
941 This module implements a Perl module that represents the CloudFormation object AWS::IoT::TopicRule.
942  
943 See L<Cfn> for more information on how to use it.
944  
945 =head1 AUTHOR
946  
947 Jose Luis Martinez
948 CAPSiDE
949 jlmartinez@capside.com
950  
951 =head1 COPYRIGHT and LICENSE
952  
953 Copyright (c) 2013 by CAPSiDE
954 This code is distributed under the Apache 2 License. The full text of the
955 license can be found in the LICENSE file included with this module.
956  
957 =cut
« Cfn/Resource/AWS/OpsWorks/Stack.pm ↑ Summary Cfn/Resource/AWS/CloudTrail/Trail.pm »