Cfn/Resource/AWS/EC2/Instance.pm

filter: Statementstmt 77.7% 311 / 400 Branchbran 16.6% 12 / 72 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 58.9% 56 / 95 Podpod 0.0% 0 / 2 totaltotal 66.6% 379 / 569 CC 37 SCAR 11.3
CC
37
Cov
68%
__ANON__
6.0
__ANON__
6.0
__ANON__
6.0
CRAP 3.1
« Cfn/Resource/AWS/SageMaker/Model.pm ↑ Summary Cfn/Resource/AWS/ApiGateway/Method.pm »
1 # AWS::EC2::Instance generated from spec 18.4.0
2 7 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 coerce 'Cfn::Resource::Properties::AWS::EC2::Instance',
5 from 'HashRef',
6 96 ▶ via { Cfn::Resource::Properties::AWS::EC2::Instance->new( %$_ ) };
Subroutine __ANON__: called CC=1 SCAR=0.0
7  
8 7 package Cfn::Resource::AWS::EC2::Instance {
9 7 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 7 extends 'Cfn::Resource';
11 7 has Properties => (isa => 'Cfn::Resource::Properties::AWS::EC2::Instance', is => 'rw', coerce => 1);
12
13 sub AttributeList {
14 1 ▶ [ 'AvailabilityZone','PrivateDnsName','PrivateIp','PublicDnsName','PublicIp' ]
Subroutine AttributeList: called CC=1 SCAR=0.0
Pod undocumented
15 }
16 sub supported_regions {
17 1 ▶ [ 'af-south-1','ap-east-1','ap-northeast-1','ap-northeast-2','ap-northeast-3','ap-south-1','ap-southeast-1','ap-southeast-2','ca-central-1','cn-north-1','cn-northwest-1','eu-central-1','eu-north-1','eu-south-1','eu-west-1','eu-west-2','eu-west-3','me-south-1','sa-east-1','us-east-1','us-east-2','us-gov-east-1','us-gov-west-1','us-west-1','us-west-2' ]
Subroutine supported_regions: called CC=1 SCAR=0.0
Pod undocumented
18 }
19 }
20  
21  
22 subtype 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::PrivateIpAddressSpecification',
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::EC2::Instance::PrivateIpAddressSpecification',
28 from 'HashRef',
29 via {
30 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
31 0 return $f
32 } else {
33 0 die 'Only accepts functions';
34 }
35 },
36 from 'ArrayRef',
37 via {
38 Cfn::Value::Array->new(Value => [
39 map {
40 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EC2::Instance::PrivateIpAddressSpecification')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
41 } @$_
42 ]);
43 7 };
44  
45 7 subtype 'Cfn::Resource::Properties::AWS::EC2::Instance::PrivateIpAddressSpecification',
46 as 'Cfn::Value';
47  
48 coerce 'Cfn::Resource::Properties::AWS::EC2::Instance::PrivateIpAddressSpecification',
49 from 'HashRef',
50 via {
51 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
52 0 return $f
53 } else {
54 0 return Cfn::Resource::Properties::Object::AWS::EC2::Instance::PrivateIpAddressSpecification->new( %$_ );
55 }
56 7 };
57  
58 7 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::PrivateIpAddressSpecification {
59 7 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
60 7 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
61 7 extends 'Cfn::Value::TypedValue';
62
63 7 has Primary => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
64 7 has PrivateIpAddress => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
65 }
66  
67 7 subtype 'Cfn::Resource::Properties::AWS::EC2::Instance::NoDevice',
68 as 'Cfn::Value';
69  
70 coerce 'Cfn::Resource::Properties::AWS::EC2::Instance::NoDevice',
71 from 'HashRef',
72 via {
73 2 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 2 2
74 0 return $f
75 } else {
76 2 return Cfn::Resource::Properties::Object::AWS::EC2::Instance::NoDevice->new( %$_ );
77 }
78 7 };
79  
80 7 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::NoDevice {
81 7 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
82 7 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
83 7 extends 'Cfn::Value::TypedValue';
84
85 }
86 subtype 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::InstanceIpv6Address',
87 as 'Cfn::Value',
88 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
89 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
90  
91 coerce 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::InstanceIpv6Address',
92 from 'HashRef',
93 via {
94 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
95 0 return $f
96 } else {
97 0 die 'Only accepts functions';
98 }
99 },
100 from 'ArrayRef',
101 via {
102 Cfn::Value::Array->new(Value => [
103 map {
104 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EC2::Instance::InstanceIpv6Address')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
105 } @$_
106 ]);
107 7 };
108  
109 7 subtype 'Cfn::Resource::Properties::AWS::EC2::Instance::InstanceIpv6Address',
110 as 'Cfn::Value';
111  
112 coerce 'Cfn::Resource::Properties::AWS::EC2::Instance::InstanceIpv6Address',
113 from 'HashRef',
114 via {
115 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
116 0 return $f
117 } else {
118 0 return Cfn::Resource::Properties::Object::AWS::EC2::Instance::InstanceIpv6Address->new( %$_ );
119 }
120 7 };
121  
122 7 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::InstanceIpv6Address {
123 7 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
124 7 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
125 7 extends 'Cfn::Value::TypedValue';
126
127 7 has Ipv6Address => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
128 }
129  
130 7 subtype 'Cfn::Resource::Properties::AWS::EC2::Instance::Ebs',
131 as 'Cfn::Value';
132  
133 coerce 'Cfn::Resource::Properties::AWS::EC2::Instance::Ebs',
134 from 'HashRef',
135 via {
136 7 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 7 7
137 0 return $f
138 } else {
139 7 return Cfn::Resource::Properties::Object::AWS::EC2::Instance::Ebs->new( %$_ );
140 }
141 7 };
142  
143 7 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::Ebs {
144 7 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
145 7 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
146 7 extends 'Cfn::Value::TypedValue';
147
148 7 has DeleteOnTermination => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
149 7 has Encrypted => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
150 7 has Iops => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
151 7 has KmsKeyId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
152 7 has SnapshotId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
153 7 has VolumeSize => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
154 7 has VolumeType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
155 }
156 subtype 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::AssociationParameter',
157 as 'Cfn::Value',
158 2 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: called CC=2 SCAR=7.6
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 2 2
159 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
160  
161 coerce 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::AssociationParameter',
162 from 'HashRef',
163 via {
164 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
165 0 return $f
166 } else {
167 0 die 'Only accepts functions';
168 }
169 },
170 from 'ArrayRef',
171 via {
172 Cfn::Value::Array->new(Value => [
173 map {
174 2 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EC2::Instance::AssociationParameter')->coerce($_)
Subroutine __ANON__: called CC=1 SCAR=0.0
175 } @$_
176 ]);
177 7 };
178  
179 7 subtype 'Cfn::Resource::Properties::AWS::EC2::Instance::AssociationParameter',
180 as 'Cfn::Value';
181  
182 coerce 'Cfn::Resource::Properties::AWS::EC2::Instance::AssociationParameter',
183 from 'HashRef',
184 via {
185 6 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 6 6
186 0 return $f
187 } else {
188 6 return Cfn::Resource::Properties::Object::AWS::EC2::Instance::AssociationParameter->new( %$_ );
189 }
190 7 };
191  
192 7 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::AssociationParameter {
193 7 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
194 7 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
195 7 extends 'Cfn::Value::TypedValue';
196
197 7 has Key => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
198 7 has Value => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
199 }
200 subtype 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::Volume',
201 as 'Cfn::Value',
202 2 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: called CC=2 SCAR=7.6
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 2 2
203 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
204  
205 coerce 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::Volume',
206 from 'HashRef',
207 via {
208 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
209 0 return $f
210 } else {
211 0 die 'Only accepts functions';
212 }
213 },
214 from 'ArrayRef',
215 via {
216 Cfn::Value::Array->new(Value => [
217 map {
218 2 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EC2::Instance::Volume')->coerce($_)
Subroutine __ANON__: called CC=1 SCAR=0.0
219 } @$_
220 ]);
221 7 };
222  
223 7 subtype 'Cfn::Resource::Properties::AWS::EC2::Instance::Volume',
224 as 'Cfn::Value';
225  
226 coerce 'Cfn::Resource::Properties::AWS::EC2::Instance::Volume',
227 from 'HashRef',
228 via {
229 2 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 2 2
230 0 return $f
231 } else {
232 2 return Cfn::Resource::Properties::Object::AWS::EC2::Instance::Volume->new( %$_ );
233 }
234 7 };
235  
236 7 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::Volume {
237 7 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
238 7 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
239 7 extends 'Cfn::Value::TypedValue';
240
241 7 has Device => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
242 7 has VolumeId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
243 }
244 subtype 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::SsmAssociation',
245 as 'Cfn::Value',
246 2 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: called CC=2 SCAR=7.6
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 2 2
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::EC2::Instance::SsmAssociation',
250 from 'HashRef',
251 via {
252 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
253 0 return $f
254 } else {
255 0 die 'Only accepts functions';
256 }
257 },
258 from 'ArrayRef',
259 via {
260 Cfn::Value::Array->new(Value => [
261 map {
262 2 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EC2::Instance::SsmAssociation')->coerce($_)
Subroutine __ANON__: called CC=1 SCAR=0.0
263 } @$_
264 ]);
265 7 };
266  
267 7 subtype 'Cfn::Resource::Properties::AWS::EC2::Instance::SsmAssociation',
268 as 'Cfn::Value';
269  
270 coerce 'Cfn::Resource::Properties::AWS::EC2::Instance::SsmAssociation',
271 from 'HashRef',
272 via {
273 2 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 2 2
274 0 return $f
275 } else {
276 2 return Cfn::Resource::Properties::Object::AWS::EC2::Instance::SsmAssociation->new( %$_ );
277 }
278 7 };
279  
280 7 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::SsmAssociation {
281 7 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
282 7 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
283 7 extends 'Cfn::Value::TypedValue';
284
285 7 has AssociationParameters => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::AssociationParameter', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
286 7 has DocumentName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
287 }
288 subtype 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::NetworkInterface',
289 as 'Cfn::Value',
290 22 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: called CC=2 SCAR=7.6
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 22 22
291 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
292  
293 coerce 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::NetworkInterface',
294 from 'HashRef',
295 via {
296 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
297 0 return $f
298 } else {
299 0 die 'Only accepts functions';
300 }
301 },
302 from 'ArrayRef',
303 via {
304 Cfn::Value::Array->new(Value => [
305 map {
306 22 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EC2::Instance::NetworkInterface')->coerce($_)
Subroutine __ANON__: called CC=1 SCAR=0.0
307 } @$_
308 ]);
309 7 };
310  
311 7 subtype 'Cfn::Resource::Properties::AWS::EC2::Instance::NetworkInterface',
312 as 'Cfn::Value';
313  
314 coerce 'Cfn::Resource::Properties::AWS::EC2::Instance::NetworkInterface',
315 from 'HashRef',
316 via {
317 22 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 22 22
318 0 return $f
319 } else {
320 22 return Cfn::Resource::Properties::Object::AWS::EC2::Instance::NetworkInterface->new( %$_ );
321 }
322 7 };
323  
324 7 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::NetworkInterface {
325 7 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
326 7 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
327 7 extends 'Cfn::Value::TypedValue';
328
329 7 has AssociatePublicIpAddress => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
330 7 has DeleteOnTermination => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
331 7 has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
332 7 has DeviceIndex => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
333 7 has GroupSet => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
334 7 has Ipv6AddressCount => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
335 7 has Ipv6Addresses => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::InstanceIpv6Address', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
336 7 has NetworkInterfaceId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
337 7 has PrivateIpAddress => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
338 7 has PrivateIpAddresses => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::PrivateIpAddressSpecification', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
339 7 has SecondaryPrivateIpAddressCount => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
340 7 has SubnetId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
341 }
342 subtype 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::LicenseSpecification',
343 as 'Cfn::Value',
344 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
345 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
346  
347 coerce 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::LicenseSpecification',
348 from 'HashRef',
349 via {
350 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
351 0 return $f
352 } else {
353 0 die 'Only accepts functions';
354 }
355 },
356 from 'ArrayRef',
357 via {
358 Cfn::Value::Array->new(Value => [
359 map {
360 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EC2::Instance::LicenseSpecification')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
361 } @$_
362 ]);
363 7 };
364  
365 7 subtype 'Cfn::Resource::Properties::AWS::EC2::Instance::LicenseSpecification',
366 as 'Cfn::Value';
367  
368 coerce 'Cfn::Resource::Properties::AWS::EC2::Instance::LicenseSpecification',
369 from 'HashRef',
370 via {
371 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
372 0 return $f
373 } else {
374 0 return Cfn::Resource::Properties::Object::AWS::EC2::Instance::LicenseSpecification->new( %$_ );
375 }
376 7 };
377  
378 7 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::LicenseSpecification {
379 7 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
380 7 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
381 7 extends 'Cfn::Value::TypedValue';
382
383 7 has LicenseConfigurationArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
384 }
385  
386 7 subtype 'Cfn::Resource::Properties::AWS::EC2::Instance::LaunchTemplateSpecification',
387 as 'Cfn::Value';
388  
389 coerce 'Cfn::Resource::Properties::AWS::EC2::Instance::LaunchTemplateSpecification',
390 from 'HashRef',
391 via {
392 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
393 0 return $f
394 } else {
395 0 return Cfn::Resource::Properties::Object::AWS::EC2::Instance::LaunchTemplateSpecification->new( %$_ );
396 }
397 7 };
398  
399 7 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::LaunchTemplateSpecification {
400 7 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
401 7 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
402 7 extends 'Cfn::Value::TypedValue';
403
404 7 has LaunchTemplateId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
405 7 has LaunchTemplateName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
406 7 has Version => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
407 }
408  
409 7 subtype 'Cfn::Resource::Properties::AWS::EC2::Instance::HibernationOptions',
410 as 'Cfn::Value';
411  
412 coerce 'Cfn::Resource::Properties::AWS::EC2::Instance::HibernationOptions',
413 from 'HashRef',
414 via {
415 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
416 0 return $f
417 } else {
418 0 return Cfn::Resource::Properties::Object::AWS::EC2::Instance::HibernationOptions->new( %$_ );
419 }
420 7 };
421  
422 7 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::HibernationOptions {
423 7 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
424 7 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
425 7 extends 'Cfn::Value::TypedValue';
426
427 7 has Configured => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
428 }
429 subtype 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::ElasticInferenceAccelerator',
430 as 'Cfn::Value',
431 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
432 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
433  
434 coerce 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::ElasticInferenceAccelerator',
435 from 'HashRef',
436 via {
437 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
438 0 return $f
439 } else {
440 0 die 'Only accepts functions';
441 }
442 },
443 from 'ArrayRef',
444 via {
445 Cfn::Value::Array->new(Value => [
446 map {
447 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EC2::Instance::ElasticInferenceAccelerator')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
448 } @$_
449 ]);
450 7 };
451  
452 7 subtype 'Cfn::Resource::Properties::AWS::EC2::Instance::ElasticInferenceAccelerator',
453 as 'Cfn::Value';
454  
455 coerce 'Cfn::Resource::Properties::AWS::EC2::Instance::ElasticInferenceAccelerator',
456 from 'HashRef',
457 via {
458 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
459 0 return $f
460 } else {
461 0 return Cfn::Resource::Properties::Object::AWS::EC2::Instance::ElasticInferenceAccelerator->new( %$_ );
462 }
463 7 };
464  
465 7 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::ElasticInferenceAccelerator {
466 7 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
467 7 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
468 7 extends 'Cfn::Value::TypedValue';
469
470 7 has Count => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
471 7 has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
472 }
473 subtype 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::ElasticGpuSpecification',
474 as 'Cfn::Value',
475 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
476 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
477  
478 coerce 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::ElasticGpuSpecification',
479 from 'HashRef',
480 via {
481 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
482 0 return $f
483 } else {
484 0 die 'Only accepts functions';
485 }
486 },
487 from 'ArrayRef',
488 via {
489 Cfn::Value::Array->new(Value => [
490 map {
491 0 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EC2::Instance::ElasticGpuSpecification')->coerce($_)
Subroutine __ANON__: not called CC=1 SCAR=6.9
492 } @$_
493 ]);
494 7 };
495  
496 7 subtype 'Cfn::Resource::Properties::AWS::EC2::Instance::ElasticGpuSpecification',
497 as 'Cfn::Value';
498  
499 coerce 'Cfn::Resource::Properties::AWS::EC2::Instance::ElasticGpuSpecification',
500 from 'HashRef',
501 via {
502 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
503 0 return $f
504 } else {
505 0 return Cfn::Resource::Properties::Object::AWS::EC2::Instance::ElasticGpuSpecification->new( %$_ );
506 }
507 7 };
508  
509 7 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::ElasticGpuSpecification {
510 7 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
511 7 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
512 7 extends 'Cfn::Value::TypedValue';
513
514 7 has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
515 }
516  
517 7 subtype 'Cfn::Resource::Properties::AWS::EC2::Instance::CreditSpecification',
518 as 'Cfn::Value';
519  
520 coerce 'Cfn::Resource::Properties::AWS::EC2::Instance::CreditSpecification',
521 from 'HashRef',
522 via {
523 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
524 0 return $f
525 } else {
526 0 return Cfn::Resource::Properties::Object::AWS::EC2::Instance::CreditSpecification->new( %$_ );
527 }
528 7 };
529  
530 7 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::CreditSpecification {
531 7 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
532 7 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
533 7 extends 'Cfn::Value::TypedValue';
534
535 7 has CPUCredits => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
536 }
537  
538 7 subtype 'Cfn::Resource::Properties::AWS::EC2::Instance::CpuOptions',
539 as 'Cfn::Value';
540  
541 coerce 'Cfn::Resource::Properties::AWS::EC2::Instance::CpuOptions',
542 from 'HashRef',
543 via {
544 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
545 0 return $f
546 } else {
547 0 return Cfn::Resource::Properties::Object::AWS::EC2::Instance::CpuOptions->new( %$_ );
548 }
549 7 };
550  
551 7 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::CpuOptions {
552 7 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
553 7 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
554 7 extends 'Cfn::Value::TypedValue';
555
556 7 has CoreCount => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
557 7 has ThreadsPerCore => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
558 }
559 subtype 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::BlockDeviceMapping',
560 as 'Cfn::Value',
561 9 ▶ where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') },
Subroutine __ANON__: called CC=2 SCAR=7.6
Branch: 1 branch
BranchTrueFalseTotal
$_->isa("Cfn::Value::Array") or $_->isa("Cfn::Value::Function") 0 9 9
562 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
563  
564 coerce 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::BlockDeviceMapping',
565 from 'HashRef',
566 via {
567 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
568 0 return $f
569 } else {
570 0 die 'Only accepts functions';
571 }
572 },
573 from 'ArrayRef',
574 via {
575 Cfn::Value::Array->new(Value => [
576 map {
577 9 ▶ Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EC2::Instance::BlockDeviceMapping')->coerce($_)
Subroutine __ANON__: called CC=1 SCAR=0.0
578 } @$_
579 ]);
580 7 };
581  
582 7 subtype 'Cfn::Resource::Properties::AWS::EC2::Instance::BlockDeviceMapping',
583 as 'Cfn::Value';
584  
585 coerce 'Cfn::Resource::Properties::AWS::EC2::Instance::BlockDeviceMapping',
586 from 'HashRef',
587 via {
588 13 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 13 13
589 0 return $f
590 } else {
591 13 return Cfn::Resource::Properties::Object::AWS::EC2::Instance::BlockDeviceMapping->new( %$_ );
592 }
593 7 };
594  
595 7 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::BlockDeviceMapping {
596 7 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
597 7 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
598 7 extends 'Cfn::Value::TypedValue';
599
600 7 has DeviceName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
601 7 has Ebs => (isa => 'Cfn::Resource::Properties::AWS::EC2::Instance::Ebs', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
602 7 has NoDevice => (isa => 'Cfn::Resource::Properties::AWS::EC2::Instance::NoDevice', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
603 7 has VirtualName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
604 }
605  
606 7 package Cfn::Resource::Properties::AWS::EC2::Instance {
607 7 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
608 7 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
609 7 extends 'Cfn::Resource::Properties';
610
611 7 has AdditionalInfo => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Conditional');
612 7 has Affinity => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Conditional');
613 7 has AvailabilityZone => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
614 7 has BlockDeviceMappings => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::BlockDeviceMapping', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Conditional');
615 7 has CpuOptions => (isa => 'Cfn::Resource::Properties::AWS::EC2::Instance::CpuOptions', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
616 7 has CreditSpecification => (isa => 'Cfn::Resource::Properties::AWS::EC2::Instance::CreditSpecification', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
617 7 has DisableApiTermination => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
618 7 has EbsOptimized => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Conditional');
619 7 has ElasticGpuSpecifications => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::ElasticGpuSpecification', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
620 7 has ElasticInferenceAccelerators => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::ElasticInferenceAccelerator', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
621 7 has HibernationOptions => (isa => 'Cfn::Resource::Properties::AWS::EC2::Instance::HibernationOptions', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
622 7 has HostId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Conditional');
623 7 has HostResourceGroupArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
624 7 has IamInstanceProfile => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
625 7 has ImageId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
626 7 has InstanceInitiatedShutdownBehavior => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
627 7 has InstanceType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Conditional');
628 7 has Ipv6AddressCount => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
629 7 has Ipv6Addresses => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::InstanceIpv6Address', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
630 7 has KernelId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Conditional');
631 7 has KeyName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
632 7 has LaunchTemplate => (isa => 'Cfn::Resource::Properties::AWS::EC2::Instance::LaunchTemplateSpecification', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
633 7 has LicenseSpecifications => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::LicenseSpecification', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
634 7 has Monitoring => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
635 7 has NetworkInterfaces => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::NetworkInterface', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
636 7 has PlacementGroupName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
637 7 has PrivateIpAddress => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
638 7 has RamdiskId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Conditional');
639 7 has SecurityGroupIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Conditional');
640 7 has SecurityGroups => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
641 7 has SourceDestCheck => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
642 7 has SsmAssociations => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::SsmAssociation', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
643 7 has SubnetId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
644 7 has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
645 7 has Tenancy => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Conditional');
646 7 has UserData => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Conditional');
647 7 has Volumes => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::Volume', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
648 }
649  
650 7 1;
651 ### main pod documentation begin ###
652  
653 =encoding UTF-8
654  
655 =head1 NAME
656  
657 Cfn::Resource::AWS::EC2::Instance - Cfn resource for AWS::EC2::Instance
658  
659 =head1 DESCRIPTION
660  
661 This module implements a Perl module that represents the CloudFormation object AWS::EC2::Instance.
662  
663 See L<Cfn> for more information on how to use it.
664  
665 =head1 AUTHOR
666  
667 Jose Luis Martinez
668 CAPSiDE
669 jlmartinez@capside.com
670  
671 =head1 COPYRIGHT and LICENSE
672  
673 Copyright (c) 2013 by CAPSiDE
674 This code is distributed under the Apache 2 License. The full text of the
675 license can be found in the LICENSE file included with this module.
676  
677 =cut
« Cfn/Resource/AWS/SageMaker/Model.pm ↑ Summary Cfn/Resource/AWS/ApiGateway/Method.pm »