line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
610
|
use Moose::Util::TypeConstraints; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
13
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::EC2::NetworkInterface', |
4
|
|
|
|
|
|
|
from 'HashRef', |
5
|
|
|
|
|
|
|
via { Cfn::Resource::Properties::AWS::EC2::NetworkInterface->new( %$_ ) }; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
package Cfn::Resource::AWS::EC2::NetworkInterface { |
8
|
1
|
|
|
1
|
|
2101
|
use Moose; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
8
|
|
9
|
|
|
|
|
|
|
extends 'Cfn::Resource'; |
10
|
|
|
|
|
|
|
has Properties => (isa => 'Cfn::Resource::Properties::AWS::EC2::NetworkInterface', is => 'rw', coerce => 1, required => 1); |
11
|
|
|
|
|
|
|
} |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::EC2::NetworkInterface { |
14
|
1
|
|
|
1
|
|
7098
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
15
|
1
|
|
|
1
|
|
6411
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
8
|
|
16
|
|
|
|
|
|
|
extends 'Cfn::Resource::Properties'; |
17
|
|
|
|
|
|
|
has Description => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
18
|
|
|
|
|
|
|
has GroupSet => (isa => 'Cfn::Value::Array|Cfn::Value::Function', is => 'rw', coerce => 1); |
19
|
|
|
|
|
|
|
has PrivateIpAddress => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
20
|
|
|
|
|
|
|
has PrivateIpAddresses => (isa => 'Cfn::Value::Array|Cfn::Value::Function', is => 'rw', coerce => 1); |
21
|
|
|
|
|
|
|
has SecondaryPrivateIpAddressCount => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
22
|
|
|
|
|
|
|
has SourceDestCheck => (isa => 'Cfn::Value', is => 'rw', coerce => 1); |
23
|
|
|
|
|
|
|
has SubnetId => (isa => 'Cfn::Value', is => 'rw', coerce => 1, required => 1); |
24
|
|
|
|
|
|
|
has Tags => (isa => 'Cfn::Value::Array|Cfn::Value::Function', is => 'rw', coerce => 1); |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
1; |