Cfn/Resource/AWS/AppSync/GraphQLApi.pm

filter: Statementstmt 84.0% 116 / 138 Branchbran 0.0% 0 / 14 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 71.4% 20 / 28 Podpod 0.0% 0 / 2 totaltotal 74.7% 136 / 182 CC 8 SCAR 11.0
CC
8
Cov
76%
__ANON__
6.0
__ANON__
6.0
__ANON__
6.0
CRAP 3.0
« Cfn/Resource/AWS/Lambda/Function.pm ↑ Summary Cfn/Resource/AWS/DMS/Endpoint.pm »
1 # AWS::AppSync::GraphQLApi generated from spec 20.1.0
2 1 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 coerce 'Cfn::Resource::Properties::AWS::AppSync::GraphQLApi',
5 from 'HashRef',
6 0 ▶ via { Cfn::Resource::Properties::AWS::AppSync::GraphQLApi->new( %$_ ) };
Subroutine __ANON__: not called CC=1 SCAR=1.2
7  
8 1 package Cfn::Resource::AWS::AppSync::GraphQLApi {
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::AppSync::GraphQLApi', is => 'rw', coerce => 1);
12
13 sub AttributeList {
14 1 ▶ [ 'ApiId','Arn','GraphQLUrl' ]
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','cn-north-1','cn-northwest-1','eu-central-1','eu-west-1','eu-west-2','me-south-1','us-east-1','us-east-2','us-west-2' ]
Subroutine supported_regions: called CC=1 SCAR=0.0
Pod undocumented
18 }
19 }
20  
21  
22  
23 1 subtype 'Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::OpenIDConnectConfig',
24 as 'Cfn::Value';
25  
26 coerce 'Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::OpenIDConnectConfig',
27 from 'HashRef',
28 via {
29 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
30 0 return $f
31 } else {
32 0 return Cfn::Resource::Properties::Object::AWS::AppSync::GraphQLApi::OpenIDConnectConfig->new( %$_ );
33 }
34 1 };
35  
36 1 package Cfn::Resource::Properties::Object::AWS::AppSync::GraphQLApi::OpenIDConnectConfig {
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 AuthTTL => (isa => 'Cfn::Value::Double', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42 1 has ClientId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
43 1 has IatTTL => (isa => 'Cfn::Value::Double', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
44 1 has Issuer => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
45 }
46  
47 1 subtype 'Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::CognitoUserPoolConfig',
48 as 'Cfn::Value';
49  
50 coerce 'Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::CognitoUserPoolConfig',
51 from 'HashRef',
52 via {
53 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
54 0 return $f
55 } else {
56 0 return Cfn::Resource::Properties::Object::AWS::AppSync::GraphQLApi::CognitoUserPoolConfig->new( %$_ );
57 }
58 1 };
59  
60 1 package Cfn::Resource::Properties::Object::AWS::AppSync::GraphQLApi::CognitoUserPoolConfig {
61 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
62 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
63 1 extends 'Cfn::Value::TypedValue';
64
65 1 has AppIdClientRegex => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
66 1 has AwsRegion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
67 1 has UserPoolId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
68 }
69  
70 1 subtype 'Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::UserPoolConfig',
71 as 'Cfn::Value';
72  
73 coerce 'Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::UserPoolConfig',
74 from 'HashRef',
75 via {
76 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
77 0 return $f
78 } else {
79 0 return Cfn::Resource::Properties::Object::AWS::AppSync::GraphQLApi::UserPoolConfig->new( %$_ );
80 }
81 1 };
82  
83 1 package Cfn::Resource::Properties::Object::AWS::AppSync::GraphQLApi::UserPoolConfig {
84 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
85 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
86 1 extends 'Cfn::Value::TypedValue';
87
88 1 has AppIdClientRegex => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
89 1 has AwsRegion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
90 1 has DefaultAction => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
91 1 has UserPoolId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
92 }
93  
94 1 subtype 'Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::Tags',
95 as 'Cfn::Value';
96  
97 coerce 'Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::Tags',
98 from 'HashRef',
99 via {
100 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
101 0 return $f
102 } else {
103 0 return Cfn::Resource::Properties::Object::AWS::AppSync::GraphQLApi::Tags->new( %$_ );
104 }
105 1 };
106  
107 1 package Cfn::Resource::Properties::Object::AWS::AppSync::GraphQLApi::Tags {
108 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
109 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
110 1 extends 'Cfn::Value::TypedValue';
111
112 }
113  
114 1 subtype 'Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::LogConfig',
115 as 'Cfn::Value';
116  
117 coerce 'Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::LogConfig',
118 from 'HashRef',
119 via {
120 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
121 0 return $f
122 } else {
123 0 return Cfn::Resource::Properties::Object::AWS::AppSync::GraphQLApi::LogConfig->new( %$_ );
124 }
125 1 };
126  
127 1 package Cfn::Resource::Properties::Object::AWS::AppSync::GraphQLApi::LogConfig {
128 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
129 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
130 1 extends 'Cfn::Value::TypedValue';
131
132 1 has CloudWatchLogsRoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
133 1 has ExcludeVerboseContent => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
134 1 has FieldLogLevel => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
135 }
136  
137 1 subtype 'Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::AdditionalAuthenticationProviders',
138 as 'Cfn::Value';
139  
140 coerce 'Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::AdditionalAuthenticationProviders',
141 from 'HashRef',
142 via {
143 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
144 0 return $f
145 } else {
146 0 return Cfn::Resource::Properties::Object::AWS::AppSync::GraphQLApi::AdditionalAuthenticationProviders->new( %$_ );
147 }
148 1 };
149  
150 1 package Cfn::Resource::Properties::Object::AWS::AppSync::GraphQLApi::AdditionalAuthenticationProviders {
151 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
152 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
153 1 extends 'Cfn::Value::TypedValue';
154
155 }
156  
157 1 subtype 'Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::AdditionalAuthenticationProvider',
158 as 'Cfn::Value';
159  
160 coerce 'Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::AdditionalAuthenticationProvider',
161 from 'HashRef',
162 via {
163 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
164 0 return $f
165 } else {
166 0 return Cfn::Resource::Properties::Object::AWS::AppSync::GraphQLApi::AdditionalAuthenticationProvider->new( %$_ );
167 }
168 1 };
169  
170 1 package Cfn::Resource::Properties::Object::AWS::AppSync::GraphQLApi::AdditionalAuthenticationProvider {
171 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
172 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
173 1 extends 'Cfn::Value::TypedValue';
174
175 1 has AuthenticationType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
176 1 has OpenIDConnectConfig => (isa => 'Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::OpenIDConnectConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
177 1 has UserPoolConfig => (isa => 'Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::CognitoUserPoolConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
178 }
179  
180 1 package Cfn::Resource::Properties::AWS::AppSync::GraphQLApi {
181 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
182 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
183 1 extends 'Cfn::Resource::Properties';
184
185 1 has AdditionalAuthenticationProviders => (isa => 'Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::AdditionalAuthenticationProviders', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
186 1 has AuthenticationType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
187 1 has LogConfig => (isa => 'Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::LogConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
188 1 has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
189 1 has OpenIDConnectConfig => (isa => 'Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::OpenIDConnectConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
190 1 has Tags => (isa => 'Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::Tags', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
191 1 has UserPoolConfig => (isa => 'Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::UserPoolConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
192 1 has XrayEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
193 }
194  
195 1 1;
196 ### main pod documentation begin ###
197  
198 =encoding UTF-8
199  
200 =head1 NAME
201  
202 Cfn::Resource::AWS::AppSync::GraphQLApi - Cfn resource for AWS::AppSync::GraphQLApi
203  
204 =head1 DESCRIPTION
205  
206 This module implements a Perl module that represents the CloudFormation object AWS::AppSync::GraphQLApi.
207  
208 See L<Cfn> for more information on how to use it.
209  
210 =head1 AUTHOR
211  
212 Jose Luis Martinez
213 CAPSiDE
214 jlmartinez@capside.com
215  
216 =head1 COPYRIGHT and LICENSE
217  
218 Copyright (c) 2013 by CAPSiDE
219 This code is distributed under the Apache 2 License. The full text of the
220 license can be found in the LICENSE file included with this module.
221  
222 =cut
« Cfn/Resource/AWS/Lambda/Function.pm ↑ Summary Cfn/Resource/AWS/DMS/Endpoint.pm »