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 11.1.0
2 1     1   663 use Moose::Util::TypeConstraints;
  1         3  
  1         9  
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   1987 use Moose;
  1         3  
  1         9  
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 5 [ 'ApiId','Arn','GraphQLUrl' ]
15             }
16             sub supported_regions {
17 1     1 0 1108 [ 'ap-northeast-1','ap-northeast-2','ap-south-1','ap-southeast-1','ap-southeast-2','cn-north-1','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   7265 use Moose;
  1         3  
  1         6  
38 1     1   6550 use MooseX::StrictConstructor;
  1         36  
  1         15  
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   3525 use Moose;
  1         3  
  1         7  
62 1     1   6596 use MooseX::StrictConstructor;
  1         3  
  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   3398 use Moose;
  1         3  
  1         7  
85 1     1   6508 use MooseX::StrictConstructor;
  1         4  
  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   3272 use Moose;
  1         3  
  1         5  
109 1     1   6495 use MooseX::StrictConstructor;
  1         3  
  1         6  
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   3320 use Moose;
  1         3  
  1         8  
129 1     1   6498 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   3301 use Moose;
  1         3  
  1         5  
152 1     1   6411 use MooseX::StrictConstructor;
  1         2  
  1         5  
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   3295 use Moose;
  1         3  
  1         6  
172 1     1   6433 use MooseX::StrictConstructor;
  1         4  
  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   3276 use Moose;
  1         3  
  1         6  
182 1     1   6487 use MooseX::StrictConstructor;
  1         4  
  1         6  
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             has XrayEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
193             }
194              
195             1;