Cfn/Resource/AWS/EC2/Instance.pm

filter: Statementstmt 77.3% 321 / 415 Branchbran 16.2% 12 / 74 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 57.1% 56 / 98 Podpod 0.0% 0 / 2 totaltotal 66.0% 389 / 589 CC 38 SCAR 11.4
CC
38
Cov
68%
__ANON__
6.0
__ANON__
6.0
__ANON__
6.0
CRAP 3.1
« Cfn/Resource/AWS/Lambda/Alias.pm ↑ Summary Cfn/Resource/AWS/ApplicationAutoScaling/ScalableTarget.pm »
1 # AWS::EC2::Instance generated from spec 22.0.0
2 6 ▶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 92 ▶ via { Cfn::Resource::Properties::AWS::EC2::Instance->new( %$_ ) };
Subroutine __ANON__: called CC=1 SCAR=0.0
7  
8 6 package Cfn::Resource::AWS::EC2::Instance {
9 6 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 6 extends 'Cfn::Resource';
11 6 has Properties => (isa => 'Cfn::Resource::Properties::AWS::EC2::Instance', is => 'rw', coerce => 1);
12
13 0 ▶ sub AttributeList {
Subroutine AttributeList: not called CC=1 SCAR=6.9
Pod undocumented
14 0 [ 'AvailabilityZone','PrivateDnsName','PrivateIp','PublicDnsName','PublicIp' ]
15 }
16 0 ▶ sub supported_regions {
Subroutine supported_regions: not called CC=1 SCAR=6.9
Pod undocumented
17 0 [ 'af-south-1','ap-east-1','ap-northeast-1','ap-northeast-2','ap-northeast-3','ap-south-1','ap-southeast-1','ap-southeast-2','ca-central-1','cn-north-1','cn-northwest-1','eu-central-1','eu-north-1','eu-south-1','eu-west-1','eu-west-2','eu-west-3','me-south-1','sa-east-1','us-east-1','us-east-2','us-gov-east-1','us-gov-west-1','us-west-1','us-west-2' ]
18 }
19 }
20  
21  
22 subtype 'ArrayOfCfn::Resource::Properties::AWS::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 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
30 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
31 0 return $f
32 } else {
33 0 die 'Only accepts functions';
34 }
35 },
36 from 'ArrayRef',
37 0 ▶ via {
Subroutine __ANON__: not called CC=1 SCAR=6.9
38 Cfn::Value::Array->new(Value => [
39 map {
40 0 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EC2::Instance::PrivateIpAddressSpecification')->coerce($_)
41 } @$_
42 ]);
43 6 };
44  
45 6 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 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
51 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
52 0 return $f
53 } else {
54 0 return Cfn::Resource::Properties::Object::AWS::EC2::Instance::PrivateIpAddressSpecification->new( %$_ );
55 }
56 6 };
57  
58 6 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::PrivateIpAddressSpecification {
59 6 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
60 6 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
61 6 extends 'Cfn::Value::TypedValue';
62
63 6 has Primary => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
64 6 has PrivateIpAddress => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
65 }
66  
67 6 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 2 ▶ via {
Subroutine __ANON__: called CC=2 SCAR=8.1
73 2 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
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 6 };
79  
80 6 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::NoDevice {
81 6 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
82 6 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
83 6 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 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
94 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
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 0 ▶ via {
Subroutine __ANON__: not called CC=1 SCAR=6.9
102 Cfn::Value::Array->new(Value => [
103 map {
104 0 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EC2::Instance::InstanceIpv6Address')->coerce($_)
105 } @$_
106 ]);
107 6 };
108  
109 6 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 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
115 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
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 6 };
121  
122 6 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::InstanceIpv6Address {
123 6 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
124 6 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
125 6 extends 'Cfn::Value::TypedValue';
126
127 6 has Ipv6Address => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
128 }
129  
130 6 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 6 ▶ via {
Subroutine __ANON__: called CC=2 SCAR=8.1
136 6 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 6 6
137 0 return $f
138 } else {
139 6 return Cfn::Resource::Properties::Object::AWS::EC2::Instance::Ebs->new( %$_ );
140 }
141 6 };
142  
143 6 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::Ebs {
144 6 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
145 6 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
146 6 extends 'Cfn::Value::TypedValue';
147
148 6 has DeleteOnTermination => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
149 6 has Encrypted => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
150 6 has Iops => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
151 6 has KmsKeyId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
152 6 has SnapshotId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
153 6 has VolumeSize => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
154 6 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") 2 0 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 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 die 'Only accepts functions';
168 }
169 },
170 from 'ArrayRef',
171 2 ▶ via {
Subroutine __ANON__: called CC=1 SCAR=0.0
172 Cfn::Value::Array->new(Value => [
173 map {
174 2 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EC2::Instance::AssociationParameter')->coerce($_)
175 } @$_
176 ]);
177 6 };
178  
179 6 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 6 ▶ via {
Subroutine __ANON__: called CC=2 SCAR=8.1
185 6 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
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 6 };
191  
192 6 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::AssociationParameter {
193 6 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
194 6 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
195 6 extends 'Cfn::Value::TypedValue';
196
197 6 has Key => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
198 6 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") 2 0 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 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
208 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
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 2 ▶ via {
Subroutine __ANON__: called CC=1 SCAR=0.0
216 Cfn::Value::Array->new(Value => [
217 map {
218 2 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EC2::Instance::Volume')->coerce($_)
219 } @$_
220 ]);
221 6 };
222  
223 6 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 2 ▶ via {
Subroutine __ANON__: called CC=2 SCAR=8.1
229 2 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
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 6 };
235  
236 6 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::Volume {
237 6 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
238 6 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
239 6 extends 'Cfn::Value::TypedValue';
240
241 6 has Device => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
242 6 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") 2 0 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 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 2 ▶ via {
Subroutine __ANON__: called CC=1 SCAR=0.0
260 Cfn::Value::Array->new(Value => [
261 map {
262 2 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EC2::Instance::SsmAssociation')->coerce($_)
263 } @$_
264 ]);
265 6 };
266  
267 6 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 2 ▶ via {
Subroutine __ANON__: called CC=2 SCAR=8.1
273 2 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
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 6 };
279  
280 6 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::SsmAssociation {
281 6 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
282 6 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
283 6 extends 'Cfn::Value::TypedValue';
284
285 6 has AssociationParameters => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::AssociationParameter', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
286 6 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") 22 0 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 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
296 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
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 22 ▶ via {
Subroutine __ANON__: called CC=1 SCAR=0.0
304 Cfn::Value::Array->new(Value => [
305 map {
306 22 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EC2::Instance::NetworkInterface')->coerce($_)
307 } @$_
308 ]);
309 6 };
310  
311 6 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 22 ▶ via {
Subroutine __ANON__: called CC=2 SCAR=8.1
317 22 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
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 6 };
323  
324 6 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::NetworkInterface {
325 6 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
326 6 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
327 6 extends 'Cfn::Value::TypedValue';
328
329 6 has AssociatePublicIpAddress => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
330 6 has DeleteOnTermination => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
331 6 has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
332 6 has DeviceIndex => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
333 6 has GroupSet => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
334 6 has Ipv6AddressCount => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
335 6 has Ipv6Addresses => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::InstanceIpv6Address', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
336 6 has NetworkInterfaceId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
337 6 has PrivateIpAddress => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
338 6 has PrivateIpAddresses => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::PrivateIpAddressSpecification', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
339 6 has SecondaryPrivateIpAddressCount => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
340 6 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 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
350 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
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 0 ▶ via {
Subroutine __ANON__: not called CC=1 SCAR=6.9
358 Cfn::Value::Array->new(Value => [
359 map {
360 0 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EC2::Instance::LicenseSpecification')->coerce($_)
361 } @$_
362 ]);
363 6 };
364  
365 6 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 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
371 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
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 6 };
377  
378 6 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::LicenseSpecification {
379 6 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
380 6 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
381 6 extends 'Cfn::Value::TypedValue';
382
383 6 has LicenseConfigurationArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
384 }
385  
386 6 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 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
392 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
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 6 };
398  
399 6 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::LaunchTemplateSpecification {
400 6 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
401 6 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
402 6 extends 'Cfn::Value::TypedValue';
403
404 6 has LaunchTemplateId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
405 6 has LaunchTemplateName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
406 6 has Version => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
407 }
408  
409 6 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 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
415 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
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 6 };
421  
422 6 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::HibernationOptions {
423 6 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
424 6 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
425 6 extends 'Cfn::Value::TypedValue';
426
427 6 has Configured => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
428 }
429  
430 6 subtype 'Cfn::Resource::Properties::AWS::EC2::Instance::EnclaveOptions',
431 as 'Cfn::Value';
432  
433 coerce 'Cfn::Resource::Properties::AWS::EC2::Instance::EnclaveOptions',
434 from 'HashRef',
435 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
436 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
437 0 return $f
438 } else {
439 0 return Cfn::Resource::Properties::Object::AWS::EC2::Instance::EnclaveOptions->new( %$_ );
440 }
441 6 };
442  
443 6 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::EnclaveOptions {
444 6 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
445 6 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
446 6 extends 'Cfn::Value::TypedValue';
447
448 6 has Enabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
449 }
450 subtype 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::ElasticInferenceAccelerator',
451 as 'Cfn::Value',
452 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
453 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
454  
455 coerce 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::ElasticInferenceAccelerator',
456 from 'HashRef',
457 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
458 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
459 0 return $f
460 } else {
461 0 die 'Only accepts functions';
462 }
463 },
464 from 'ArrayRef',
465 0 ▶ via {
Subroutine __ANON__: not called CC=1 SCAR=6.9
466 Cfn::Value::Array->new(Value => [
467 map {
468 0 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EC2::Instance::ElasticInferenceAccelerator')->coerce($_)
469 } @$_
470 ]);
471 6 };
472  
473 6 subtype 'Cfn::Resource::Properties::AWS::EC2::Instance::ElasticInferenceAccelerator',
474 as 'Cfn::Value';
475  
476 coerce 'Cfn::Resource::Properties::AWS::EC2::Instance::ElasticInferenceAccelerator',
477 from 'HashRef',
478 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
479 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
480 0 return $f
481 } else {
482 0 return Cfn::Resource::Properties::Object::AWS::EC2::Instance::ElasticInferenceAccelerator->new( %$_ );
483 }
484 6 };
485  
486 6 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::ElasticInferenceAccelerator {
487 6 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
488 6 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
489 6 extends 'Cfn::Value::TypedValue';
490
491 6 has Count => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
492 6 has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
493 }
494 subtype 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::ElasticGpuSpecification',
495 as 'Cfn::Value',
496 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
497 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
498  
499 coerce 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::ElasticGpuSpecification',
500 from 'HashRef',
501 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
502 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
503 0 return $f
504 } else {
505 0 die 'Only accepts functions';
506 }
507 },
508 from 'ArrayRef',
509 0 ▶ via {
Subroutine __ANON__: not called CC=1 SCAR=6.9
510 Cfn::Value::Array->new(Value => [
511 map {
512 0 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EC2::Instance::ElasticGpuSpecification')->coerce($_)
513 } @$_
514 ]);
515 6 };
516  
517 6 subtype 'Cfn::Resource::Properties::AWS::EC2::Instance::ElasticGpuSpecification',
518 as 'Cfn::Value';
519  
520 coerce 'Cfn::Resource::Properties::AWS::EC2::Instance::ElasticGpuSpecification',
521 from 'HashRef',
522 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
523 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
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::ElasticGpuSpecification->new( %$_ );
527 }
528 6 };
529  
530 6 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::ElasticGpuSpecification {
531 6 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
532 6 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
533 6 extends 'Cfn::Value::TypedValue';
534
535 6 has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
536 }
537  
538 6 subtype 'Cfn::Resource::Properties::AWS::EC2::Instance::CreditSpecification',
539 as 'Cfn::Value';
540  
541 coerce 'Cfn::Resource::Properties::AWS::EC2::Instance::CreditSpecification',
542 from 'HashRef',
543 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
544 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
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::CreditSpecification->new( %$_ );
548 }
549 6 };
550  
551 6 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::CreditSpecification {
552 6 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
553 6 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
554 6 extends 'Cfn::Value::TypedValue';
555
556 6 has CPUCredits => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
557 }
558  
559 6 subtype 'Cfn::Resource::Properties::AWS::EC2::Instance::CpuOptions',
560 as 'Cfn::Value';
561  
562 coerce 'Cfn::Resource::Properties::AWS::EC2::Instance::CpuOptions',
563 from 'HashRef',
564 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
565 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
566 0 return $f
567 } else {
568 0 return Cfn::Resource::Properties::Object::AWS::EC2::Instance::CpuOptions->new( %$_ );
569 }
570 6 };
571  
572 6 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::CpuOptions {
573 6 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
574 6 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
575 6 extends 'Cfn::Value::TypedValue';
576
577 6 has CoreCount => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
578 6 has ThreadsPerCore => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
579 }
580 subtype 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::BlockDeviceMapping',
581 as 'Cfn::Value',
582 8 ▶ 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") 8 0 8
583 0 ▶message { "$_ is not a Cfn::Value or a Cfn::Value::Function" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
584  
585 coerce 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::BlockDeviceMapping',
586 from 'HashRef',
587 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
588 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
589 0 return $f
590 } else {
591 0 die 'Only accepts functions';
592 }
593 },
594 from 'ArrayRef',
595 8 ▶ via {
Subroutine __ANON__: called CC=1 SCAR=0.0
596 Cfn::Value::Array->new(Value => [
597 map {
598 8 Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::EC2::Instance::BlockDeviceMapping')->coerce($_)
599 } @$_
600 ]);
601 6 };
602  
603 6 subtype 'Cfn::Resource::Properties::AWS::EC2::Instance::BlockDeviceMapping',
604 as 'Cfn::Value';
605  
606 coerce 'Cfn::Resource::Properties::AWS::EC2::Instance::BlockDeviceMapping',
607 from 'HashRef',
608 12 ▶ via {
Subroutine __ANON__: called CC=2 SCAR=8.1
609 12 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 12 12
610 0 return $f
611 } else {
612 12 return Cfn::Resource::Properties::Object::AWS::EC2::Instance::BlockDeviceMapping->new( %$_ );
613 }
614 6 };
615  
616 6 package Cfn::Resource::Properties::Object::AWS::EC2::Instance::BlockDeviceMapping {
617 6 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
618 6 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
619 6 extends 'Cfn::Value::TypedValue';
620
621 6 has DeviceName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
622 6 has Ebs => (isa => 'Cfn::Resource::Properties::AWS::EC2::Instance::Ebs', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
623 6 has NoDevice => (isa => 'Cfn::Resource::Properties::AWS::EC2::Instance::NoDevice', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
624 6 has VirtualName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
625 }
626  
627 6 package Cfn::Resource::Properties::AWS::EC2::Instance {
628 6 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
629 6 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
630 6 extends 'Cfn::Resource::Properties';
631
632 6 has AdditionalInfo => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Conditional');
633 6 has Affinity => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Conditional');
634 6 has AvailabilityZone => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
635 6 has BlockDeviceMappings => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::BlockDeviceMapping', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Conditional');
636 6 has CpuOptions => (isa => 'Cfn::Resource::Properties::AWS::EC2::Instance::CpuOptions', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
637 6 has CreditSpecification => (isa => 'Cfn::Resource::Properties::AWS::EC2::Instance::CreditSpecification', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
638 6 has DisableApiTermination => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
639 6 has EbsOptimized => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Conditional');
640 6 has ElasticGpuSpecifications => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::ElasticGpuSpecification', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
641 6 has ElasticInferenceAccelerators => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::ElasticInferenceAccelerator', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
642 6 has EnclaveOptions => (isa => 'Cfn::Resource::Properties::AWS::EC2::Instance::EnclaveOptions', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
643 6 has HibernationOptions => (isa => 'Cfn::Resource::Properties::AWS::EC2::Instance::HibernationOptions', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
644 6 has HostId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Conditional');
645 6 has HostResourceGroupArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
646 6 has IamInstanceProfile => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
647 6 has ImageId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
648 6 has InstanceInitiatedShutdownBehavior => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
649 6 has InstanceType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Conditional');
650 6 has Ipv6AddressCount => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
651 6 has Ipv6Addresses => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::InstanceIpv6Address', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
652 6 has KernelId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Conditional');
653 6 has KeyName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
654 6 has LaunchTemplate => (isa => 'Cfn::Resource::Properties::AWS::EC2::Instance::LaunchTemplateSpecification', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
655 6 has LicenseSpecifications => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::LicenseSpecification', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
656 6 has Monitoring => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
657 6 has NetworkInterfaces => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::NetworkInterface', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
658 6 has PlacementGroupName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
659 6 has PrivateIpAddress => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
660 6 has RamdiskId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Conditional');
661 6 has SecurityGroupIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Conditional');
662 6 has SecurityGroups => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
663 6 has SourceDestCheck => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
664 6 has SsmAssociations => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::SsmAssociation', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
665 6 has SubnetId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
666 6 has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
667 6 has Tenancy => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Conditional');
668 6 has UserData => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Conditional');
669 6 has Volumes => (isa => 'ArrayOfCfn::Resource::Properties::AWS::EC2::Instance::Volume', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
670 }
671  
672 6 1;
673 ### main pod documentation begin ###
674  
675 =encoding UTF-8
676  
677 =head1 NAME
678  
679 Cfn::Resource::AWS::EC2::Instance - Cfn resource for AWS::EC2::Instance
680  
681 =head1 DESCRIPTION
682  
683 This module implements a Perl module that represents the CloudFormation object AWS::EC2::Instance.
684  
685 See L<Cfn> for more information on how to use it.
686  
687 =head1 AUTHOR
688  
689 Jose Luis Martinez
690 CAPSiDE
691 jlmartinez@capside.com
692  
693 =head1 COPYRIGHT and LICENSE
694  
695 Copyright (c) 2013 by CAPSiDE
696 This code is distributed under the Apache 2 License. The full text of the
697 license can be found in the LICENSE file included with this module.
698  
699 =cut
« Cfn/Resource/AWS/Lambda/Alias.pm ↑ Summary Cfn/Resource/AWS/ApplicationAutoScaling/ScalableTarget.pm »