line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
6
|
|
|
6
|
|
3823
|
use Moose::Util::TypeConstraints; |
|
6
|
|
|
|
|
15
|
|
|
6
|
|
|
|
|
62
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::EC2::Instance', |
4
|
|
|
|
|
|
|
from 'HashRef', |
5
|
|
|
|
|
|
|
via { Cfn::Resource::Properties::AWS::EC2::Instance->new( %$_ ) }; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
package Cfn::Resource::AWS::EC2::Instance { |
8
|
6
|
|
|
6
|
|
14329
|
use Moose; |
|
6
|
|
|
|
|
15
|
|
|
6
|
|
|
|
|
60
|
|
9
|
|
|
|
|
|
|
extends 'Cfn::Resource'; |
10
|
|
|
|
|
|
|
has Properties => (isa => 'Cfn::Resource::Properties::AWS::EC2::Instance', is => 'rw', coerce => 1, required => 1); |
11
|
|
|
|
|
|
|
} |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::EC2::Instance { |
14
|
6
|
|
|
6
|
|
36176
|
use Moose; |
|
6
|
|
|
|
|
22
|
|
|
6
|
|
|
|
|
29
|
|
15
|
6
|
|
|
6
|
|
40831
|
use MooseX::StrictConstructor; |
|
6
|
|
|
|
|
50947
|
|
|
6
|
|
|
|
|
39
|
|
16
|
|
|
|
|
|
|
extends 'Cfn::Resource::Properties'; |
17
|
|
|
|
|
|
|
has AvailabilityZone => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
18
|
|
|
|
|
|
|
has BlockDeviceMappings => (isa => 'Cfn::Value::Array|Cfn::Value::Function', is => 'rw', coerce => 1); |
19
|
|
|
|
|
|
|
has DisableApiTermination => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
20
|
|
|
|
|
|
|
has EbsOptimized => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
21
|
|
|
|
|
|
|
has IamInstanceProfile => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
22
|
|
|
|
|
|
|
has ImageId => (isa => 'Cfn::Value', is => 'rw', coerce => 1, required => 1); |
23
|
|
|
|
|
|
|
has InstanceType => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
24
|
|
|
|
|
|
|
has KernelId => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
25
|
|
|
|
|
|
|
has KeyName => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
26
|
|
|
|
|
|
|
has Monitoring => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
27
|
|
|
|
|
|
|
has NetworkInterfaces => (isa => 'Cfn::Value::Array|Cfn::Value::Function', is => 'rw', coerce => 1); |
28
|
|
|
|
|
|
|
has PlacementGroupName => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
29
|
|
|
|
|
|
|
has PrivateIpAddress => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
30
|
|
|
|
|
|
|
has RamdiskId => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
31
|
|
|
|
|
|
|
has SecurityGroupIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function', is => 'rw', coerce => 1); |
32
|
|
|
|
|
|
|
has SecurityGroups => (isa => 'Cfn::Value::Array|Cfn::Value::Function', is => 'rw', coerce => 1); |
33
|
|
|
|
|
|
|
has SourceDestCheck => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
34
|
|
|
|
|
|
|
has SubnetId => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
35
|
|
|
|
|
|
|
has Tags => (isa => 'Cfn::Value::Array|Cfn::Value::Function', is => 'rw', coerce => 1); |
36
|
|
|
|
|
|
|
has Tenancy => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
37
|
|
|
|
|
|
|
has UserData => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
38
|
|
|
|
|
|
|
has Volumes => (isa => 'Cfn::Value::Array|Cfn::Value::Function', is => 'rw', coerce => 1); |
39
|
|
|
|
|
|
|
} |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
1; |