line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# AWS::ApiGateway::RestApi generated from spec 9.1.0 |
2
|
5
|
|
|
5
|
|
2990
|
use Moose::Util::TypeConstraints; |
|
5
|
|
|
|
|
13
|
|
|
5
|
|
|
|
|
47
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::ApiGateway::RestApi', |
5
|
|
|
|
|
|
|
from 'HashRef', |
6
|
|
|
|
|
|
|
via { Cfn::Resource::Properties::AWS::ApiGateway::RestApi->new( %$_ ) }; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
package Cfn::Resource::AWS::ApiGateway::RestApi { |
9
|
5
|
|
|
5
|
|
9419
|
use Moose; |
|
5
|
|
|
|
|
11
|
|
|
5
|
|
|
|
|
34
|
|
10
|
|
|
|
|
|
|
extends 'Cfn::Resource'; |
11
|
|
|
|
|
|
|
has Properties => (isa => 'Cfn::Resource::Properties::AWS::ApiGateway::RestApi', is => 'rw', coerce => 1); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub AttributeList { |
14
|
4
|
|
|
4
|
0
|
31
|
[ 'RootResourceId' ] |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
sub supported_regions { |
17
|
2
|
|
|
2
|
0
|
950
|
[ 'ap-east-1','ap-northeast-1','ap-northeast-2','ap-northeast-3','ap-south-1','ap-southeast-1','ap-southeast-2','ca-central-1','cn-north-1','cn-northwest-1','eu-central-1','eu-north-1','eu-west-1','eu-west-2','eu-west-3','me-south-1','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
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::ApiGateway::RestApi::S3Location', |
24
|
|
|
|
|
|
|
as 'Cfn::Value'; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::ApiGateway::RestApi::S3Location', |
27
|
|
|
|
|
|
|
from 'HashRef', |
28
|
|
|
|
|
|
|
via { |
29
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
30
|
|
|
|
|
|
|
return $f |
31
|
|
|
|
|
|
|
} else { |
32
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::ApiGateway::RestApi::S3LocationValue->new( %$_ ); |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
}; |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::ApiGateway::RestApi::S3LocationValue { |
37
|
5
|
|
|
5
|
|
31872
|
use Moose; |
|
5
|
|
|
|
|
11
|
|
|
5
|
|
|
|
|
21
|
|
38
|
5
|
|
|
5
|
|
28866
|
use MooseX::StrictConstructor; |
|
5
|
|
|
|
|
20578
|
|
|
5
|
|
|
|
|
39
|
|
39
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
has Bucket => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
42
|
|
|
|
|
|
|
has ETag => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
43
|
|
|
|
|
|
|
has Key => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
44
|
|
|
|
|
|
|
has Version => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
45
|
|
|
|
|
|
|
} |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::ApiGateway::RestApi::EndpointConfiguration', |
48
|
|
|
|
|
|
|
as 'Cfn::Value'; |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::ApiGateway::RestApi::EndpointConfiguration', |
51
|
|
|
|
|
|
|
from 'HashRef', |
52
|
|
|
|
|
|
|
via { |
53
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
54
|
|
|
|
|
|
|
return $f |
55
|
|
|
|
|
|
|
} else { |
56
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::ApiGateway::RestApi::EndpointConfigurationValue->new( %$_ ); |
57
|
|
|
|
|
|
|
} |
58
|
|
|
|
|
|
|
}; |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::ApiGateway::RestApi::EndpointConfigurationValue { |
61
|
5
|
|
|
5
|
|
20855
|
use Moose; |
|
5
|
|
|
|
|
15
|
|
|
5
|
|
|
|
|
30
|
|
62
|
5
|
|
|
5
|
|
28330
|
use MooseX::StrictConstructor; |
|
5
|
|
|
|
|
12
|
|
|
5
|
|
|
|
|
25
|
|
63
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
has Types => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
66
|
|
|
|
|
|
|
has VpcEndpointIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
67
|
|
|
|
|
|
|
} |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::ApiGateway::RestApi { |
70
|
5
|
|
|
5
|
|
13873
|
use Moose; |
|
5
|
|
|
|
|
11
|
|
|
5
|
|
|
|
|
23
|
|
71
|
5
|
|
|
5
|
|
28138
|
use MooseX::StrictConstructor; |
|
5
|
|
|
|
|
12
|
|
|
5
|
|
|
|
|
22
|
|
72
|
|
|
|
|
|
|
extends 'Cfn::Resource::Properties'; |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
has ApiKeySourceType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
75
|
|
|
|
|
|
|
has BinaryMediaTypes => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
76
|
|
|
|
|
|
|
has Body => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
77
|
|
|
|
|
|
|
has BodyS3Location => (isa => 'Cfn::Resource::Properties::AWS::ApiGateway::RestApi::S3Location', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
78
|
|
|
|
|
|
|
has CloneFrom => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
79
|
|
|
|
|
|
|
has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
80
|
|
|
|
|
|
|
has EndpointConfiguration => (isa => 'Cfn::Resource::Properties::AWS::ApiGateway::RestApi::EndpointConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
81
|
|
|
|
|
|
|
has FailOnWarnings => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
82
|
|
|
|
|
|
|
has MinimumCompressionSize => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
83
|
|
|
|
|
|
|
has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
84
|
|
|
|
|
|
|
has Parameters => (isa => 'Cfn::Value::Hash|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
85
|
|
|
|
|
|
|
has Policy => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
86
|
|
|
|
|
|
|
has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
87
|
|
|
|
|
|
|
} |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
1; |