Cfn/Resource/AWS/ApiGatewayV2/Stage.pm

filter: Statementstmt 94.0% 63 / 67 Branchbran 50.0% 2 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 84.6% 11 / 13 Podpod 0.0% 0 / 2 totaltotal 88.3% 76 / 86 CC 3 SCAR 3.8
CC
3
Cov
92%
__ANON__
2.3
__ANON__
2.3
AttributeList
2.0
CRAP 1.5
« Cfn/Resource/AWS/EC2/NetworkAclEntry.pm ↑ Summary Cfn/Resource/AWS/IoT/Thing.pm »
1 # AWS::ApiGatewayV2::Stage generated from spec 34.0.0
2 1 ▶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 1 package Cfn::Resource::AWS::ApiGatewayV2::Stage {
9 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 extends 'Cfn::Resource';
11 1 has Properties => (isa => 'Cfn::Resource::Properties::AWS::ApiGatewayV2::Stage', is => 'rw', coerce => 1);
12
13 0 ▶ sub AttributeList {
Subroutine AttributeList: not called CC=1 SCAR=6.9
Pod undocumented
14 0 [ ]
15 }
16 0 ▶ sub supported_regions {
Subroutine supported_regions: not called CC=1 SCAR=6.9
Pod undocumented
17 0 [ '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' ]
18 }
19 }
20  
21  
22  
23 1 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 2 ▶ via {
Subroutine __ANON__: called CC=2 SCAR=8.1
29 2 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
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 1 };
35  
36 1 package Cfn::Resource::Properties::Object::AWS::ApiGatewayV2::Stage::RouteSettings {
37 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
38 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
39 1 extends 'Cfn::Value::TypedValue';
40
41 1 has DataTraceEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42 1 has DetailedMetricsEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
43 1 has LoggingLevel => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
44 1 has ThrottlingBurstLimit => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
45 1 has ThrottlingRateLimit => (isa => 'Cfn::Value::Double', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
46 }
47  
48 1 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 2 ▶ via {
Subroutine __ANON__: called CC=2 SCAR=8.1
54 2 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
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 1 };
60  
61 1 package Cfn::Resource::Properties::Object::AWS::ApiGatewayV2::Stage::AccessLogSettings {
62 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
63 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
64 1 extends 'Cfn::Value::TypedValue';
65
66 1 has DestinationArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
67 1 has Format => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
68 }
69  
70 1 package Cfn::Resource::Properties::AWS::ApiGatewayV2::Stage {
71 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
72 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
73 1 extends 'Cfn::Resource::Properties';
74
75 1 has AccessLogSettings => (isa => 'Cfn::Resource::Properties::AWS::ApiGatewayV2::Stage::AccessLogSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
76 1 has AccessPolicyId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
77 1 has ApiId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
78 1 has AutoDeploy => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
79 1 has ClientCertificateId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
80 1 has DefaultRouteSettings => (isa => 'Cfn::Resource::Properties::AWS::ApiGatewayV2::Stage::RouteSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
81 1 has DeploymentId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
82 1 has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
83 1 has RouteSettings => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
84 1 has StageName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
85 1 has StageVariables => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
86 1 has Tags => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
87 }
88  
89 1 1;
90 ### main pod documentation begin ###
91  
92 =encoding UTF-8
93  
94 =head1 NAME
95  
96 Cfn::Resource::AWS::ApiGatewayV2::Stage - Cfn resource for AWS::ApiGatewayV2::Stage
97  
98 =head1 DESCRIPTION
99  
100 This module implements a Perl module that represents the CloudFormation object AWS::ApiGatewayV2::Stage.
101  
102 See L<Cfn> for more information on how to use it.
103  
104 =head1 AUTHOR
105  
106 Jose Luis Martinez
107 CAPSiDE
108 jlmartinez@capside.com
109  
110 =head1 COPYRIGHT and LICENSE
111  
112 Copyright (c) 2013 by CAPSiDE
113 This code is distributed under the Apache 2 License. The full text of the
114 license can be found in the LICENSE file included with this module.
115  
116 =cut
« Cfn/Resource/AWS/EC2/NetworkAclEntry.pm ↑ Summary Cfn/Resource/AWS/IoT/Thing.pm »