File Coverage

blib/lib/Cfn/Resource/AWS/ApiGatewayV2/ApiGatewayManagedOverrides.pm
Criterion Covered Total %
statement 44 44 100.0
branch n/a
condition n/a
subroutine 16 16 100.0
pod 0 2 0.0
total 60 62 96.7


line stmt bran cond sub pod time code
1             # AWS::ApiGatewayV2::ApiGatewayManagedOverrides generated from spec 18.4.0
2 1     1   769 use Moose::Util::TypeConstraints;
  1         3  
  1         13  
3              
4             coerce 'Cfn::Resource::Properties::AWS::ApiGatewayV2::ApiGatewayManagedOverrides',
5             from 'HashRef',
6             via { Cfn::Resource::Properties::AWS::ApiGatewayV2::ApiGatewayManagedOverrides->new( %$_ ) };
7              
8             package Cfn::Resource::AWS::ApiGatewayV2::ApiGatewayManagedOverrides {
9 1     1   2188 use Moose;
  1         2  
  1         8  
10             extends 'Cfn::Resource';
11             has Properties => (isa => 'Cfn::Resource::Properties::AWS::ApiGatewayV2::ApiGatewayManagedOverrides', is => 'rw', coerce => 1);
12            
13             sub AttributeList {
14 1     1 0 4 [ ]
15             }
16             sub supported_regions {
17 1     1 0 1102 [ 'us-east-1' ]
18             }
19             }
20              
21              
22              
23             subtype 'Cfn::Resource::Properties::AWS::ApiGatewayV2::ApiGatewayManagedOverrides::RouteSettings',
24             as 'Cfn::Value';
25              
26             coerce 'Cfn::Resource::Properties::AWS::ApiGatewayV2::ApiGatewayManagedOverrides::RouteSettings',
27             from 'HashRef',
28             via {
29             if (my $f = Cfn::TypeLibrary::try_function($_)) {
30             return $f
31             } else {
32             return Cfn::Resource::Properties::Object::AWS::ApiGatewayV2::ApiGatewayManagedOverrides::RouteSettings->new( %$_ );
33             }
34             };
35              
36             package Cfn::Resource::Properties::Object::AWS::ApiGatewayV2::ApiGatewayManagedOverrides::RouteSettings {
37 1     1   7397 use Moose;
  1         3  
  1         7  
38 1     1   6905 use MooseX::StrictConstructor;
  1         3  
  1         11  
39             extends 'Cfn::Value::TypedValue';
40            
41             has DataTraceEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42             has DetailedMetricsEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
43             has LoggingLevel => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
44             has ThrottlingBurstLimit => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
45             has ThrottlingRateLimit => (isa => 'Cfn::Value::Double', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
46             }
47              
48             subtype 'Cfn::Resource::Properties::AWS::ApiGatewayV2::ApiGatewayManagedOverrides::AccessLogSettings',
49             as 'Cfn::Value';
50              
51             coerce 'Cfn::Resource::Properties::AWS::ApiGatewayV2::ApiGatewayManagedOverrides::AccessLogSettings',
52             from 'HashRef',
53             via {
54             if (my $f = Cfn::TypeLibrary::try_function($_)) {
55             return $f
56             } else {
57             return Cfn::Resource::Properties::Object::AWS::ApiGatewayV2::ApiGatewayManagedOverrides::AccessLogSettings->new( %$_ );
58             }
59             };
60              
61             package Cfn::Resource::Properties::Object::AWS::ApiGatewayV2::ApiGatewayManagedOverrides::AccessLogSettings {
62 1     1   3814 use Moose;
  1         3  
  1         7  
63 1     1   6974 use MooseX::StrictConstructor;
  1         4  
  1         6  
64             extends 'Cfn::Value::TypedValue';
65            
66             has DestinationArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
67             has Format => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
68             }
69              
70             subtype 'Cfn::Resource::Properties::AWS::ApiGatewayV2::ApiGatewayManagedOverrides::StageOverrides',
71             as 'Cfn::Value';
72              
73             coerce 'Cfn::Resource::Properties::AWS::ApiGatewayV2::ApiGatewayManagedOverrides::StageOverrides',
74             from 'HashRef',
75             via {
76             if (my $f = Cfn::TypeLibrary::try_function($_)) {
77             return $f
78             } else {
79             return Cfn::Resource::Properties::Object::AWS::ApiGatewayV2::ApiGatewayManagedOverrides::StageOverrides->new( %$_ );
80             }
81             };
82              
83             package Cfn::Resource::Properties::Object::AWS::ApiGatewayV2::ApiGatewayManagedOverrides::StageOverrides {
84 1     1   3500 use Moose;
  1         3  
  1         6  
85 1     1   6753 use MooseX::StrictConstructor;
  1         3  
  1         7  
86             extends 'Cfn::Value::TypedValue';
87            
88             has AccessLogSettings => (isa => 'Cfn::Resource::Properties::AWS::ApiGatewayV2::ApiGatewayManagedOverrides::AccessLogSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
89             has AutoDeploy => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
90             has DefaultRouteSettings => (isa => 'Cfn::Resource::Properties::AWS::ApiGatewayV2::ApiGatewayManagedOverrides::RouteSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
91             has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
92             has RouteSettings => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
93             has StageVariables => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
94             }
95              
96             subtype 'Cfn::Resource::Properties::AWS::ApiGatewayV2::ApiGatewayManagedOverrides::RouteOverrides',
97             as 'Cfn::Value';
98              
99             coerce 'Cfn::Resource::Properties::AWS::ApiGatewayV2::ApiGatewayManagedOverrides::RouteOverrides',
100             from 'HashRef',
101             via {
102             if (my $f = Cfn::TypeLibrary::try_function($_)) {
103             return $f
104             } else {
105             return Cfn::Resource::Properties::Object::AWS::ApiGatewayV2::ApiGatewayManagedOverrides::RouteOverrides->new( %$_ );
106             }
107             };
108              
109             package Cfn::Resource::Properties::Object::AWS::ApiGatewayV2::ApiGatewayManagedOverrides::RouteOverrides {
110 1     1   3637 use Moose;
  1         3  
  1         5  
111 1     1   7244 use MooseX::StrictConstructor;
  1         3  
  1         7  
112             extends 'Cfn::Value::TypedValue';
113            
114             has AuthorizationScopes => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
115             has AuthorizationType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
116             has AuthorizerId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
117             has OperationName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
118             has Target => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
119             }
120              
121             subtype 'Cfn::Resource::Properties::AWS::ApiGatewayV2::ApiGatewayManagedOverrides::IntegrationOverrides',
122             as 'Cfn::Value';
123              
124             coerce 'Cfn::Resource::Properties::AWS::ApiGatewayV2::ApiGatewayManagedOverrides::IntegrationOverrides',
125             from 'HashRef',
126             via {
127             if (my $f = Cfn::TypeLibrary::try_function($_)) {
128             return $f
129             } else {
130             return Cfn::Resource::Properties::Object::AWS::ApiGatewayV2::ApiGatewayManagedOverrides::IntegrationOverrides->new( %$_ );
131             }
132             };
133              
134             package Cfn::Resource::Properties::Object::AWS::ApiGatewayV2::ApiGatewayManagedOverrides::IntegrationOverrides {
135 1     1   3716 use Moose;
  1         2  
  1         6  
136 1     1   6929 use MooseX::StrictConstructor;
  1         4  
  1         6  
137             extends 'Cfn::Value::TypedValue';
138            
139             has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
140             has IntegrationMethod => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
141             has PayloadFormatVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
142             has TimeoutInMillis => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
143             }
144              
145             package Cfn::Resource::Properties::AWS::ApiGatewayV2::ApiGatewayManagedOverrides {
146 1     1   3399 use Moose;
  1         4  
  1         7  
147 1     1   6680 use MooseX::StrictConstructor;
  1         3  
  1         5  
148             extends 'Cfn::Resource::Properties';
149            
150             has ApiId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
151             has Integration => (isa => 'Cfn::Resource::Properties::AWS::ApiGatewayV2::ApiGatewayManagedOverrides::IntegrationOverrides', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
152             has Route => (isa => 'Cfn::Resource::Properties::AWS::ApiGatewayV2::ApiGatewayManagedOverrides::RouteOverrides', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
153             has Stage => (isa => 'Cfn::Resource::Properties::AWS::ApiGatewayV2::ApiGatewayManagedOverrides::StageOverrides', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
154             }
155              
156             1;
157             ### main pod documentation begin ###
158              
159             =encoding UTF-8
160              
161             =head1 NAME
162              
163             Cfn::Resource::AWS::ApiGatewayV2::ApiGatewayManagedOverrides - Cfn resource for AWS::ApiGatewayV2::ApiGatewayManagedOverrides
164              
165             =head1 DESCRIPTION
166              
167             This module implements a Perl module that represents the CloudFormation object AWS::ApiGatewayV2::ApiGatewayManagedOverrides.
168              
169             See L<Cfn> for more information on how to use it.
170              
171             =head1 AUTHOR
172              
173             Jose Luis Martinez
174             CAPSiDE
175             jlmartinez@capside.com
176              
177             =head1 COPYRIGHT and LICENSE
178              
179             Copyright (c) 2013 by CAPSiDE
180             This code is distributed under the Apache 2 License. The full text of the
181             license can be found in the LICENSE file included with this module.
182              
183             =cut