Cfn/Resource/AWS/Serverless/HttpApi.pm

filter: Statementstmt 97.1% 34 / 35 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 85.7% 6 / 7 Podpod 0.0% 0 / 2 totaltotal 90.9% 40 / 44 CC 1 SCAR 0.2
CC
1
Cov
97%
__ANON__
1.1
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Cfn/Resource/AWS/DMS/ReplicationTask.pm ↑ Summary Cfn/Resource/AWS/Serverless/StateMachine.pm »
1 1 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
2  
3 coerce 'Cfn::Resource::Properties::AWS::Serverless::HttpApi',
4 from 'HashRef',
5 0 ▶ via { Cfn::Resource::Properties::AWS::Serverless::HttpApi->new(%$_) };
Subroutine __ANON__: not called CC=1 SCAR=1.2
6  
7 1 package Cfn::Resource::AWS::Serverless::HttpApi {
8 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 extends 'Cfn::Resource';
10 1 has Properties => ( isa => 'Cfn::Resource::Properties::AWS::Serverless::HttpApi', is => 'rw', coerce => 1 );
11  
12 sub supported_regions {
13 1 ▶ require Cfn::Resource::AWS::Lambda::Function;
Subroutine supported_regions: called CC=1 SCAR=0.0
Pod undocumented
14 1 Cfn::Resource::AWS::Lambda::Function->supported_regions;
15 }
16  
17 sub AttributeList {
18 1 ▶ []
Subroutine AttributeList: called CC=1 SCAR=0.0
Pod undocumented
19 }
20 }
21  
22 1 package Cfn::Resource::Properties::AWS::Serverless::HttpApi {
23 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
24 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
25 1 extends 'Cfn::Resource::Properties';
26  
27 1 has AccessLogSettings => ( isa => 'Cfn::Value', is => 'rw', coerce => 1);
28 1 has Auth => ( isa => 'Cfn::Value', is => 'rw', coerce => 1 );
29 1 has CorsConfiguration => ( isa => 'Cfn::Value', is => 'rw', coerce => 1 );
30 1 has DefaultRouteSettings => ( isa => 'Cfn::Value', is => 'rw', coerce => 1 );
31 1 has DefinitionBody => ( isa => 'Cfn::Value::String', is => 'rw', coerce => 1 );
32 1 has DefinitionUri => ( isa => 'Cfn::Value', is => 'rw', coerce => 1 );
33 1 has Domain => ( isa => 'Cfn::Value', is => 'rw', coerce => 1 );
34 1 has FailOnWarnings => ( isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1 );
35 1 has RouteSettings => ( isa => 'Cfn::Value', is => 'rw', coerce => 1 );
36 1 has StageName => ( isa => 'Cfn::Value::String', is => 'rw', coerce => 1 );
37 1 has StageVariables => ( isa => 'Cfn::Value', is => 'rw', coerce => 1);
38 1 has Tags => ( isa => 'Cfn::Value', is => 'rw', coerce => 1 );
39 }
40  
41 1 1;
« Cfn/Resource/AWS/DMS/ReplicationTask.pm ↑ Summary Cfn/Resource/AWS/Serverless/StateMachine.pm »