line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
691
|
use Moose::Util::TypeConstraints; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
12
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Serverless::LayerVersion', |
4
|
|
|
|
|
|
|
from 'HashRef', |
5
|
|
|
|
|
|
|
via { Cfn::Resource::Properties::AWS::Serverless::LayerVersion->new(%$_) }; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
package Cfn::Resource::AWS::Serverless::LayerVersion { |
8
|
1
|
|
|
1
|
|
2156
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
9
|
|
|
|
|
|
|
extends 'Cfn::Resource'; |
10
|
|
|
|
|
|
|
has Properties => ( isa => 'Cfn::Resource::Properties::AWS::Serverless::LayerVersion', is => 'rw', coerce => 1 ); |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub supported_regions { |
13
|
1
|
|
|
1
|
0
|
1069
|
require Cfn::Resource::AWS::Lambda::Function; |
14
|
1
|
|
|
|
|
9
|
Cfn::Resource::AWS::Lambda::Function->supported_regions; |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub AttributeList { |
18
|
1
|
|
|
1
|
0
|
5
|
[] |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::Serverless::LayerVersion { |
23
|
1
|
|
|
1
|
|
7174
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
24
|
1
|
|
|
1
|
|
6936
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
11
|
|
25
|
|
|
|
|
|
|
extends 'Cfn::Resource::Properties'; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
has LayerName => ( isa => 'Cfn::Value::String', is => 'rw', coerce => 1 ); |
28
|
|
|
|
|
|
|
has Description => ( isa => 'Cfn::Value::String', is => 'rw', coerce => 1 ); |
29
|
|
|
|
|
|
|
has ContentUri => ( isa => 'Cfn::Value', is => 'rw', coerce => 1, required => 1 ); |
30
|
|
|
|
|
|
|
has CompatibleRuntimes => ( isa => 'Cfn::Value::String', is => 'rw', coerce => 1 ); |
31
|
|
|
|
|
|
|
has LicenseInfo => ( isa => 'Cfn::Value::String', is => 'rw', coerce => 1 ); |
32
|
|
|
|
|
|
|
has RetentionPolicy => ( isa => 'Cfn::Value::String', is => 'rw', coerce => 1 ); |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
1; |