line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# AWS::CodeBuild::Project generated from spec 11.1.0 |
2
|
2
|
|
|
2
|
|
1451
|
use Moose::Util::TypeConstraints; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
20
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::CodeBuild::Project', |
5
|
|
|
|
|
|
|
from 'HashRef', |
6
|
|
|
|
|
|
|
via { Cfn::Resource::Properties::AWS::CodeBuild::Project->new( %$_ ) }; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
package Cfn::Resource::AWS::CodeBuild::Project { |
9
|
2
|
|
|
2
|
|
4246
|
use Moose; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
15
|
|
10
|
|
|
|
|
|
|
extends 'Cfn::Resource'; |
11
|
|
|
|
|
|
|
has Properties => (isa => 'Cfn::Resource::Properties::AWS::CodeBuild::Project', is => 'rw', coerce => 1); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub AttributeList { |
14
|
1
|
|
|
1
|
0
|
4
|
[ 'Arn' ] |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
sub supported_regions { |
17
|
1
|
|
|
1
|
0
|
1226
|
[ 'ap-east-1','ap-northeast-1','ap-northeast-2','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::CodeBuild::Project::SourceAuth', |
24
|
|
|
|
|
|
|
as 'Cfn::Value'; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::CodeBuild::Project::SourceAuth', |
27
|
|
|
|
|
|
|
from 'HashRef', |
28
|
|
|
|
|
|
|
via { |
29
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
30
|
|
|
|
|
|
|
return $f |
31
|
|
|
|
|
|
|
} else { |
32
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::CodeBuild::Project::SourceAuthValue->new( %$_ ); |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
}; |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::CodeBuild::Project::SourceAuthValue { |
37
|
2
|
|
|
2
|
|
14352
|
use Moose; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
11
|
|
38
|
2
|
|
|
2
|
|
13341
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
22
|
|
39
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
has Resource => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
42
|
|
|
|
|
|
|
has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
43
|
|
|
|
|
|
|
} |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::CodeBuild::Project::S3LogsConfig', |
46
|
|
|
|
|
|
|
as 'Cfn::Value'; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::CodeBuild::Project::S3LogsConfig', |
49
|
|
|
|
|
|
|
from 'HashRef', |
50
|
|
|
|
|
|
|
via { |
51
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
52
|
|
|
|
|
|
|
return $f |
53
|
|
|
|
|
|
|
} else { |
54
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::CodeBuild::Project::S3LogsConfigValue->new( %$_ ); |
55
|
|
|
|
|
|
|
} |
56
|
|
|
|
|
|
|
}; |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::CodeBuild::Project::S3LogsConfigValue { |
59
|
2
|
|
|
2
|
|
7095
|
use Moose; |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
10
|
|
60
|
2
|
|
|
2
|
|
13067
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
10
|
|
61
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
has EncryptionDisabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
64
|
|
|
|
|
|
|
has Location => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
65
|
|
|
|
|
|
|
has Status => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
66
|
|
|
|
|
|
|
} |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::CodeBuild::Project::RegistryCredential', |
69
|
|
|
|
|
|
|
as 'Cfn::Value'; |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::CodeBuild::Project::RegistryCredential', |
72
|
|
|
|
|
|
|
from 'HashRef', |
73
|
|
|
|
|
|
|
via { |
74
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
75
|
|
|
|
|
|
|
return $f |
76
|
|
|
|
|
|
|
} else { |
77
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::CodeBuild::Project::RegistryCredentialValue->new( %$_ ); |
78
|
|
|
|
|
|
|
} |
79
|
|
|
|
|
|
|
}; |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::CodeBuild::Project::RegistryCredentialValue { |
82
|
2
|
|
|
2
|
|
6807
|
use Moose; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
18
|
|
83
|
2
|
|
|
2
|
|
13127
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
11
|
|
84
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
has Credential => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
87
|
|
|
|
|
|
|
has CredentialProvider => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
88
|
|
|
|
|
|
|
} |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::CodeBuild::Project::GitSubmodulesConfig', |
91
|
|
|
|
|
|
|
as 'Cfn::Value'; |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::CodeBuild::Project::GitSubmodulesConfig', |
94
|
|
|
|
|
|
|
from 'HashRef', |
95
|
|
|
|
|
|
|
via { |
96
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
97
|
|
|
|
|
|
|
return $f |
98
|
|
|
|
|
|
|
} else { |
99
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::CodeBuild::Project::GitSubmodulesConfigValue->new( %$_ ); |
100
|
|
|
|
|
|
|
} |
101
|
|
|
|
|
|
|
}; |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::CodeBuild::Project::GitSubmodulesConfigValue { |
104
|
2
|
|
|
2
|
|
6735
|
use Moose; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
13
|
|
105
|
2
|
|
|
2
|
|
12940
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
11
|
|
106
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
has FetchSubmodules => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
109
|
|
|
|
|
|
|
} |
110
|
|
|
|
|
|
|
subtype 'ArrayOfCfn::Resource::Properties::AWS::CodeBuild::Project::FilterGroup', |
111
|
|
|
|
|
|
|
as 'Cfn::Value', |
112
|
|
|
|
|
|
|
where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, |
113
|
|
|
|
|
|
|
message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
coerce 'ArrayOfCfn::Resource::Properties::AWS::CodeBuild::Project::FilterGroup', |
116
|
|
|
|
|
|
|
from 'HashRef', |
117
|
|
|
|
|
|
|
via { |
118
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
119
|
|
|
|
|
|
|
return $f |
120
|
|
|
|
|
|
|
} else { |
121
|
|
|
|
|
|
|
die 'Only accepts functions'; |
122
|
|
|
|
|
|
|
} |
123
|
|
|
|
|
|
|
}, |
124
|
|
|
|
|
|
|
from 'ArrayRef', |
125
|
|
|
|
|
|
|
via { |
126
|
|
|
|
|
|
|
Cfn::Value::Array->new(Value => [ |
127
|
|
|
|
|
|
|
map { |
128
|
|
|
|
|
|
|
Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::CodeBuild::Project::FilterGroup')->coerce($_) |
129
|
|
|
|
|
|
|
} @$_ |
130
|
|
|
|
|
|
|
]); |
131
|
|
|
|
|
|
|
}; |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::CodeBuild::Project::FilterGroup', |
134
|
|
|
|
|
|
|
as 'Cfn::Value'; |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::CodeBuild::Project::FilterGroup', |
137
|
|
|
|
|
|
|
from 'HashRef', |
138
|
|
|
|
|
|
|
via { |
139
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
140
|
|
|
|
|
|
|
return $f |
141
|
|
|
|
|
|
|
} else { |
142
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::CodeBuild::Project::FilterGroupValue->new( %$_ ); |
143
|
|
|
|
|
|
|
} |
144
|
|
|
|
|
|
|
}; |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::CodeBuild::Project::FilterGroupValue { |
147
|
2
|
|
|
2
|
|
7402
|
use Moose; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
14
|
|
148
|
2
|
|
|
2
|
|
13051
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
13
|
|
149
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
} |
152
|
|
|
|
|
|
|
subtype 'ArrayOfCfn::Resource::Properties::AWS::CodeBuild::Project::EnvironmentVariable', |
153
|
|
|
|
|
|
|
as 'Cfn::Value', |
154
|
|
|
|
|
|
|
where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, |
155
|
|
|
|
|
|
|
message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
coerce 'ArrayOfCfn::Resource::Properties::AWS::CodeBuild::Project::EnvironmentVariable', |
158
|
|
|
|
|
|
|
from 'HashRef', |
159
|
|
|
|
|
|
|
via { |
160
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
161
|
|
|
|
|
|
|
return $f |
162
|
|
|
|
|
|
|
} else { |
163
|
|
|
|
|
|
|
die 'Only accepts functions'; |
164
|
|
|
|
|
|
|
} |
165
|
|
|
|
|
|
|
}, |
166
|
|
|
|
|
|
|
from 'ArrayRef', |
167
|
|
|
|
|
|
|
via { |
168
|
|
|
|
|
|
|
Cfn::Value::Array->new(Value => [ |
169
|
|
|
|
|
|
|
map { |
170
|
|
|
|
|
|
|
Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::CodeBuild::Project::EnvironmentVariable')->coerce($_) |
171
|
|
|
|
|
|
|
} @$_ |
172
|
|
|
|
|
|
|
]); |
173
|
|
|
|
|
|
|
}; |
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::CodeBuild::Project::EnvironmentVariable', |
176
|
|
|
|
|
|
|
as 'Cfn::Value'; |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::CodeBuild::Project::EnvironmentVariable', |
179
|
|
|
|
|
|
|
from 'HashRef', |
180
|
|
|
|
|
|
|
via { |
181
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
182
|
|
|
|
|
|
|
return $f |
183
|
|
|
|
|
|
|
} else { |
184
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::CodeBuild::Project::EnvironmentVariableValue->new( %$_ ); |
185
|
|
|
|
|
|
|
} |
186
|
|
|
|
|
|
|
}; |
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::CodeBuild::Project::EnvironmentVariableValue { |
189
|
2
|
|
|
2
|
|
7009
|
use Moose; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
20
|
|
190
|
2
|
|
|
2
|
|
12997
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
11
|
|
191
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
194
|
|
|
|
|
|
|
has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
195
|
|
|
|
|
|
|
has Value => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
196
|
|
|
|
|
|
|
} |
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::CodeBuild::Project::CloudWatchLogsConfig', |
199
|
|
|
|
|
|
|
as 'Cfn::Value'; |
200
|
|
|
|
|
|
|
|
201
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::CodeBuild::Project::CloudWatchLogsConfig', |
202
|
|
|
|
|
|
|
from 'HashRef', |
203
|
|
|
|
|
|
|
via { |
204
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
205
|
|
|
|
|
|
|
return $f |
206
|
|
|
|
|
|
|
} else { |
207
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::CodeBuild::Project::CloudWatchLogsConfigValue->new( %$_ ); |
208
|
|
|
|
|
|
|
} |
209
|
|
|
|
|
|
|
}; |
210
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::CodeBuild::Project::CloudWatchLogsConfigValue { |
212
|
2
|
|
|
2
|
|
6846
|
use Moose; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
13
|
|
213
|
2
|
|
|
2
|
|
13038
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
10
|
|
214
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
215
|
|
|
|
|
|
|
|
216
|
|
|
|
|
|
|
has GroupName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
217
|
|
|
|
|
|
|
has Status => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
218
|
|
|
|
|
|
|
has StreamName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
219
|
|
|
|
|
|
|
} |
220
|
|
|
|
|
|
|
|
221
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::CodeBuild::Project::WebhookFilter', |
222
|
|
|
|
|
|
|
as 'Cfn::Value'; |
223
|
|
|
|
|
|
|
|
224
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::CodeBuild::Project::WebhookFilter', |
225
|
|
|
|
|
|
|
from 'HashRef', |
226
|
|
|
|
|
|
|
via { |
227
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
228
|
|
|
|
|
|
|
return $f |
229
|
|
|
|
|
|
|
} else { |
230
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::CodeBuild::Project::WebhookFilterValue->new( %$_ ); |
231
|
|
|
|
|
|
|
} |
232
|
|
|
|
|
|
|
}; |
233
|
|
|
|
|
|
|
|
234
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::CodeBuild::Project::WebhookFilterValue { |
235
|
2
|
|
|
2
|
|
6802
|
use Moose; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
12
|
|
236
|
2
|
|
|
2
|
|
13239
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
11
|
|
237
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
238
|
|
|
|
|
|
|
|
239
|
|
|
|
|
|
|
has ExcludeMatchedPattern => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
240
|
|
|
|
|
|
|
has Pattern => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
241
|
|
|
|
|
|
|
has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
242
|
|
|
|
|
|
|
} |
243
|
|
|
|
|
|
|
|
244
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::CodeBuild::Project::VpcConfig', |
245
|
|
|
|
|
|
|
as 'Cfn::Value'; |
246
|
|
|
|
|
|
|
|
247
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::CodeBuild::Project::VpcConfig', |
248
|
|
|
|
|
|
|
from 'HashRef', |
249
|
|
|
|
|
|
|
via { |
250
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
251
|
|
|
|
|
|
|
return $f |
252
|
|
|
|
|
|
|
} else { |
253
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::CodeBuild::Project::VpcConfigValue->new( %$_ ); |
254
|
|
|
|
|
|
|
} |
255
|
|
|
|
|
|
|
}; |
256
|
|
|
|
|
|
|
|
257
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::CodeBuild::Project::VpcConfigValue { |
258
|
2
|
|
|
2
|
|
6784
|
use Moose; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
16
|
|
259
|
2
|
|
|
2
|
|
13091
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
12
|
|
260
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
261
|
|
|
|
|
|
|
|
262
|
|
|
|
|
|
|
has SecurityGroupIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
263
|
|
|
|
|
|
|
has Subnets => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
264
|
|
|
|
|
|
|
has VpcId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
265
|
|
|
|
|
|
|
} |
266
|
|
|
|
|
|
|
subtype 'ArrayOfCfn::Resource::Properties::AWS::CodeBuild::Project::Source', |
267
|
|
|
|
|
|
|
as 'Cfn::Value', |
268
|
|
|
|
|
|
|
where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, |
269
|
|
|
|
|
|
|
message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; |
270
|
|
|
|
|
|
|
|
271
|
|
|
|
|
|
|
coerce 'ArrayOfCfn::Resource::Properties::AWS::CodeBuild::Project::Source', |
272
|
|
|
|
|
|
|
from 'HashRef', |
273
|
|
|
|
|
|
|
via { |
274
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
275
|
|
|
|
|
|
|
return $f |
276
|
|
|
|
|
|
|
} else { |
277
|
|
|
|
|
|
|
die 'Only accepts functions'; |
278
|
|
|
|
|
|
|
} |
279
|
|
|
|
|
|
|
}, |
280
|
|
|
|
|
|
|
from 'ArrayRef', |
281
|
|
|
|
|
|
|
via { |
282
|
|
|
|
|
|
|
Cfn::Value::Array->new(Value => [ |
283
|
|
|
|
|
|
|
map { |
284
|
|
|
|
|
|
|
Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::CodeBuild::Project::Source')->coerce($_) |
285
|
|
|
|
|
|
|
} @$_ |
286
|
|
|
|
|
|
|
]); |
287
|
|
|
|
|
|
|
}; |
288
|
|
|
|
|
|
|
|
289
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::CodeBuild::Project::Source', |
290
|
|
|
|
|
|
|
as 'Cfn::Value'; |
291
|
|
|
|
|
|
|
|
292
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::CodeBuild::Project::Source', |
293
|
|
|
|
|
|
|
from 'HashRef', |
294
|
|
|
|
|
|
|
via { |
295
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
296
|
|
|
|
|
|
|
return $f |
297
|
|
|
|
|
|
|
} else { |
298
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::CodeBuild::Project::SourceValue->new( %$_ ); |
299
|
|
|
|
|
|
|
} |
300
|
|
|
|
|
|
|
}; |
301
|
|
|
|
|
|
|
|
302
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::CodeBuild::Project::SourceValue { |
303
|
2
|
|
|
2
|
|
6967
|
use Moose; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
10
|
|
304
|
2
|
|
|
2
|
|
12883
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
13
|
|
305
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
306
|
|
|
|
|
|
|
|
307
|
|
|
|
|
|
|
has Auth => (isa => 'Cfn::Resource::Properties::AWS::CodeBuild::Project::SourceAuth', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
308
|
|
|
|
|
|
|
has BuildSpec => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
309
|
|
|
|
|
|
|
has GitCloneDepth => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
310
|
|
|
|
|
|
|
has GitSubmodulesConfig => (isa => 'Cfn::Resource::Properties::AWS::CodeBuild::Project::GitSubmodulesConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
311
|
|
|
|
|
|
|
has InsecureSsl => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
312
|
|
|
|
|
|
|
has Location => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
313
|
|
|
|
|
|
|
has ReportBuildStatus => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
314
|
|
|
|
|
|
|
has SourceIdentifier => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
315
|
|
|
|
|
|
|
has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
316
|
|
|
|
|
|
|
} |
317
|
|
|
|
|
|
|
|
318
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::CodeBuild::Project::ProjectTriggers', |
319
|
|
|
|
|
|
|
as 'Cfn::Value'; |
320
|
|
|
|
|
|
|
|
321
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::CodeBuild::Project::ProjectTriggers', |
322
|
|
|
|
|
|
|
from 'HashRef', |
323
|
|
|
|
|
|
|
via { |
324
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
325
|
|
|
|
|
|
|
return $f |
326
|
|
|
|
|
|
|
} else { |
327
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::CodeBuild::Project::ProjectTriggersValue->new( %$_ ); |
328
|
|
|
|
|
|
|
} |
329
|
|
|
|
|
|
|
}; |
330
|
|
|
|
|
|
|
|
331
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::CodeBuild::Project::ProjectTriggersValue { |
332
|
2
|
|
|
2
|
|
6778
|
use Moose; |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
11
|
|
333
|
2
|
|
|
2
|
|
13103
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
11
|
|
334
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
335
|
|
|
|
|
|
|
|
336
|
|
|
|
|
|
|
has FilterGroups => (isa => 'ArrayOfCfn::Resource::Properties::AWS::CodeBuild::Project::FilterGroup', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
337
|
|
|
|
|
|
|
has Webhook => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
338
|
|
|
|
|
|
|
} |
339
|
|
|
|
|
|
|
subtype 'ArrayOfCfn::Resource::Properties::AWS::CodeBuild::Project::ProjectSourceVersion', |
340
|
|
|
|
|
|
|
as 'Cfn::Value', |
341
|
|
|
|
|
|
|
where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, |
342
|
|
|
|
|
|
|
message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; |
343
|
|
|
|
|
|
|
|
344
|
|
|
|
|
|
|
coerce 'ArrayOfCfn::Resource::Properties::AWS::CodeBuild::Project::ProjectSourceVersion', |
345
|
|
|
|
|
|
|
from 'HashRef', |
346
|
|
|
|
|
|
|
via { |
347
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
348
|
|
|
|
|
|
|
return $f |
349
|
|
|
|
|
|
|
} else { |
350
|
|
|
|
|
|
|
die 'Only accepts functions'; |
351
|
|
|
|
|
|
|
} |
352
|
|
|
|
|
|
|
}, |
353
|
|
|
|
|
|
|
from 'ArrayRef', |
354
|
|
|
|
|
|
|
via { |
355
|
|
|
|
|
|
|
Cfn::Value::Array->new(Value => [ |
356
|
|
|
|
|
|
|
map { |
357
|
|
|
|
|
|
|
Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::CodeBuild::Project::ProjectSourceVersion')->coerce($_) |
358
|
|
|
|
|
|
|
} @$_ |
359
|
|
|
|
|
|
|
]); |
360
|
|
|
|
|
|
|
}; |
361
|
|
|
|
|
|
|
|
362
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::CodeBuild::Project::ProjectSourceVersion', |
363
|
|
|
|
|
|
|
as 'Cfn::Value'; |
364
|
|
|
|
|
|
|
|
365
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::CodeBuild::Project::ProjectSourceVersion', |
366
|
|
|
|
|
|
|
from 'HashRef', |
367
|
|
|
|
|
|
|
via { |
368
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
369
|
|
|
|
|
|
|
return $f |
370
|
|
|
|
|
|
|
} else { |
371
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::CodeBuild::Project::ProjectSourceVersionValue->new( %$_ ); |
372
|
|
|
|
|
|
|
} |
373
|
|
|
|
|
|
|
}; |
374
|
|
|
|
|
|
|
|
375
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::CodeBuild::Project::ProjectSourceVersionValue { |
376
|
2
|
|
|
2
|
|
7055
|
use Moose; |
|
2
|
|
|
|
|
18
|
|
|
2
|
|
|
|
|
15
|
|
377
|
2
|
|
|
2
|
|
13218
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
11
|
|
378
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
379
|
|
|
|
|
|
|
|
380
|
|
|
|
|
|
|
has SourceIdentifier => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
381
|
|
|
|
|
|
|
has SourceVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
382
|
|
|
|
|
|
|
} |
383
|
|
|
|
|
|
|
subtype 'ArrayOfCfn::Resource::Properties::AWS::CodeBuild::Project::ProjectFileSystemLocation', |
384
|
|
|
|
|
|
|
as 'Cfn::Value', |
385
|
|
|
|
|
|
|
where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, |
386
|
|
|
|
|
|
|
message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; |
387
|
|
|
|
|
|
|
|
388
|
|
|
|
|
|
|
coerce 'ArrayOfCfn::Resource::Properties::AWS::CodeBuild::Project::ProjectFileSystemLocation', |
389
|
|
|
|
|
|
|
from 'HashRef', |
390
|
|
|
|
|
|
|
via { |
391
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
392
|
|
|
|
|
|
|
return $f |
393
|
|
|
|
|
|
|
} else { |
394
|
|
|
|
|
|
|
die 'Only accepts functions'; |
395
|
|
|
|
|
|
|
} |
396
|
|
|
|
|
|
|
}, |
397
|
|
|
|
|
|
|
from 'ArrayRef', |
398
|
|
|
|
|
|
|
via { |
399
|
|
|
|
|
|
|
Cfn::Value::Array->new(Value => [ |
400
|
|
|
|
|
|
|
map { |
401
|
|
|
|
|
|
|
Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::CodeBuild::Project::ProjectFileSystemLocation')->coerce($_) |
402
|
|
|
|
|
|
|
} @$_ |
403
|
|
|
|
|
|
|
]); |
404
|
|
|
|
|
|
|
}; |
405
|
|
|
|
|
|
|
|
406
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::CodeBuild::Project::ProjectFileSystemLocation', |
407
|
|
|
|
|
|
|
as 'Cfn::Value'; |
408
|
|
|
|
|
|
|
|
409
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::CodeBuild::Project::ProjectFileSystemLocation', |
410
|
|
|
|
|
|
|
from 'HashRef', |
411
|
|
|
|
|
|
|
via { |
412
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
413
|
|
|
|
|
|
|
return $f |
414
|
|
|
|
|
|
|
} else { |
415
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::CodeBuild::Project::ProjectFileSystemLocationValue->new( %$_ ); |
416
|
|
|
|
|
|
|
} |
417
|
|
|
|
|
|
|
}; |
418
|
|
|
|
|
|
|
|
419
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::CodeBuild::Project::ProjectFileSystemLocationValue { |
420
|
2
|
|
|
2
|
|
7016
|
use Moose; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
14
|
|
421
|
2
|
|
|
2
|
|
13079
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
9
|
|
|
2
|
|
|
|
|
13
|
|
422
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
423
|
|
|
|
|
|
|
|
424
|
|
|
|
|
|
|
has Identifier => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
425
|
|
|
|
|
|
|
has Location => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
426
|
|
|
|
|
|
|
has MountOptions => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
427
|
|
|
|
|
|
|
has MountPoint => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
428
|
|
|
|
|
|
|
has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
429
|
|
|
|
|
|
|
} |
430
|
|
|
|
|
|
|
|
431
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::CodeBuild::Project::ProjectCache', |
432
|
|
|
|
|
|
|
as 'Cfn::Value'; |
433
|
|
|
|
|
|
|
|
434
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::CodeBuild::Project::ProjectCache', |
435
|
|
|
|
|
|
|
from 'HashRef', |
436
|
|
|
|
|
|
|
via { |
437
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
438
|
|
|
|
|
|
|
return $f |
439
|
|
|
|
|
|
|
} else { |
440
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::CodeBuild::Project::ProjectCacheValue->new( %$_ ); |
441
|
|
|
|
|
|
|
} |
442
|
|
|
|
|
|
|
}; |
443
|
|
|
|
|
|
|
|
444
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::CodeBuild::Project::ProjectCacheValue { |
445
|
2
|
|
|
2
|
|
6753
|
use Moose; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
13
|
|
446
|
2
|
|
|
2
|
|
13108
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
11
|
|
447
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
448
|
|
|
|
|
|
|
|
449
|
|
|
|
|
|
|
has Location => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
450
|
|
|
|
|
|
|
has Modes => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
451
|
|
|
|
|
|
|
has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
452
|
|
|
|
|
|
|
} |
453
|
|
|
|
|
|
|
|
454
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::CodeBuild::Project::LogsConfig', |
455
|
|
|
|
|
|
|
as 'Cfn::Value'; |
456
|
|
|
|
|
|
|
|
457
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::CodeBuild::Project::LogsConfig', |
458
|
|
|
|
|
|
|
from 'HashRef', |
459
|
|
|
|
|
|
|
via { |
460
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
461
|
|
|
|
|
|
|
return $f |
462
|
|
|
|
|
|
|
} else { |
463
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::CodeBuild::Project::LogsConfigValue->new( %$_ ); |
464
|
|
|
|
|
|
|
} |
465
|
|
|
|
|
|
|
}; |
466
|
|
|
|
|
|
|
|
467
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::CodeBuild::Project::LogsConfigValue { |
468
|
2
|
|
|
2
|
|
6700
|
use Moose; |
|
2
|
|
|
|
|
10
|
|
|
2
|
|
|
|
|
13
|
|
469
|
2
|
|
|
2
|
|
13093
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
13
|
|
470
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
471
|
|
|
|
|
|
|
|
472
|
|
|
|
|
|
|
has CloudWatchLogs => (isa => 'Cfn::Resource::Properties::AWS::CodeBuild::Project::CloudWatchLogsConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
473
|
|
|
|
|
|
|
has S3Logs => (isa => 'Cfn::Resource::Properties::AWS::CodeBuild::Project::S3LogsConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
474
|
|
|
|
|
|
|
} |
475
|
|
|
|
|
|
|
|
476
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::CodeBuild::Project::Environment', |
477
|
|
|
|
|
|
|
as 'Cfn::Value'; |
478
|
|
|
|
|
|
|
|
479
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::CodeBuild::Project::Environment', |
480
|
|
|
|
|
|
|
from 'HashRef', |
481
|
|
|
|
|
|
|
via { |
482
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
483
|
|
|
|
|
|
|
return $f |
484
|
|
|
|
|
|
|
} else { |
485
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::CodeBuild::Project::EnvironmentValue->new( %$_ ); |
486
|
|
|
|
|
|
|
} |
487
|
|
|
|
|
|
|
}; |
488
|
|
|
|
|
|
|
|
489
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::CodeBuild::Project::EnvironmentValue { |
490
|
2
|
|
|
2
|
|
6679
|
use Moose; |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
12
|
|
491
|
2
|
|
|
2
|
|
13032
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
10
|
|
492
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
493
|
|
|
|
|
|
|
|
494
|
|
|
|
|
|
|
has Certificate => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
495
|
|
|
|
|
|
|
has ComputeType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
496
|
|
|
|
|
|
|
has EnvironmentVariables => (isa => 'ArrayOfCfn::Resource::Properties::AWS::CodeBuild::Project::EnvironmentVariable', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
497
|
|
|
|
|
|
|
has Image => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
498
|
|
|
|
|
|
|
has ImagePullCredentialsType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
499
|
|
|
|
|
|
|
has PrivilegedMode => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
500
|
|
|
|
|
|
|
has RegistryCredential => (isa => 'Cfn::Resource::Properties::AWS::CodeBuild::Project::RegistryCredential', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
501
|
|
|
|
|
|
|
has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
502
|
|
|
|
|
|
|
} |
503
|
|
|
|
|
|
|
subtype 'ArrayOfCfn::Resource::Properties::AWS::CodeBuild::Project::Artifacts', |
504
|
|
|
|
|
|
|
as 'Cfn::Value', |
505
|
|
|
|
|
|
|
where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, |
506
|
|
|
|
|
|
|
message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; |
507
|
|
|
|
|
|
|
|
508
|
|
|
|
|
|
|
coerce 'ArrayOfCfn::Resource::Properties::AWS::CodeBuild::Project::Artifacts', |
509
|
|
|
|
|
|
|
from 'HashRef', |
510
|
|
|
|
|
|
|
via { |
511
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
512
|
|
|
|
|
|
|
return $f |
513
|
|
|
|
|
|
|
} else { |
514
|
|
|
|
|
|
|
die 'Only accepts functions'; |
515
|
|
|
|
|
|
|
} |
516
|
|
|
|
|
|
|
}, |
517
|
|
|
|
|
|
|
from 'ArrayRef', |
518
|
|
|
|
|
|
|
via { |
519
|
|
|
|
|
|
|
Cfn::Value::Array->new(Value => [ |
520
|
|
|
|
|
|
|
map { |
521
|
|
|
|
|
|
|
Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::CodeBuild::Project::Artifacts')->coerce($_) |
522
|
|
|
|
|
|
|
} @$_ |
523
|
|
|
|
|
|
|
]); |
524
|
|
|
|
|
|
|
}; |
525
|
|
|
|
|
|
|
|
526
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::CodeBuild::Project::Artifacts', |
527
|
|
|
|
|
|
|
as 'Cfn::Value'; |
528
|
|
|
|
|
|
|
|
529
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::CodeBuild::Project::Artifacts', |
530
|
|
|
|
|
|
|
from 'HashRef', |
531
|
|
|
|
|
|
|
via { |
532
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
533
|
|
|
|
|
|
|
return $f |
534
|
|
|
|
|
|
|
} else { |
535
|
|
|
|
|
|
|
return Cfn::Resource::Properties::AWS::CodeBuild::Project::ArtifactsValue->new( %$_ ); |
536
|
|
|
|
|
|
|
} |
537
|
|
|
|
|
|
|
}; |
538
|
|
|
|
|
|
|
|
539
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::CodeBuild::Project::ArtifactsValue { |
540
|
2
|
|
|
2
|
|
7285
|
use Moose; |
|
2
|
|
|
|
|
14
|
|
|
2
|
|
|
|
|
15
|
|
541
|
2
|
|
|
2
|
|
13302
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
11
|
|
542
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
543
|
|
|
|
|
|
|
|
544
|
|
|
|
|
|
|
has ArtifactIdentifier => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
545
|
|
|
|
|
|
|
has EncryptionDisabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
546
|
|
|
|
|
|
|
has Location => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
547
|
|
|
|
|
|
|
has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
548
|
|
|
|
|
|
|
has NamespaceType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
549
|
|
|
|
|
|
|
has OverrideArtifactName => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
550
|
|
|
|
|
|
|
has Packaging => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
551
|
|
|
|
|
|
|
has Path => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
552
|
|
|
|
|
|
|
has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
553
|
|
|
|
|
|
|
} |
554
|
|
|
|
|
|
|
|
555
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::CodeBuild::Project { |
556
|
2
|
|
|
2
|
|
6734
|
use Moose; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
11
|
|
557
|
2
|
|
|
2
|
|
13331
|
use MooseX::StrictConstructor; |
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
11
|
|
558
|
|
|
|
|
|
|
extends 'Cfn::Resource::Properties'; |
559
|
|
|
|
|
|
|
|
560
|
|
|
|
|
|
|
has Artifacts => (isa => 'Cfn::Resource::Properties::AWS::CodeBuild::Project::Artifacts', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
561
|
|
|
|
|
|
|
has BadgeEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
562
|
|
|
|
|
|
|
has Cache => (isa => 'Cfn::Resource::Properties::AWS::CodeBuild::Project::ProjectCache', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
563
|
|
|
|
|
|
|
has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
564
|
|
|
|
|
|
|
has EncryptionKey => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
565
|
|
|
|
|
|
|
has Environment => (isa => 'Cfn::Resource::Properties::AWS::CodeBuild::Project::Environment', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
566
|
|
|
|
|
|
|
has FileSystemLocations => (isa => 'ArrayOfCfn::Resource::Properties::AWS::CodeBuild::Project::ProjectFileSystemLocation', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
567
|
|
|
|
|
|
|
has LogsConfig => (isa => 'Cfn::Resource::Properties::AWS::CodeBuild::Project::LogsConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
568
|
|
|
|
|
|
|
has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); |
569
|
|
|
|
|
|
|
has QueuedTimeoutInMinutes => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
570
|
|
|
|
|
|
|
has SecondaryArtifacts => (isa => 'ArrayOfCfn::Resource::Properties::AWS::CodeBuild::Project::Artifacts', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
571
|
|
|
|
|
|
|
has SecondarySourceVersions => (isa => 'ArrayOfCfn::Resource::Properties::AWS::CodeBuild::Project::ProjectSourceVersion', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
572
|
|
|
|
|
|
|
has SecondarySources => (isa => 'ArrayOfCfn::Resource::Properties::AWS::CodeBuild::Project::Source', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
573
|
|
|
|
|
|
|
has ServiceRole => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
574
|
|
|
|
|
|
|
has Source => (isa => 'Cfn::Resource::Properties::AWS::CodeBuild::Project::Source', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
575
|
|
|
|
|
|
|
has SourceVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
576
|
|
|
|
|
|
|
has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
577
|
|
|
|
|
|
|
has TimeoutInMinutes => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
578
|
|
|
|
|
|
|
has Triggers => (isa => 'Cfn::Resource::Properties::AWS::CodeBuild::Project::ProjectTriggers', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
579
|
|
|
|
|
|
|
has VpcConfig => (isa => 'Cfn::Resource::Properties::AWS::CodeBuild::Project::VpcConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
580
|
|
|
|
|
|
|
} |
581
|
|
|
|
|
|
|
|
582
|
|
|
|
|
|
|
1; |