File Coverage

blib/lib/Cfn/Resource/AWS/AppSync/GraphQLApi.pm
Criterion Covered Total %
statement 56 56 100.0
branch n/a
condition n/a
subroutine 20 20 100.0
pod 0 2 0.0
total 76 78 97.4


line stmt bran cond sub pod time code
1             # AWS::AppSync::GraphQLApi generated from spec 5.3.0
2 1     1   757 use Moose::Util::TypeConstraints;
  1         3  
  1         11  
3              
4             coerce 'Cfn::Resource::Properties::AWS::AppSync::GraphQLApi',
5             from 'HashRef',
6             via { Cfn::Resource::Properties::AWS::AppSync::GraphQLApi->new( %$_ ) };
7              
8             package Cfn::Resource::AWS::AppSync::GraphQLApi {
9 1     1   2113 use Moose;
  1         2  
  1         10  
10             extends 'Cfn::Resource';
11             has Properties => (isa => 'Cfn::Resource::Properties::AWS::AppSync::GraphQLApi', is => 'rw', coerce => 1);
12            
13             sub AttributeList {
14 1     1 0 6 [ 'ApiId','Arn','GraphQLUrl' ]
15             }
16             sub supported_regions {
17 1     1 0 1508 [ 'ap-northeast-1','ap-northeast-2','ap-south-1','ap-southeast-1','ap-southeast-2','eu-central-1','eu-west-1','eu-west-2','us-east-1','us-east-2','us-west-2' ]
18             }
19             }
20              
21              
22              
23             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
30             return $f
31             } else {
32             return Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::OpenIDConnectConfigValue->new( %$_ );
33             }
34             };
35              
36             package Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::OpenIDConnectConfigValue {
37 1     1   7211 use Moose;
  1         4  
  1         5  
38 1     1   6605 use MooseX::StrictConstructor;
  1         4  
  1         12  
39             extends 'Cfn::Value::TypedValue';
40            
41             has AuthTTL => (isa => 'Cfn::Value::Double', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42             has ClientId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
43             has IatTTL => (isa => 'Cfn::Value::Double', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
44             has Issuer => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
45             }
46              
47             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
54             return $f
55             } else {
56             return Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::CognitoUserPoolConfigValue->new( %$_ );
57             }
58             };
59              
60             package Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::CognitoUserPoolConfigValue {
61 1     1   3540 use Moose;
  1         6  
  1         7  
62 1     1   6989 use MooseX::StrictConstructor;
  1         4  
  1         6  
63             extends 'Cfn::Value::TypedValue';
64            
65             has AppIdClientRegex => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
66             has AwsRegion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
67             has UserPoolId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
68             }
69              
70             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
77             return $f
78             } else {
79             return Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::UserPoolConfigValue->new( %$_ );
80             }
81             };
82              
83             package Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::UserPoolConfigValue {
84 1     1   3397 use Moose;
  1         4  
  1         6  
85 1     1   6612 use MooseX::StrictConstructor;
  1         3  
  1         5  
86             extends 'Cfn::Value::TypedValue';
87            
88             has AppIdClientRegex => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
89             has AwsRegion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
90             has DefaultAction => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
91             has UserPoolId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
92             }
93              
94             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
101             return $f
102             } else {
103             return Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::TagsValue->new( %$_ );
104             }
105             };
106              
107             package Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::TagsValue {
108 1     1   3366 use Moose;
  1         4  
  1         7  
109 1     1   6615 use MooseX::StrictConstructor;
  1         2  
  1         7  
110             extends 'Cfn::Value::TypedValue';
111            
112             }
113              
114             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
121             return $f
122             } else {
123             return Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::LogConfigValue->new( %$_ );
124             }
125             };
126              
127             package Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::LogConfigValue {
128 1     1   3357 use Moose;
  1         4  
  1         7  
129 1     1   6582 use MooseX::StrictConstructor;
  1         4  
  1         6  
130             extends 'Cfn::Value::TypedValue';
131            
132             has CloudWatchLogsRoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
133             has ExcludeVerboseContent => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
134             has FieldLogLevel => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
135             }
136              
137             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
144             return $f
145             } else {
146             return Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::AdditionalAuthenticationProvidersValue->new( %$_ );
147             }
148             };
149              
150             package Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::AdditionalAuthenticationProvidersValue {
151 1     1   3385 use Moose;
  1         3  
  1         5  
152 1     1   6595 use MooseX::StrictConstructor;
  1         3  
  1         7  
153             extends 'Cfn::Value::TypedValue';
154            
155             }
156              
157             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             if (my $f = Cfn::TypeLibrary::try_function($_)) {
164             return $f
165             } else {
166             return Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::AdditionalAuthenticationProviderValue->new( %$_ );
167             }
168             };
169              
170             package Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::AdditionalAuthenticationProviderValue {
171 1     1   3345 use Moose;
  1         3  
  1         5  
172 1     1   6588 use MooseX::StrictConstructor;
  1         3  
  1         5  
173             extends 'Cfn::Value::TypedValue';
174            
175             has AuthenticationType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
176             has OpenIDConnectConfig => (isa => 'Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::OpenIDConnectConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
177             has UserPoolConfig => (isa => 'Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::CognitoUserPoolConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
178             }
179              
180             package Cfn::Resource::Properties::AWS::AppSync::GraphQLApi {
181 1     1   3346 use Moose;
  1         2  
  1         6  
182 1     1   6619 use MooseX::StrictConstructor;
  1         3  
  1         5  
183             extends 'Cfn::Resource::Properties';
184            
185             has AdditionalAuthenticationProviders => (isa => 'Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::AdditionalAuthenticationProviders', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
186             has AuthenticationType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
187             has LogConfig => (isa => 'Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::LogConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
188             has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
189             has OpenIDConnectConfig => (isa => 'Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::OpenIDConnectConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
190             has Tags => (isa => 'Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::Tags', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
191             has UserPoolConfig => (isa => 'Cfn::Resource::Properties::AWS::AppSync::GraphQLApi::UserPoolConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
192             }
193              
194             1;