Cfn/Resource/AWS/ApiGatewayV2/Stage.pm

filter: Statementstmt 96.9% 64 / 66 Branchbran 50.0% 2 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 13 / 13 Podpod 0.0% 0 / 2 totaltotal 92.9% 79 / 85 CC 3 SCAR 2.9
CC
3
Cov
94%
__ANON__
2.3
__ANON__
2.3
BEGIN
1.0
CRAP 1.3
« Cfn/Resource/AWS/EC2/NetworkAclEntry.pm ↑ Summary Cfn/Resource/AWS/CodeDeploy/DeploymentConfig.pm »
1 # AWS::ApiGatewayV2::Stage generated from spec 18.4.0
2 2 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 coerce 'Cfn::Resource::Properties::AWS::ApiGatewayV2::Stage',
5 from 'HashRef',
6 2 ▶ via { Cfn::Resource::Properties::AWS::ApiGatewayV2::Stage->new( %$_ ) };
Subroutine __ANON__: called CC=1 SCAR=0.0
7  
8 2 package Cfn::Resource::AWS::ApiGatewayV2::Stage {
9 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 2 extends 'Cfn::Resource';
11 2 has Properties => (isa => 'Cfn::Resource::Properties::AWS::ApiGatewayV2::Stage', is => 'rw', coerce => 1);
12
13 sub AttributeList {
14 1 ▶ [ ]
Subroutine AttributeList: called CC=1 SCAR=0.0
Pod undocumented
15 }
16 sub supported_regions {
17 1 ▶ [ 'ap-east-1','ap-northeast-1','ap-northeast-2','ap-south-1','ap-southeast-1','ap-southeast-2','ca-central-1','eu-central-1','eu-north-1','eu-west-1','eu-west-2','eu-west-3','sa-east-1','us-east-1','us-east-2','us-gov-east-1','us-gov-west-1','us-west-1','us-west-2' ]
Subroutine supported_regions: called CC=1 SCAR=0.0
Pod undocumented
18 }
19 }
20  
21  
22  
23 2 subtype 'Cfn::Resource::Properties::AWS::ApiGatewayV2::Stage::RouteSettings',
24 as 'Cfn::Value';
25  
26 coerce 'Cfn::Resource::Properties::AWS::ApiGatewayV2::Stage::RouteSettings',
27 from 'HashRef',
28 via {
29 2 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 2 2
30 0 return $f
31 } else {
32 2 return Cfn::Resource::Properties::Object::AWS::ApiGatewayV2::Stage::RouteSettings->new( %$_ );
33 }
34 2 };
35  
36 2 package Cfn::Resource::Properties::Object::AWS::ApiGatewayV2::Stage::RouteSettings {
37 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
38 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
39 2 extends 'Cfn::Value::TypedValue';
40
41 2 has DataTraceEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42 2 has DetailedMetricsEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
43 2 has LoggingLevel => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
44 2 has ThrottlingBurstLimit => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
45 2 has ThrottlingRateLimit => (isa => 'Cfn::Value::Double', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
46 }
47  
48 2 subtype 'Cfn::Resource::Properties::AWS::ApiGatewayV2::Stage::AccessLogSettings',
49 as 'Cfn::Value';
50  
51 coerce 'Cfn::Resource::Properties::AWS::ApiGatewayV2::Stage::AccessLogSettings',
52 from 'HashRef',
53 via {
54 2 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 2 2
55 0 return $f
56 } else {
57 2 return Cfn::Resource::Properties::Object::AWS::ApiGatewayV2::Stage::AccessLogSettings->new( %$_ );
58 }
59 2 };
60  
61 2 package Cfn::Resource::Properties::Object::AWS::ApiGatewayV2::Stage::AccessLogSettings {
62 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
63 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
64 2 extends 'Cfn::Value::TypedValue';
65
66 2 has DestinationArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
67 2 has Format => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
68 }
69  
70 2 package Cfn::Resource::Properties::AWS::ApiGatewayV2::Stage {
71 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
72 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
73 2 extends 'Cfn::Resource::Properties';
74
75 2 has AccessLogSettings => (isa => 'Cfn::Resource::Properties::AWS::ApiGatewayV2::Stage::AccessLogSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
76 2 has ApiId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
77 2 has AutoDeploy => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
78 2 has ClientCertificateId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
79 2 has DefaultRouteSettings => (isa => 'Cfn::Resource::Properties::AWS::ApiGatewayV2::Stage::RouteSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
80 2 has DeploymentId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
81 2 has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
82 2 has RouteSettings => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
83 2 has StageName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
84 2 has StageVariables => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
85 2 has Tags => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
86 }
87  
88 2 1;
89 ### main pod documentation begin ###
90  
91 =encoding UTF-8
92  
93 =head1 NAME
94  
95 Cfn::Resource::AWS::ApiGatewayV2::Stage - Cfn resource for AWS::ApiGatewayV2::Stage
96  
97 =head1 DESCRIPTION
98  
99 This module implements a Perl module that represents the CloudFormation object AWS::ApiGatewayV2::Stage.
100  
101 See L<Cfn> for more information on how to use it.
102  
103 =head1 AUTHOR
104  
105 Jose Luis Martinez
106 CAPSiDE
107 jlmartinez@capside.com
108  
109 =head1 COPYRIGHT and LICENSE
110  
111 Copyright (c) 2013 by CAPSiDE
112 This code is distributed under the Apache 2 License. The full text of the
113 license can be found in the LICENSE file included with this module.
114  
115 =cut
« Cfn/Resource/AWS/EC2/NetworkAclEntry.pm ↑ Summary Cfn/Resource/AWS/CodeDeploy/DeploymentConfig.pm »