line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
715
|
use Moose::Util::TypeConstraints; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
11
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::Serverless::HttpApi', |
4
|
|
|
|
|
|
|
from 'HashRef', |
5
|
|
|
|
|
|
|
via { Cfn::Resource::Properties::AWS::Serverless::HttpApi->new(%$_) }; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
package Cfn::Resource::AWS::Serverless::HttpApi { |
8
|
1
|
|
|
1
|
|
2276
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
8
|
|
9
|
|
|
|
|
|
|
extends 'Cfn::Resource'; |
10
|
|
|
|
|
|
|
has Properties => ( isa => 'Cfn::Resource::Properties::AWS::Serverless::HttpApi', is => 'rw', coerce => 1 ); |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub supported_regions { |
13
|
1
|
|
|
1
|
0
|
1133
|
require Cfn::Resource::AWS::Lambda::Function; |
14
|
1
|
|
|
|
|
10
|
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::HttpApi { |
23
|
1
|
|
|
1
|
|
7673
|
use Moose; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
12
|
|
24
|
1
|
|
|
1
|
|
6732
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
12
|
|
25
|
|
|
|
|
|
|
extends 'Cfn::Resource::Properties'; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
has AccessLogSettings => ( isa => 'Cfn::Value', is => 'rw', coerce => 1); |
28
|
|
|
|
|
|
|
has Auth => ( isa => 'Cfn::Value', is => 'rw', coerce => 1 ); |
29
|
|
|
|
|
|
|
has CorsConfiguration => ( isa => 'Cfn::Value', is => 'rw', coerce => 1 ); |
30
|
|
|
|
|
|
|
has DefaultRouteSettings => ( isa => 'Cfn::Value', is => 'rw', coerce => 1 ); |
31
|
|
|
|
|
|
|
has DefinitionBody => ( isa => 'Cfn::Value::String', is => 'rw', coerce => 1 ); |
32
|
|
|
|
|
|
|
has DefinitionUri => ( isa => 'Cfn::Value', is => 'rw', coerce => 1 ); |
33
|
|
|
|
|
|
|
has Domain => ( isa => 'Cfn::Value', is => 'rw', coerce => 1 ); |
34
|
|
|
|
|
|
|
has FailOnWarnings => ( isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1 ); |
35
|
|
|
|
|
|
|
has RouteSettings => ( isa => 'Cfn::Value', is => 'rw', coerce => 1 ); |
36
|
|
|
|
|
|
|
has StageName => ( isa => 'Cfn::Value::String', is => 'rw', coerce => 1 ); |
37
|
|
|
|
|
|
|
has StageVariables => ( isa => 'Cfn::Value', is => 'rw', coerce => 1); |
38
|
|
|
|
|
|
|
has Tags => ( isa => 'Cfn::Value', is => 'rw', coerce => 1 ); |
39
|
|
|
|
|
|
|
} |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
1; |