UNPKG

77.2 kBTypeScriptView Raw
1import {Request} from '../lib/request';
2import {Response} from '../lib/response';
3import {AWSError} from '../lib/error';
4import {Service} from '../lib/service';
5import {ServiceConfigurationOptions} from '../lib/service';
6import {ConfigBase as Config} from '../lib/config';
7interface Blob {}
8declare class CodeBuild extends Service {
9 /**
10 * Constructs a service object. This object has one method for each API operation.
11 */
12 constructor(options?: CodeBuild.Types.ClientConfiguration)
13 config: Config & CodeBuild.Types.ClientConfiguration;
14 /**
15 * Deletes one or more builds.
16 */
17 batchDeleteBuilds(params: CodeBuild.Types.BatchDeleteBuildsInput, callback?: (err: AWSError, data: CodeBuild.Types.BatchDeleteBuildsOutput) => void): Request<CodeBuild.Types.BatchDeleteBuildsOutput, AWSError>;
18 /**
19 * Deletes one or more builds.
20 */
21 batchDeleteBuilds(callback?: (err: AWSError, data: CodeBuild.Types.BatchDeleteBuildsOutput) => void): Request<CodeBuild.Types.BatchDeleteBuildsOutput, AWSError>;
22 /**
23 * Gets information about builds.
24 */
25 batchGetBuilds(params: CodeBuild.Types.BatchGetBuildsInput, callback?: (err: AWSError, data: CodeBuild.Types.BatchGetBuildsOutput) => void): Request<CodeBuild.Types.BatchGetBuildsOutput, AWSError>;
26 /**
27 * Gets information about builds.
28 */
29 batchGetBuilds(callback?: (err: AWSError, data: CodeBuild.Types.BatchGetBuildsOutput) => void): Request<CodeBuild.Types.BatchGetBuildsOutput, AWSError>;
30 /**
31 * Gets information about build projects.
32 */
33 batchGetProjects(params: CodeBuild.Types.BatchGetProjectsInput, callback?: (err: AWSError, data: CodeBuild.Types.BatchGetProjectsOutput) => void): Request<CodeBuild.Types.BatchGetProjectsOutput, AWSError>;
34 /**
35 * Gets information about build projects.
36 */
37 batchGetProjects(callback?: (err: AWSError, data: CodeBuild.Types.BatchGetProjectsOutput) => void): Request<CodeBuild.Types.BatchGetProjectsOutput, AWSError>;
38 /**
39 * Creates a build project.
40 */
41 createProject(params: CodeBuild.Types.CreateProjectInput, callback?: (err: AWSError, data: CodeBuild.Types.CreateProjectOutput) => void): Request<CodeBuild.Types.CreateProjectOutput, AWSError>;
42 /**
43 * Creates a build project.
44 */
45 createProject(callback?: (err: AWSError, data: CodeBuild.Types.CreateProjectOutput) => void): Request<CodeBuild.Types.CreateProjectOutput, AWSError>;
46 /**
47 * For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, enables AWS CodeBuild to start rebuilding the source code every time a code change is pushed to the repository. If you enable webhooks for an AWS CodeBuild project, and the project is used as a build step in AWS CodePipeline, then two identical builds are created for each commit. One build is triggered through webhooks, and one through AWS CodePipeline. Because billing is on a per-build basis, you are billed for both builds. Therefore, if you are using AWS CodePipeline, we recommend that you disable webhooks in AWS CodeBuild. In the AWS CodeBuild console, clear the Webhook box. For more information, see step 5 in Change a Build Project's Settings.
48 */
49 createWebhook(params: CodeBuild.Types.CreateWebhookInput, callback?: (err: AWSError, data: CodeBuild.Types.CreateWebhookOutput) => void): Request<CodeBuild.Types.CreateWebhookOutput, AWSError>;
50 /**
51 * For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, enables AWS CodeBuild to start rebuilding the source code every time a code change is pushed to the repository. If you enable webhooks for an AWS CodeBuild project, and the project is used as a build step in AWS CodePipeline, then two identical builds are created for each commit. One build is triggered through webhooks, and one through AWS CodePipeline. Because billing is on a per-build basis, you are billed for both builds. Therefore, if you are using AWS CodePipeline, we recommend that you disable webhooks in AWS CodeBuild. In the AWS CodeBuild console, clear the Webhook box. For more information, see step 5 in Change a Build Project's Settings.
52 */
53 createWebhook(callback?: (err: AWSError, data: CodeBuild.Types.CreateWebhookOutput) => void): Request<CodeBuild.Types.CreateWebhookOutput, AWSError>;
54 /**
55 * Deletes a build project.
56 */
57 deleteProject(params: CodeBuild.Types.DeleteProjectInput, callback?: (err: AWSError, data: CodeBuild.Types.DeleteProjectOutput) => void): Request<CodeBuild.Types.DeleteProjectOutput, AWSError>;
58 /**
59 * Deletes a build project.
60 */
61 deleteProject(callback?: (err: AWSError, data: CodeBuild.Types.DeleteProjectOutput) => void): Request<CodeBuild.Types.DeleteProjectOutput, AWSError>;
62 /**
63 * Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.
64 */
65 deleteSourceCredentials(params: CodeBuild.Types.DeleteSourceCredentialsInput, callback?: (err: AWSError, data: CodeBuild.Types.DeleteSourceCredentialsOutput) => void): Request<CodeBuild.Types.DeleteSourceCredentialsOutput, AWSError>;
66 /**
67 * Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.
68 */
69 deleteSourceCredentials(callback?: (err: AWSError, data: CodeBuild.Types.DeleteSourceCredentialsOutput) => void): Request<CodeBuild.Types.DeleteSourceCredentialsOutput, AWSError>;
70 /**
71 * For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, stops AWS CodeBuild from rebuilding the source code every time a code change is pushed to the repository.
72 */
73 deleteWebhook(params: CodeBuild.Types.DeleteWebhookInput, callback?: (err: AWSError, data: CodeBuild.Types.DeleteWebhookOutput) => void): Request<CodeBuild.Types.DeleteWebhookOutput, AWSError>;
74 /**
75 * For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, stops AWS CodeBuild from rebuilding the source code every time a code change is pushed to the repository.
76 */
77 deleteWebhook(callback?: (err: AWSError, data: CodeBuild.Types.DeleteWebhookOutput) => void): Request<CodeBuild.Types.DeleteWebhookOutput, AWSError>;
78 /**
79 * Imports the source repository credentials for an AWS CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository.
80 */
81 importSourceCredentials(params: CodeBuild.Types.ImportSourceCredentialsInput, callback?: (err: AWSError, data: CodeBuild.Types.ImportSourceCredentialsOutput) => void): Request<CodeBuild.Types.ImportSourceCredentialsOutput, AWSError>;
82 /**
83 * Imports the source repository credentials for an AWS CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository.
84 */
85 importSourceCredentials(callback?: (err: AWSError, data: CodeBuild.Types.ImportSourceCredentialsOutput) => void): Request<CodeBuild.Types.ImportSourceCredentialsOutput, AWSError>;
86 /**
87 * Resets the cache for a project.
88 */
89 invalidateProjectCache(params: CodeBuild.Types.InvalidateProjectCacheInput, callback?: (err: AWSError, data: CodeBuild.Types.InvalidateProjectCacheOutput) => void): Request<CodeBuild.Types.InvalidateProjectCacheOutput, AWSError>;
90 /**
91 * Resets the cache for a project.
92 */
93 invalidateProjectCache(callback?: (err: AWSError, data: CodeBuild.Types.InvalidateProjectCacheOutput) => void): Request<CodeBuild.Types.InvalidateProjectCacheOutput, AWSError>;
94 /**
95 * Gets a list of build IDs, with each build ID representing a single build.
96 */
97 listBuilds(params: CodeBuild.Types.ListBuildsInput, callback?: (err: AWSError, data: CodeBuild.Types.ListBuildsOutput) => void): Request<CodeBuild.Types.ListBuildsOutput, AWSError>;
98 /**
99 * Gets a list of build IDs, with each build ID representing a single build.
100 */
101 listBuilds(callback?: (err: AWSError, data: CodeBuild.Types.ListBuildsOutput) => void): Request<CodeBuild.Types.ListBuildsOutput, AWSError>;
102 /**
103 * Gets a list of build IDs for the specified build project, with each build ID representing a single build.
104 */
105 listBuildsForProject(params: CodeBuild.Types.ListBuildsForProjectInput, callback?: (err: AWSError, data: CodeBuild.Types.ListBuildsForProjectOutput) => void): Request<CodeBuild.Types.ListBuildsForProjectOutput, AWSError>;
106 /**
107 * Gets a list of build IDs for the specified build project, with each build ID representing a single build.
108 */
109 listBuildsForProject(callback?: (err: AWSError, data: CodeBuild.Types.ListBuildsForProjectOutput) => void): Request<CodeBuild.Types.ListBuildsForProjectOutput, AWSError>;
110 /**
111 * Gets information about Docker images that are managed by AWS CodeBuild.
112 */
113 listCuratedEnvironmentImages(params: CodeBuild.Types.ListCuratedEnvironmentImagesInput, callback?: (err: AWSError, data: CodeBuild.Types.ListCuratedEnvironmentImagesOutput) => void): Request<CodeBuild.Types.ListCuratedEnvironmentImagesOutput, AWSError>;
114 /**
115 * Gets information about Docker images that are managed by AWS CodeBuild.
116 */
117 listCuratedEnvironmentImages(callback?: (err: AWSError, data: CodeBuild.Types.ListCuratedEnvironmentImagesOutput) => void): Request<CodeBuild.Types.ListCuratedEnvironmentImagesOutput, AWSError>;
118 /**
119 * Gets a list of build project names, with each build project name representing a single build project.
120 */
121 listProjects(params: CodeBuild.Types.ListProjectsInput, callback?: (err: AWSError, data: CodeBuild.Types.ListProjectsOutput) => void): Request<CodeBuild.Types.ListProjectsOutput, AWSError>;
122 /**
123 * Gets a list of build project names, with each build project name representing a single build project.
124 */
125 listProjects(callback?: (err: AWSError, data: CodeBuild.Types.ListProjectsOutput) => void): Request<CodeBuild.Types.ListProjectsOutput, AWSError>;
126 /**
127 * Returns a list of SourceCredentialsInfo objects.
128 */
129 listSourceCredentials(params: CodeBuild.Types.ListSourceCredentialsInput, callback?: (err: AWSError, data: CodeBuild.Types.ListSourceCredentialsOutput) => void): Request<CodeBuild.Types.ListSourceCredentialsOutput, AWSError>;
130 /**
131 * Returns a list of SourceCredentialsInfo objects.
132 */
133 listSourceCredentials(callback?: (err: AWSError, data: CodeBuild.Types.ListSourceCredentialsOutput) => void): Request<CodeBuild.Types.ListSourceCredentialsOutput, AWSError>;
134 /**
135 * Starts running a build.
136 */
137 startBuild(params: CodeBuild.Types.StartBuildInput, callback?: (err: AWSError, data: CodeBuild.Types.StartBuildOutput) => void): Request<CodeBuild.Types.StartBuildOutput, AWSError>;
138 /**
139 * Starts running a build.
140 */
141 startBuild(callback?: (err: AWSError, data: CodeBuild.Types.StartBuildOutput) => void): Request<CodeBuild.Types.StartBuildOutput, AWSError>;
142 /**
143 * Attempts to stop running a build.
144 */
145 stopBuild(params: CodeBuild.Types.StopBuildInput, callback?: (err: AWSError, data: CodeBuild.Types.StopBuildOutput) => void): Request<CodeBuild.Types.StopBuildOutput, AWSError>;
146 /**
147 * Attempts to stop running a build.
148 */
149 stopBuild(callback?: (err: AWSError, data: CodeBuild.Types.StopBuildOutput) => void): Request<CodeBuild.Types.StopBuildOutput, AWSError>;
150 /**
151 * Changes the settings of a build project.
152 */
153 updateProject(params: CodeBuild.Types.UpdateProjectInput, callback?: (err: AWSError, data: CodeBuild.Types.UpdateProjectOutput) => void): Request<CodeBuild.Types.UpdateProjectOutput, AWSError>;
154 /**
155 * Changes the settings of a build project.
156 */
157 updateProject(callback?: (err: AWSError, data: CodeBuild.Types.UpdateProjectOutput) => void): Request<CodeBuild.Types.UpdateProjectOutput, AWSError>;
158 /**
159 * Updates the webhook associated with an AWS CodeBuild build project. If you use Bitbucket for your repository, rotateSecret is ignored.
160 */
161 updateWebhook(params: CodeBuild.Types.UpdateWebhookInput, callback?: (err: AWSError, data: CodeBuild.Types.UpdateWebhookOutput) => void): Request<CodeBuild.Types.UpdateWebhookOutput, AWSError>;
162 /**
163 * Updates the webhook associated with an AWS CodeBuild build project. If you use Bitbucket for your repository, rotateSecret is ignored.
164 */
165 updateWebhook(callback?: (err: AWSError, data: CodeBuild.Types.UpdateWebhookOutput) => void): Request<CodeBuild.Types.UpdateWebhookOutput, AWSError>;
166}
167declare namespace CodeBuild {
168 export type ArtifactNamespace = "NONE"|"BUILD_ID"|string;
169 export type ArtifactPackaging = "NONE"|"ZIP"|string;
170 export type ArtifactsType = "CODEPIPELINE"|"S3"|"NO_ARTIFACTS"|string;
171 export type AuthType = "OAUTH"|"BASIC_AUTH"|"PERSONAL_ACCESS_TOKEN"|string;
172 export interface BatchDeleteBuildsInput {
173 /**
174 * The IDs of the builds to delete.
175 */
176 ids: BuildIds;
177 }
178 export interface BatchDeleteBuildsOutput {
179 /**
180 * The IDs of the builds that were successfully deleted.
181 */
182 buildsDeleted?: BuildIds;
183 /**
184 * Information about any builds that could not be successfully deleted.
185 */
186 buildsNotDeleted?: BuildsNotDeleted;
187 }
188 export interface BatchGetBuildsInput {
189 /**
190 * The IDs of the builds.
191 */
192 ids: BuildIds;
193 }
194 export interface BatchGetBuildsOutput {
195 /**
196 * Information about the requested builds.
197 */
198 builds?: Builds;
199 /**
200 * The IDs of builds for which information could not be found.
201 */
202 buildsNotFound?: BuildIds;
203 }
204 export interface BatchGetProjectsInput {
205 /**
206 * The names of the build projects.
207 */
208 names: ProjectNames;
209 }
210 export interface BatchGetProjectsOutput {
211 /**
212 * Information about the requested build projects.
213 */
214 projects?: Projects;
215 /**
216 * The names of build projects for which information could not be found.
217 */
218 projectsNotFound?: ProjectNames;
219 }
220 export type Boolean = boolean;
221 export interface Build {
222 /**
223 * The unique ID for the build.
224 */
225 id?: NonEmptyString;
226 /**
227 * The Amazon Resource Name (ARN) of the build.
228 */
229 arn?: NonEmptyString;
230 /**
231 * When the build process started, expressed in Unix time format.
232 */
233 startTime?: Timestamp;
234 /**
235 * When the build process ended, expressed in Unix time format.
236 */
237 endTime?: Timestamp;
238 /**
239 * The current build phase.
240 */
241 currentPhase?: String;
242 /**
243 * The current status of the build. Valid values include: FAILED: The build failed. FAULT: The build faulted. IN_PROGRESS: The build is still in progress. STOPPED: The build stopped. SUCCEEDED: The build succeeded. TIMED_OUT: The build timed out.
244 */
245 buildStatus?: StatusType;
246 /**
247 * Any version identifier for the version of the source code to be built.
248 */
249 sourceVersion?: NonEmptyString;
250 /**
251 * An identifier for the version of this build's source code. For AWS CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID. For AWS CodePipeline, the source revision provided by AWS CodePipeline. For Amazon Simple Storage Service (Amazon S3), this does not apply.
252 */
253 resolvedSourceVersion?: NonEmptyString;
254 /**
255 * The name of the AWS CodeBuild project.
256 */
257 projectName?: NonEmptyString;
258 /**
259 * Information about all previous build phases that are complete and information about any current build phase that is not yet complete.
260 */
261 phases?: BuildPhases;
262 /**
263 * Information about the source code to be built.
264 */
265 source?: ProjectSource;
266 /**
267 * An array of ProjectSource objects.
268 */
269 secondarySources?: ProjectSources;
270 /**
271 * An array of ProjectSourceVersion objects. Each ProjectSourceVersion must be one of: For AWS CodeCommit: the commit ID to use. For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format pr/pull-request-ID (for example, pr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. For Amazon Simple Storage Service (Amazon S3): the version ID of the object that represents the build input ZIP file to use.
272 */
273 secondarySourceVersions?: ProjectSecondarySourceVersions;
274 /**
275 * Information about the output artifacts for the build.
276 */
277 artifacts?: BuildArtifacts;
278 /**
279 * An array of ProjectArtifacts objects.
280 */
281 secondaryArtifacts?: BuildArtifactsList;
282 /**
283 * Information about the cache for the build.
284 */
285 cache?: ProjectCache;
286 /**
287 * Information about the build environment for this build.
288 */
289 environment?: ProjectEnvironment;
290 /**
291 * The name of a service role used for this build.
292 */
293 serviceRole?: NonEmptyString;
294 /**
295 * Information about the build's logs in Amazon CloudWatch Logs.
296 */
297 logs?: LogsLocation;
298 /**
299 * How long, in minutes, for AWS CodeBuild to wait before timing out this build if it does not get marked as completed.
300 */
301 timeoutInMinutes?: WrapperInt;
302 /**
303 * The number of minutes a build is allowed to be queued before it times out.
304 */
305 queuedTimeoutInMinutes?: WrapperInt;
306 /**
307 * Whether the build is complete. True if complete; otherwise, false.
308 */
309 buildComplete?: Boolean;
310 /**
311 * The entity that started the build. Valid values include: If AWS CodePipeline started the build, the pipeline's name (for example, codepipeline/my-demo-pipeline). If an AWS Identity and Access Management (IAM) user started the build, the user's name (for example, MyUserName). If the Jenkins plugin for AWS CodeBuild started the build, the string CodeBuild-Jenkins-Plugin.
312 */
313 initiator?: String;
314 /**
315 * If your AWS CodeBuild project accesses resources in an Amazon VPC, you provide this parameter that identifies the VPC ID and the list of security group IDs and subnet IDs. The security groups and subnets must belong to the same VPC. You must provide at least one security group and one subnet ID.
316 */
317 vpcConfig?: VpcConfig;
318 /**
319 * Describes a network interface.
320 */
321 networkInterface?: NetworkInterface;
322 /**
323 * The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output artifacts. You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key. You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the format alias/alias-name ).
324 */
325 encryptionKey?: NonEmptyString;
326 }
327 export interface BuildArtifacts {
328 /**
329 * Information about the location of the build artifacts.
330 */
331 location?: String;
332 /**
333 * The SHA-256 hash of the build artifact. You can use this hash along with a checksum tool to confirm file integrity and authenticity. This value is available only if the build project's packaging value is set to ZIP.
334 */
335 sha256sum?: String;
336 /**
337 * The MD5 hash of the build artifact. You can use this hash along with a checksum tool to confirm file integrity and authenticity. This value is available only if the build project's packaging value is set to ZIP.
338 */
339 md5sum?: String;
340 /**
341 * If this flag is set, a name specified in the build spec file overrides the artifact name. The name specified in a build spec file is calculated at build time and uses the Shell Command Language. For example, you can append a date and time to your artifact name so that it is always unique.
342 */
343 overrideArtifactName?: WrapperBoolean;
344 /**
345 * Information that tells you if encryption for build artifacts is disabled.
346 */
347 encryptionDisabled?: WrapperBoolean;
348 /**
349 * An identifier for this artifact definition.
350 */
351 artifactIdentifier?: String;
352 }
353 export type BuildArtifactsList = BuildArtifacts[];
354 export type BuildIds = NonEmptyString[];
355 export interface BuildNotDeleted {
356 /**
357 * The ID of the build that could not be successfully deleted.
358 */
359 id?: NonEmptyString;
360 /**
361 * Additional information about the build that could not be successfully deleted.
362 */
363 statusCode?: String;
364 }
365 export interface BuildPhase {
366 /**
367 * The name of the build phase. Valid values include: BUILD: Core build activities typically occur in this build phase. COMPLETED: The build has been completed. DOWNLOAD_SOURCE: Source code is being downloaded in this build phase. FINALIZING: The build process is completing in this build phase. INSTALL: Installation activities typically occur in this build phase. POST_BUILD: Post-build activities typically occur in this build phase. PRE_BUILD: Pre-build activities typically occur in this build phase. PROVISIONING: The build environment is being set up. QUEUED: The build has been submitted and is queued behind other submitted builds. SUBMITTED: The build has been submitted. UPLOAD_ARTIFACTS: Build output artifacts are being uploaded to the output location.
368 */
369 phaseType?: BuildPhaseType;
370 /**
371 * The current status of the build phase. Valid values include: FAILED: The build phase failed. FAULT: The build phase faulted. IN_PROGRESS: The build phase is still in progress. QUEUED: The build has been submitted and is queued behind other submitted builds. STOPPED: The build phase stopped. SUCCEEDED: The build phase succeeded. TIMED_OUT: The build phase timed out.
372 */
373 phaseStatus?: StatusType;
374 /**
375 * When the build phase started, expressed in Unix time format.
376 */
377 startTime?: Timestamp;
378 /**
379 * When the build phase ended, expressed in Unix time format.
380 */
381 endTime?: Timestamp;
382 /**
383 * How long, in seconds, between the starting and ending times of the build's phase.
384 */
385 durationInSeconds?: WrapperLong;
386 /**
387 * Additional information about a build phase, especially to help troubleshoot a failed build.
388 */
389 contexts?: PhaseContexts;
390 }
391 export type BuildPhaseType = "SUBMITTED"|"QUEUED"|"PROVISIONING"|"DOWNLOAD_SOURCE"|"INSTALL"|"PRE_BUILD"|"BUILD"|"POST_BUILD"|"UPLOAD_ARTIFACTS"|"FINALIZING"|"COMPLETED"|string;
392 export type BuildPhases = BuildPhase[];
393 export type Builds = Build[];
394 export type BuildsNotDeleted = BuildNotDeleted[];
395 export type CacheMode = "LOCAL_DOCKER_LAYER_CACHE"|"LOCAL_SOURCE_CACHE"|"LOCAL_CUSTOM_CACHE"|string;
396 export type CacheType = "NO_CACHE"|"S3"|"LOCAL"|string;
397 export interface CloudWatchLogsConfig {
398 /**
399 * The current status of the logs in Amazon CloudWatch Logs for a build project. Valid values are: ENABLED: Amazon CloudWatch Logs are enabled for this build project. DISABLED: Amazon CloudWatch Logs are not enabled for this build project.
400 */
401 status: LogsConfigStatusType;
402 /**
403 * The group name of the logs in Amazon CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
404 */
405 groupName?: String;
406 /**
407 * The prefix of the stream name of the Amazon CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
408 */
409 streamName?: String;
410 }
411 export type ComputeType = "BUILD_GENERAL1_SMALL"|"BUILD_GENERAL1_MEDIUM"|"BUILD_GENERAL1_LARGE"|string;
412 export interface CreateProjectInput {
413 /**
414 * The name of the build project.
415 */
416 name: ProjectName;
417 /**
418 * A description that makes the build project easy to identify.
419 */
420 description?: ProjectDescription;
421 /**
422 * Information about the build input source code for the build project.
423 */
424 source: ProjectSource;
425 /**
426 * An array of ProjectSource objects.
427 */
428 secondarySources?: ProjectSources;
429 /**
430 * Information about the build output artifacts for the build project.
431 */
432 artifacts: ProjectArtifacts;
433 /**
434 * An array of ProjectArtifacts objects.
435 */
436 secondaryArtifacts?: ProjectArtifactsList;
437 /**
438 * Stores recently used information so that it can be quickly accessed at a later time.
439 */
440 cache?: ProjectCache;
441 /**
442 * Information about the build environment for the build project.
443 */
444 environment: ProjectEnvironment;
445 /**
446 * The ARN of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
447 */
448 serviceRole: NonEmptyString;
449 /**
450 * How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait before it times out any build that has not been marked as completed. The default is 60 minutes.
451 */
452 timeoutInMinutes?: TimeOut;
453 /**
454 * The number of minutes a build is allowed to be queued before it times out.
455 */
456 queuedTimeoutInMinutes?: TimeOut;
457 /**
458 * The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output artifacts. You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key. You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the format alias/alias-name ).
459 */
460 encryptionKey?: NonEmptyString;
461 /**
462 * A set of tags for this build project. These tags are available for use by AWS services that support AWS CodeBuild build project tags.
463 */
464 tags?: TagList;
465 /**
466 * VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC.
467 */
468 vpcConfig?: VpcConfig;
469 /**
470 * Set this to true to generate a publicly accessible URL for your project's build badge.
471 */
472 badgeEnabled?: WrapperBoolean;
473 /**
474 * Information about logs for the build project. These can be logs in Amazon CloudWatch Logs, logs uploaded to a specified S3 bucket, or both.
475 */
476 logsConfig?: LogsConfig;
477 }
478 export interface CreateProjectOutput {
479 /**
480 * Information about the build project that was created.
481 */
482 project?: Project;
483 }
484 export interface CreateWebhookInput {
485 /**
486 * The name of the AWS CodeBuild project.
487 */
488 projectName: ProjectName;
489 /**
490 * A regular expression used to determine which repository branches are built when a webhook is triggered. If the name of a branch matches the regular expression, then it is built. If branchFilter is empty, then all branches are built. It is recommended that you use filterGroups instead of branchFilter.
491 */
492 branchFilter?: String;
493 /**
494 * An array of arrays of WebhookFilter objects used to determine which webhooks are triggered. At least one WebhookFilter in the array must specify EVENT as its type. For a build to be triggered, at least one filter group in the filterGroups array must pass. For a filter group to pass, each of its filters must pass.
495 */
496 filterGroups?: FilterGroups;
497 }
498 export interface CreateWebhookOutput {
499 /**
500 * Information about a webhook that connects repository events to a build project in AWS CodeBuild.
501 */
502 webhook?: Webhook;
503 }
504 export type CredentialProviderType = "SECRETS_MANAGER"|string;
505 export interface DeleteProjectInput {
506 /**
507 * The name of the build project.
508 */
509 name: NonEmptyString;
510 }
511 export interface DeleteProjectOutput {
512 }
513 export interface DeleteSourceCredentialsInput {
514 /**
515 * The Amazon Resource Name (ARN) of the token.
516 */
517 arn: NonEmptyString;
518 }
519 export interface DeleteSourceCredentialsOutput {
520 /**
521 * The Amazon Resource Name (ARN) of the token.
522 */
523 arn?: NonEmptyString;
524 }
525 export interface DeleteWebhookInput {
526 /**
527 * The name of the AWS CodeBuild project.
528 */
529 projectName: ProjectName;
530 }
531 export interface DeleteWebhookOutput {
532 }
533 export interface EnvironmentImage {
534 /**
535 * The name of the Docker image.
536 */
537 name?: String;
538 /**
539 * The description of the Docker image.
540 */
541 description?: String;
542 /**
543 * A list of environment image versions.
544 */
545 versions?: ImageVersions;
546 }
547 export type EnvironmentImages = EnvironmentImage[];
548 export interface EnvironmentLanguage {
549 /**
550 * The programming language for the Docker images.
551 */
552 language?: LanguageType;
553 /**
554 * The list of Docker images that are related by the specified programming language.
555 */
556 images?: EnvironmentImages;
557 }
558 export type EnvironmentLanguages = EnvironmentLanguage[];
559 export interface EnvironmentPlatform {
560 /**
561 * The platform's name.
562 */
563 platform?: PlatformType;
564 /**
565 * The list of programming languages that are available for the specified platform.
566 */
567 languages?: EnvironmentLanguages;
568 }
569 export type EnvironmentPlatforms = EnvironmentPlatform[];
570 export type EnvironmentType = "WINDOWS_CONTAINER"|"LINUX_CONTAINER"|string;
571 export interface EnvironmentVariable {
572 /**
573 * The name or key of the environment variable.
574 */
575 name: NonEmptyString;
576 /**
577 * The value of the environment variable. We strongly discourage the use of environment variables to store sensitive values, especially AWS secret key IDs and secret access keys. Environment variables can be displayed in plain text using the AWS CodeBuild console and the AWS Command Line Interface (AWS CLI).
578 */
579 value: String;
580 /**
581 * The type of environment variable. Valid values include: PARAMETER_STORE: An environment variable stored in Amazon EC2 Systems Manager Parameter Store. PLAINTEXT: An environment variable in plaintext format.
582 */
583 type?: EnvironmentVariableType;
584 }
585 export type EnvironmentVariableType = "PLAINTEXT"|"PARAMETER_STORE"|string;
586 export type EnvironmentVariables = EnvironmentVariable[];
587 export type FilterGroup = WebhookFilter[];
588 export type FilterGroups = FilterGroup[];
589 export type GitCloneDepth = number;
590 export interface GitSubmodulesConfig {
591 /**
592 * Set to true to fetch Git submodules for your AWS CodeBuild build project.
593 */
594 fetchSubmodules: WrapperBoolean;
595 }
596 export type ImagePullCredentialsType = "CODEBUILD"|"SERVICE_ROLE"|string;
597 export type ImageVersions = String[];
598 export interface ImportSourceCredentialsInput {
599 /**
600 * The Bitbucket username when the authType is BASIC_AUTH. This parameter is not valid for other types of source providers or connections.
601 */
602 username?: NonEmptyString;
603 /**
604 * For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is the app password.
605 */
606 token: SensitiveNonEmptyString;
607 /**
608 * The source provider used for this project.
609 */
610 serverType: ServerType;
611 /**
612 * The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the AWS CodeBuild console.
613 */
614 authType: AuthType;
615 }
616 export interface ImportSourceCredentialsOutput {
617 /**
618 * The Amazon Resource Name (ARN) of the token.
619 */
620 arn?: NonEmptyString;
621 }
622 export interface InvalidateProjectCacheInput {
623 /**
624 * The name of the AWS CodeBuild build project that the cache is reset for.
625 */
626 projectName: NonEmptyString;
627 }
628 export interface InvalidateProjectCacheOutput {
629 }
630 export type KeyInput = string;
631 export type LanguageType = "JAVA"|"PYTHON"|"NODE_JS"|"RUBY"|"GOLANG"|"DOCKER"|"ANDROID"|"DOTNET"|"BASE"|"PHP"|string;
632 export interface ListBuildsForProjectInput {
633 /**
634 * The name of the AWS CodeBuild project.
635 */
636 projectName: NonEmptyString;
637 /**
638 * The order to list build IDs. Valid values include: ASCENDING: List the build IDs in ascending order by build ID. DESCENDING: List the build IDs in descending order by build ID.
639 */
640 sortOrder?: SortOrderType;
641 /**
642 * During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.
643 */
644 nextToken?: String;
645 }
646 export interface ListBuildsForProjectOutput {
647 /**
648 * A list of build IDs for the specified build project, with each build ID representing a single build.
649 */
650 ids?: BuildIds;
651 /**
652 * If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call.
653 */
654 nextToken?: String;
655 }
656 export interface ListBuildsInput {
657 /**
658 * The order to list build IDs. Valid values include: ASCENDING: List the build IDs in ascending order by build ID. DESCENDING: List the build IDs in descending order by build ID.
659 */
660 sortOrder?: SortOrderType;
661 /**
662 * During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.
663 */
664 nextToken?: String;
665 }
666 export interface ListBuildsOutput {
667 /**
668 * A list of build IDs, with each build ID representing a single build.
669 */
670 ids?: BuildIds;
671 /**
672 * If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call.
673 */
674 nextToken?: String;
675 }
676 export interface ListCuratedEnvironmentImagesInput {
677 }
678 export interface ListCuratedEnvironmentImagesOutput {
679 /**
680 * Information about supported platforms for Docker images that are managed by AWS CodeBuild.
681 */
682 platforms?: EnvironmentPlatforms;
683 }
684 export interface ListProjectsInput {
685 /**
686 * The criterion to be used to list build project names. Valid values include: CREATED_TIME: List based on when each build project was created. LAST_MODIFIED_TIME: List based on when information about each build project was last changed. NAME: List based on each build project's name. Use sortOrder to specify in what order to list the build project names based on the preceding criteria.
687 */
688 sortBy?: ProjectSortByType;
689 /**
690 * The order in which to list build projects. Valid values include: ASCENDING: List in ascending order. DESCENDING: List in descending order. Use sortBy to specify the criterion to be used to list build project names.
691 */
692 sortOrder?: SortOrderType;
693 /**
694 * During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.
695 */
696 nextToken?: NonEmptyString;
697 }
698 export interface ListProjectsOutput {
699 /**
700 * If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call.
701 */
702 nextToken?: String;
703 /**
704 * The list of build project names, with each build project name representing a single build project.
705 */
706 projects?: ProjectNames;
707 }
708 export interface ListSourceCredentialsInput {
709 }
710 export interface ListSourceCredentialsOutput {
711 /**
712 * A list of SourceCredentialsInfo objects. Each SourceCredentialsInfo object includes the authentication type, token ARN, and type of source provider for one set of credentials.
713 */
714 sourceCredentialsInfos?: SourceCredentialsInfos;
715 }
716 export interface LogsConfig {
717 /**
718 * Information about Amazon CloudWatch Logs for a build project. Amazon CloudWatch Logs are enabled by default.
719 */
720 cloudWatchLogs?: CloudWatchLogsConfig;
721 /**
722 * Information about logs built to an S3 bucket for a build project. S3 logs are not enabled by default.
723 */
724 s3Logs?: S3LogsConfig;
725 }
726 export type LogsConfigStatusType = "ENABLED"|"DISABLED"|string;
727 export interface LogsLocation {
728 /**
729 * The name of the Amazon CloudWatch Logs group for the build logs.
730 */
731 groupName?: String;
732 /**
733 * The name of the Amazon CloudWatch Logs stream for the build logs.
734 */
735 streamName?: String;
736 /**
737 * The URL to an individual build log in Amazon CloudWatch Logs.
738 */
739 deepLink?: String;
740 /**
741 * The URL to a build log in an S3 bucket.
742 */
743 s3DeepLink?: String;
744 /**
745 * Information about Amazon CloudWatch Logs for a build project.
746 */
747 cloudWatchLogs?: CloudWatchLogsConfig;
748 /**
749 * Information about S3 logs for a build project.
750 */
751 s3Logs?: S3LogsConfig;
752 }
753 export interface NetworkInterface {
754 /**
755 * The ID of the subnet.
756 */
757 subnetId?: NonEmptyString;
758 /**
759 * The ID of the network interface.
760 */
761 networkInterfaceId?: NonEmptyString;
762 }
763 export type NonEmptyString = string;
764 export interface PhaseContext {
765 /**
766 * The status code for the context of the build phase.
767 */
768 statusCode?: String;
769 /**
770 * An explanation of the build phase's context. This might include a command ID and an exit code.
771 */
772 message?: String;
773 }
774 export type PhaseContexts = PhaseContext[];
775 export type PlatformType = "DEBIAN"|"AMAZON_LINUX"|"UBUNTU"|"WINDOWS_SERVER"|string;
776 export interface Project {
777 /**
778 * The name of the build project.
779 */
780 name?: ProjectName;
781 /**
782 * The Amazon Resource Name (ARN) of the build project.
783 */
784 arn?: String;
785 /**
786 * A description that makes the build project easy to identify.
787 */
788 description?: ProjectDescription;
789 /**
790 * Information about the build input source code for this build project.
791 */
792 source?: ProjectSource;
793 /**
794 * An array of ProjectSource objects.
795 */
796 secondarySources?: ProjectSources;
797 /**
798 * Information about the build output artifacts for the build project.
799 */
800 artifacts?: ProjectArtifacts;
801 /**
802 * An array of ProjectArtifacts objects.
803 */
804 secondaryArtifacts?: ProjectArtifactsList;
805 /**
806 * Information about the cache for the build project.
807 */
808 cache?: ProjectCache;
809 /**
810 * Information about the build environment for this build project.
811 */
812 environment?: ProjectEnvironment;
813 /**
814 * The ARN of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
815 */
816 serviceRole?: NonEmptyString;
817 /**
818 * How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed. The default is 60 minutes.
819 */
820 timeoutInMinutes?: TimeOut;
821 /**
822 * The number of minutes a build is allowed to be queued before it times out.
823 */
824 queuedTimeoutInMinutes?: TimeOut;
825 /**
826 * The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output artifacts. You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key. You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the format alias/alias-name ).
827 */
828 encryptionKey?: NonEmptyString;
829 /**
830 * The tags for this build project. These tags are available for use by AWS services that support AWS CodeBuild build project tags.
831 */
832 tags?: TagList;
833 /**
834 * When the build project was created, expressed in Unix time format.
835 */
836 created?: Timestamp;
837 /**
838 * When the build project's settings were last modified, expressed in Unix time format.
839 */
840 lastModified?: Timestamp;
841 /**
842 * Information about a webhook that connects repository events to a build project in AWS CodeBuild.
843 */
844 webhook?: Webhook;
845 /**
846 * Information about the VPC configuration that AWS CodeBuild accesses.
847 */
848 vpcConfig?: VpcConfig;
849 /**
850 * Information about the build badge for the build project.
851 */
852 badge?: ProjectBadge;
853 /**
854 * Information about logs for the build project. A project can create logs in Amazon CloudWatch Logs, an S3 bucket, or both.
855 */
856 logsConfig?: LogsConfig;
857 }
858 export interface ProjectArtifacts {
859 /**
860 * The type of build output artifact. Valid values include: CODEPIPELINE: The build project has build output generated through AWS CodePipeline. NO_ARTIFACTS: The build project does not produce any build output. S3: The build project stores build output in Amazon Simple Storage Service (Amazon S3).
861 */
862 type: ArtifactsType;
863 /**
864 * Information about the build output artifact location: If type is set to CODEPIPELINE, AWS CodePipeline ignores this value if specified. This is because AWS CodePipeline manages its build output locations instead of AWS CodeBuild. If type is set to NO_ARTIFACTS, this value is ignored if specified, because no build output is produced. If type is set to S3, this is the name of the output bucket.
865 */
866 location?: String;
867 /**
868 * Along with namespaceType and name, the pattern that AWS CodeBuild uses to name and store the output artifact: If type is set to CODEPIPELINE, AWS CodePipeline ignores this value if specified. This is because AWS CodePipeline manages its build output names instead of AWS CodeBuild. If type is set to NO_ARTIFACTS, this value is ignored if specified, because no build output is produced. If type is set to S3, this is the path to the output artifact. If path is not specified, path is not used. For example, if path is set to MyArtifacts, namespaceType is set to NONE, and name is set to MyArtifact.zip, the output artifact is stored in the output bucket at MyArtifacts/MyArtifact.zip.
869 */
870 path?: String;
871 /**
872 * Along with path and name, the pattern that AWS CodeBuild uses to determine the name and location to store the output artifact: If type is set to CODEPIPELINE, AWS CodePipeline ignores this value if specified. This is because AWS CodePipeline manages its build output names instead of AWS CodeBuild. If type is set to NO_ARTIFACTS, this value is ignored if specified, because no build output is produced. If type is set to S3, valid values include: BUILD_ID: Include the build ID in the location of the build output artifact. NONE: Do not include the build ID. This is the default if namespaceType is not specified. For example, if path is set to MyArtifacts, namespaceType is set to BUILD_ID, and name is set to MyArtifact.zip, the output artifact is stored in MyArtifacts/build-ID/MyArtifact.zip.
873 */
874 namespaceType?: ArtifactNamespace;
875 /**
876 * Along with path and namespaceType, the pattern that AWS CodeBuild uses to name and store the output artifact: If type is set to CODEPIPELINE, AWS CodePipeline ignores this value if specified. This is because AWS CodePipeline manages its build output names instead of AWS CodeBuild. If type is set to NO_ARTIFACTS, this value is ignored if specified, because no build output is produced. If type is set to S3, this is the name of the output artifact object. If you set the name to be a forward slash ("/"), the artifact is stored in the root of the output bucket. For example: If path is set to MyArtifacts, namespaceType is set to BUILD_ID, and name is set to MyArtifact.zip, then the output artifact is stored in MyArtifacts/build-ID/MyArtifact.zip. If path is empty, namespaceType is set to NONE, and name is set to "/", the output artifact is stored in the root of the output bucket. If path is set to MyArtifacts, namespaceType is set to BUILD_ID, and name is set to "/", the output artifact is stored in MyArtifacts/build-ID .
877 */
878 name?: String;
879 /**
880 * The type of build output artifact to create: If type is set to CODEPIPELINE, AWS CodePipeline ignores this value if specified. This is because AWS CodePipeline manages its build output artifacts instead of AWS CodeBuild. If type is set to NO_ARTIFACTS, this value is ignored if specified, because no build output is produced. If type is set to S3, valid values include: NONE: AWS CodeBuild creates in the output bucket a folder that contains the build output. This is the default if packaging is not specified. ZIP: AWS CodeBuild creates in the output bucket a ZIP file that contains the build output.
881 */
882 packaging?: ArtifactPackaging;
883 /**
884 * If this flag is set, a name specified in the build spec file overrides the artifact name. The name specified in a build spec file is calculated at build time and uses the Shell Command Language. For example, you can append a date and time to your artifact name so that it is always unique.
885 */
886 overrideArtifactName?: WrapperBoolean;
887 /**
888 * Set to true if you do not want your output artifacts encrypted. This option is valid only if your artifacts type is Amazon Simple Storage Service (Amazon S3). If this is set with another artifacts type, an invalidInputException is thrown.
889 */
890 encryptionDisabled?: WrapperBoolean;
891 /**
892 * An identifier for this artifact definition.
893 */
894 artifactIdentifier?: String;
895 }
896 export type ProjectArtifactsList = ProjectArtifacts[];
897 export interface ProjectBadge {
898 /**
899 * Set this to true to generate a publicly accessible URL for your project's build badge.
900 */
901 badgeEnabled?: Boolean;
902 /**
903 * The publicly-accessible URL through which you can access the build badge for your project. The publicly accessible URL through which you can access the build badge for your project.
904 */
905 badgeRequestUrl?: String;
906 }
907 export interface ProjectCache {
908 /**
909 * The type of cache used by the build project. Valid values include: NO_CACHE: The build project does not use any cache. S3: The build project reads and writes from and to S3. LOCAL: The build project stores a cache locally on a build host that is only available to that build host.
910 */
911 type: CacheType;
912 /**
913 * Information about the cache location: NO_CACHE or LOCAL: This value is ignored. S3: This is the S3 bucket name/prefix.
914 */
915 location?: String;
916 /**
917 * If you use a LOCAL cache, the local cache mode. You can use one or more local cache modes at the same time. LOCAL_SOURCE_CACHE mode caches Git metadata for primary and secondary sources. After the cache is created, subsequent builds pull only the change between commits. This mode is a good choice for projects with a clean working directory and a source that is a large Git repository. If you choose this option and your project does not use a Git repository (GitHub, GitHub Enterprise, or Bitbucket), the option is ignored. LOCAL_DOCKER_LAYER_CACHE mode caches existing Docker layers. This mode is a good choice for projects that build or pull large Docker images. It can prevent the performance issues caused by pulling large Docker images down from the network. You can use a Docker layer cache in the Linux enviornment only. The privileged flag must be set so that your project has the required Docker permissions. You should consider the security implications before you use a Docker layer cache. LOCAL_CUSTOM_CACHE mode caches directories you specify in the buildspec file. This mode is a good choice if your build scenario is not suited to one of the other three local cache modes. If you use a custom cache: Only directories can be specified for caching. You cannot specify individual files. Symlinks are used to reference cached directories. Cached directories are linked to your build before it downloads its project sources. Cached items are overriden if a source item has the same name. Directories are specified using cache paths in the buildspec file.
918 */
919 modes?: ProjectCacheModes;
920 }
921 export type ProjectCacheModes = CacheMode[];
922 export type ProjectDescription = string;
923 export interface ProjectEnvironment {
924 /**
925 * The type of build environment to use for related builds.
926 */
927 type: EnvironmentType;
928 /**
929 * The image tag or image digest that identifies the Docker image to use for this build project. Use the following formats: For an image tag: registry/repository:tag. For example, to specify an image with the tag "latest," use registry/repository:latest. For an image digest: registry/repository@digest. For example, to specify an image with the digest "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf," use registry/repository@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf.
930 */
931 image: NonEmptyString;
932 /**
933 * Information about the compute resources the build project uses. Available values include: BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds. BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds. BUILD_GENERAL1_LARGE: Use up to 15 GB memory and 8 vCPUs for builds.
934 */
935 computeType: ComputeType;
936 /**
937 * A set of environment variables to make available to builds for this build project.
938 */
939 environmentVariables?: EnvironmentVariables;
940 /**
941 * Enables running the Docker daemon inside a Docker container. Set to true only if the build project is be used to build Docker images, and the specified build environment image is not provided by AWS CodeBuild with Docker support. Otherwise, all associated builds that attempt to interact with the Docker daemon fail. You must also start the Docker daemon so that builds can interact with it. One way to do this is to initialize the Docker daemon during the install phase of your build spec by running the following build commands. (Do not run these commands if the specified build environment image is provided by AWS CodeBuild with Docker support.) If the operating system's base image is Ubuntu Linux: - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&amp; - timeout 15 sh -c "until docker info; do echo .; sleep 1; done" If the operating system's base image is Alpine Linux, add the -t argument to timeout: - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&amp; - timeout 15 -t sh -c "until docker info; do echo .; sleep 1; done"
942 */
943 privilegedMode?: WrapperBoolean;
944 /**
945 * The certificate to use with this build project.
946 */
947 certificate?: String;
948 /**
949 * The credentials for access to a private registry.
950 */
951 registryCredential?: RegistryCredential;
952 /**
953 * The type of credentials AWS CodeBuild uses to pull images in your build. There are two valid values: CODEBUILD specifies that AWS CodeBuild uses its own credentials. This requires that you modify your ECR repository policy to trust AWS CodeBuild's service principal. SERVICE_ROLE specifies that AWS CodeBuild uses your build project's service role. When you use a cross-account or private registry image, you must use SERVICE_ROLE credentials. When you use an AWS CodeBuild curated image, you must use CODEBUILD credentials.
954 */
955 imagePullCredentialsType?: ImagePullCredentialsType;
956 }
957 export type ProjectName = string;
958 export type ProjectNames = NonEmptyString[];
959 export type ProjectSecondarySourceVersions = ProjectSourceVersion[];
960 export type ProjectSortByType = "NAME"|"CREATED_TIME"|"LAST_MODIFIED_TIME"|string;
961 export interface ProjectSource {
962 /**
963 * The type of repository that contains the source code to be built. Valid values include: BITBUCKET: The source code is in a Bitbucket repository. CODECOMMIT: The source code is in an AWS CodeCommit repository. CODEPIPELINE: The source code settings are specified in the source action of a pipeline in AWS CodePipeline. GITHUB: The source code is in a GitHub repository. NO_SOURCE: The project does not have input source code. S3: The source code is in an Amazon Simple Storage Service (Amazon S3) input bucket.
964 */
965 type: SourceType;
966 /**
967 * Information about the location of the source code to be built. Valid values include: For source code settings that are specified in the source action of a pipeline in AWS CodePipeline, location should not be specified. If it is specified, AWS CodePipeline ignores it. This is because AWS CodePipeline uses the settings in a pipeline's source action instead of this value. For source code in an AWS CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the build spec (for example, https://git-codecommit.region-ID.amazonaws.com/v1/repos/repo-name ). For source code in an Amazon Simple Storage Service (Amazon S3) input bucket, one of the following. The path to the ZIP file that contains the source code (for example, bucket-name/path/to/object-name.zip). The path to the folder that contains the source code (for example, bucket-name/path/to/source-code/folder/). For source code in a GitHub repository, the HTTPS clone URL to the repository that contains the source and the build spec. You must connect your AWS account to your GitHub account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with GitHub, on the GitHub Authorize application page, for Organization access, choose Request access next to each repository you want to allow AWS CodeBuild to have access to, and then choose Authorize application. (After you have connected to your GitHub account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to use this connection, in the source object, set the auth object's type value to OAUTH. For source code in a Bitbucket repository, the HTTPS clone URL to the repository that contains the source and the build spec. You must connect your AWS account to your Bitbucket account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with Bitbucket, on the Bitbucket Confirm access to your account page, choose Grant access. (After you have connected to your Bitbucket account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to use this connection, in the source object, set the auth object's type value to OAUTH.
968 */
969 location?: String;
970 /**
971 * Information about the Git clone depth for the build project.
972 */
973 gitCloneDepth?: GitCloneDepth;
974 /**
975 * Information about the Git submodules configuration for the build project.
976 */
977 gitSubmodulesConfig?: GitSubmodulesConfig;
978 /**
979 * The build spec declaration to use for the builds in this build project. If this value is not specified, a build spec must be included along with the source code to be built.
980 */
981 buildspec?: String;
982 /**
983 * Information about the authorization settings for AWS CodeBuild to access the source code to be built. This information is for the AWS CodeBuild console's use only. Your code should not get or set this information directly.
984 */
985 auth?: SourceAuth;
986 /**
987 * Set to true to report the status of a build's start and finish to your source provider. This option is valid only when your source provider is GitHub, GitHub Enterprise, or Bitbucket. If this is set and you use a different source provider, an invalidInputException is thrown.
988 */
989 reportBuildStatus?: WrapperBoolean;
990 /**
991 * Enable this flag to ignore SSL warnings while connecting to the project source code.
992 */
993 insecureSsl?: WrapperBoolean;
994 /**
995 * An identifier for this project source.
996 */
997 sourceIdentifier?: String;
998 }
999 export interface ProjectSourceVersion {
1000 /**
1001 * An identifier for a source in the build project.
1002 */
1003 sourceIdentifier: String;
1004 /**
1005 * The source version for the corresponding source identifier. If specified, must be one of: For AWS CodeCommit: the commit ID to use. For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format pr/pull-request-ID (for example, pr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. For Amazon Simple Storage Service (Amazon S3): the version ID of the object that represents the build input ZIP file to use.
1006 */
1007 sourceVersion: String;
1008 }
1009 export type ProjectSources = ProjectSource[];
1010 export type Projects = Project[];
1011 export interface RegistryCredential {
1012 /**
1013 * The Amazon Resource Name (ARN) or name of credentials created using AWS Secrets Manager. The credential can use the name of the credentials only if they exist in your current region.
1014 */
1015 credential: NonEmptyString;
1016 /**
1017 * The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for AWS Secrets Manager.
1018 */
1019 credentialProvider: CredentialProviderType;
1020 }
1021 export interface S3LogsConfig {
1022 /**
1023 * The current status of the S3 build logs. Valid values are: ENABLED: S3 build logs are enabled for this build project. DISABLED: S3 build logs are not enabled for this build project.
1024 */
1025 status: LogsConfigStatusType;
1026 /**
1027 * The ARN of an S3 bucket and the path prefix for S3 logs. If your Amazon S3 bucket name is my-bucket, and your path prefix is build-log, then acceptable formats are my-bucket/build-log or arn:aws:s3:::my-bucket/build-log.
1028 */
1029 location?: String;
1030 /**
1031 * Set to true if you do not want your S3 build log output encrypted. By default S3 build logs are encrypted.
1032 */
1033 encryptionDisabled?: WrapperBoolean;
1034 }
1035 export type SecurityGroupIds = NonEmptyString[];
1036 export type SensitiveNonEmptyString = string;
1037 export type ServerType = "GITHUB"|"BITBUCKET"|"GITHUB_ENTERPRISE"|string;
1038 export type SortOrderType = "ASCENDING"|"DESCENDING"|string;
1039 export interface SourceAuth {
1040 /**
1041 * This data type is deprecated and is no longer accurate or used. The authorization type to use. The only valid value is OAUTH, which represents the OAuth authorization type.
1042 */
1043 type: SourceAuthType;
1044 /**
1045 * The resource value that applies to the specified authorization type.
1046 */
1047 resource?: String;
1048 }
1049 export type SourceAuthType = "OAUTH"|string;
1050 export interface SourceCredentialsInfo {
1051 /**
1052 * The Amazon Resource Name (ARN) of the token.
1053 */
1054 arn?: NonEmptyString;
1055 /**
1056 * The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.
1057 */
1058 serverType?: ServerType;
1059 /**
1060 * The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, or PERSONAL_ACCESS_TOKEN.
1061 */
1062 authType?: AuthType;
1063 }
1064 export type SourceCredentialsInfos = SourceCredentialsInfo[];
1065 export type SourceType = "CODECOMMIT"|"CODEPIPELINE"|"GITHUB"|"S3"|"BITBUCKET"|"GITHUB_ENTERPRISE"|"NO_SOURCE"|string;
1066 export interface StartBuildInput {
1067 /**
1068 * The name of the AWS CodeBuild build project to start running a build.
1069 */
1070 projectName: NonEmptyString;
1071 /**
1072 * An array of ProjectSource objects.
1073 */
1074 secondarySourcesOverride?: ProjectSources;
1075 /**
1076 * An array of ProjectSourceVersion objects that specify one or more versions of the project's secondary sources to be used for this build only.
1077 */
1078 secondarySourcesVersionOverride?: ProjectSecondarySourceVersions;
1079 /**
1080 * A version of the build input to be built, for this build only. If not specified, the latest version is used. If specified, must be one of: For AWS CodeCommit: the commit ID to use. For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format pr/pull-request-ID (for example pr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. For Amazon Simple Storage Service (Amazon S3): the version ID of the object that represents the build input ZIP file to use.
1081 */
1082 sourceVersion?: String;
1083 /**
1084 * Build output artifact settings that override, for this build only, the latest ones already defined in the build project.
1085 */
1086 artifactsOverride?: ProjectArtifacts;
1087 /**
1088 * An array of ProjectArtifacts objects.
1089 */
1090 secondaryArtifactsOverride?: ProjectArtifactsList;
1091 /**
1092 * A set of environment variables that overrides, for this build only, the latest ones already defined in the build project.
1093 */
1094 environmentVariablesOverride?: EnvironmentVariables;
1095 /**
1096 * A source input type, for this build, that overrides the source input defined in the build project.
1097 */
1098 sourceTypeOverride?: SourceType;
1099 /**
1100 * A location that overrides, for this build, the source location for the one defined in the build project.
1101 */
1102 sourceLocationOverride?: String;
1103 /**
1104 * An authorization type for this build that overrides the one defined in the build project. This override applies only if the build project's source is BitBucket or GitHub.
1105 */
1106 sourceAuthOverride?: SourceAuth;
1107 /**
1108 * The user-defined depth of history, with a minimum value of 0, that overrides, for this build only, any previous depth of history defined in the build project.
1109 */
1110 gitCloneDepthOverride?: GitCloneDepth;
1111 /**
1112 * Information about the Git submodules configuration for this build of an AWS CodeBuild build project.
1113 */
1114 gitSubmodulesConfigOverride?: GitSubmodulesConfig;
1115 /**
1116 * A build spec declaration that overrides, for this build only, the latest one already defined in the build project.
1117 */
1118 buildspecOverride?: String;
1119 /**
1120 * Enable this flag to override the insecure SSL setting that is specified in the build project. The insecure SSL setting determines whether to ignore SSL warnings while connecting to the project source code. This override applies only if the build's source is GitHub Enterprise.
1121 */
1122 insecureSslOverride?: WrapperBoolean;
1123 /**
1124 * Set to true to report to your source provider the status of a build's start and completion. If you use this option with a source provider other than GitHub, GitHub Enterprise, or Bitbucket, an invalidInputException is thrown.
1125 */
1126 reportBuildStatusOverride?: WrapperBoolean;
1127 /**
1128 * A container type for this build that overrides the one specified in the build project.
1129 */
1130 environmentTypeOverride?: EnvironmentType;
1131 /**
1132 * The name of an image for this build that overrides the one specified in the build project.
1133 */
1134 imageOverride?: NonEmptyString;
1135 /**
1136 * The name of a compute type for this build that overrides the one specified in the build project.
1137 */
1138 computeTypeOverride?: ComputeType;
1139 /**
1140 * The name of a certificate for this build that overrides the one specified in the build project.
1141 */
1142 certificateOverride?: String;
1143 /**
1144 * A ProjectCache object specified for this build that overrides the one defined in the build project.
1145 */
1146 cacheOverride?: ProjectCache;
1147 /**
1148 * The name of a service role for this build that overrides the one specified in the build project.
1149 */
1150 serviceRoleOverride?: NonEmptyString;
1151 /**
1152 * Enable this flag to override privileged mode in the build project.
1153 */
1154 privilegedModeOverride?: WrapperBoolean;
1155 /**
1156 * The number of build timeout minutes, from 5 to 480 (8 hours), that overrides, for this build only, the latest setting already defined in the build project.
1157 */
1158 timeoutInMinutesOverride?: TimeOut;
1159 /**
1160 * The number of minutes a build is allowed to be queued before it times out.
1161 */
1162 queuedTimeoutInMinutesOverride?: TimeOut;
1163 /**
1164 * A unique, case sensitive identifier you provide to ensure the idempotency of the StartBuild request. The token is included in the StartBuild request and is valid for 12 hours. If you repeat the StartBuild request with the same token, but change a parameter, AWS CodeBuild returns a parameter mismatch error.
1165 */
1166 idempotencyToken?: String;
1167 /**
1168 * Log settings for this build that override the log settings defined in the build project.
1169 */
1170 logsConfigOverride?: LogsConfig;
1171 /**
1172 * The credentials for access to a private registry.
1173 */
1174 registryCredentialOverride?: RegistryCredential;
1175 /**
1176 * The type of credentials AWS CodeBuild uses to pull images in your build. There are two valid values: CODEBUILD specifies that AWS CodeBuild uses its own credentials. This requires that you modify your ECR repository policy to trust AWS CodeBuild's service principal. SERVICE_ROLE specifies that AWS CodeBuild uses your build project's service role. When using a cross-account or private registry image, you must use SERVICE_ROLE credentials. When using an AWS CodeBuild curated image, you must use CODEBUILD credentials.
1177 */
1178 imagePullCredentialsTypeOverride?: ImagePullCredentialsType;
1179 }
1180 export interface StartBuildOutput {
1181 /**
1182 * Information about the build to be run.
1183 */
1184 build?: Build;
1185 }
1186 export type StatusType = "SUCCEEDED"|"FAILED"|"FAULT"|"TIMED_OUT"|"IN_PROGRESS"|"STOPPED"|string;
1187 export interface StopBuildInput {
1188 /**
1189 * The ID of the build.
1190 */
1191 id: NonEmptyString;
1192 }
1193 export interface StopBuildOutput {
1194 /**
1195 * Information about the build.
1196 */
1197 build?: Build;
1198 }
1199 export type String = string;
1200 export type Subnets = NonEmptyString[];
1201 export interface Tag {
1202 /**
1203 * The tag's key.
1204 */
1205 key?: KeyInput;
1206 /**
1207 * The tag's value.
1208 */
1209 value?: ValueInput;
1210 }
1211 export type TagList = Tag[];
1212 export type TimeOut = number;
1213 export type Timestamp = Date;
1214 export interface UpdateProjectInput {
1215 /**
1216 * The name of the build project. You cannot change a build project's name.
1217 */
1218 name: NonEmptyString;
1219 /**
1220 * A new or replacement description of the build project.
1221 */
1222 description?: ProjectDescription;
1223 /**
1224 * Information to be changed about the build input source code for the build project.
1225 */
1226 source?: ProjectSource;
1227 /**
1228 * An array of ProjectSource objects.
1229 */
1230 secondarySources?: ProjectSources;
1231 /**
1232 * Information to be changed about the build output artifacts for the build project.
1233 */
1234 artifacts?: ProjectArtifacts;
1235 /**
1236 * An array of ProjectSource objects.
1237 */
1238 secondaryArtifacts?: ProjectArtifactsList;
1239 /**
1240 * Stores recently used information so that it can be quickly accessed at a later time.
1241 */
1242 cache?: ProjectCache;
1243 /**
1244 * Information to be changed about the build environment for the build project.
1245 */
1246 environment?: ProjectEnvironment;
1247 /**
1248 * The replacement ARN of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
1249 */
1250 serviceRole?: NonEmptyString;
1251 /**
1252 * The replacement value in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed.
1253 */
1254 timeoutInMinutes?: TimeOut;
1255 /**
1256 * The number of minutes a build is allowed to be queued before it times out.
1257 */
1258 queuedTimeoutInMinutes?: TimeOut;
1259 /**
1260 * The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output artifacts. You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key. You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the format alias/alias-name ).
1261 */
1262 encryptionKey?: NonEmptyString;
1263 /**
1264 * The replacement set of tags for this build project. These tags are available for use by AWS services that support AWS CodeBuild build project tags.
1265 */
1266 tags?: TagList;
1267 /**
1268 * VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC.
1269 */
1270 vpcConfig?: VpcConfig;
1271 /**
1272 * Set this to true to generate a publicly accessible URL for your project's build badge.
1273 */
1274 badgeEnabled?: WrapperBoolean;
1275 /**
1276 * Information about logs for the build project. A project can create logs in Amazon CloudWatch Logs, logs in an S3 bucket, or both.
1277 */
1278 logsConfig?: LogsConfig;
1279 }
1280 export interface UpdateProjectOutput {
1281 /**
1282 * Information about the build project that was changed.
1283 */
1284 project?: Project;
1285 }
1286 export interface UpdateWebhookInput {
1287 /**
1288 * The name of the AWS CodeBuild project.
1289 */
1290 projectName: ProjectName;
1291 /**
1292 * A regular expression used to determine which repository branches are built when a webhook is triggered. If the name of a branch matches the regular expression, then it is built. If branchFilter is empty, then all branches are built. It is recommended that you use filterGroups instead of branchFilter.
1293 */
1294 branchFilter?: String;
1295 /**
1296 * A boolean value that specifies whether the associated GitHub repository's secret token should be updated. If you use Bitbucket for your repository, rotateSecret is ignored.
1297 */
1298 rotateSecret?: Boolean;
1299 /**
1300 * An array of arrays of WebhookFilter objects used to determine if a webhook event can trigger a build. A filter group must pcontain at least one EVENT WebhookFilter.
1301 */
1302 filterGroups?: FilterGroups;
1303 }
1304 export interface UpdateWebhookOutput {
1305 /**
1306 * Information about a repository's webhook that is associated with a project in AWS CodeBuild.
1307 */
1308 webhook?: Webhook;
1309 }
1310 export type ValueInput = string;
1311 export interface VpcConfig {
1312 /**
1313 * The ID of the Amazon VPC.
1314 */
1315 vpcId?: NonEmptyString;
1316 /**
1317 * A list of one or more subnet IDs in your Amazon VPC.
1318 */
1319 subnets?: Subnets;
1320 /**
1321 * A list of one or more security groups IDs in your Amazon VPC.
1322 */
1323 securityGroupIds?: SecurityGroupIds;
1324 }
1325 export interface Webhook {
1326 /**
1327 * The URL to the webhook.
1328 */
1329 url?: NonEmptyString;
1330 /**
1331 * The AWS CodeBuild endpoint where webhook events are sent.
1332 */
1333 payloadUrl?: NonEmptyString;
1334 /**
1335 * The secret token of the associated repository. A Bitbucket webhook does not support secret.
1336 */
1337 secret?: NonEmptyString;
1338 /**
1339 * A regular expression used to determine which repository branches are built when a webhook is triggered. If the name of a branch matches the regular expression, then it is built. If branchFilter is empty, then all branches are built. It is recommended that you use filterGroups instead of branchFilter.
1340 */
1341 branchFilter?: String;
1342 /**
1343 * An array of arrays of WebhookFilter objects used to determine which webhooks are triggered. At least one WebhookFilter in the array must specify EVENT as its type. For a build to be triggered, at least one filter group in the filterGroups array must pass. For a filter group to pass, each of its filters must pass.
1344 */
1345 filterGroups?: FilterGroups;
1346 /**
1347 * A timestamp that indicates the last time a repository's secret token was modified.
1348 */
1349 lastModifiedSecret?: Timestamp;
1350 }
1351 export interface WebhookFilter {
1352 /**
1353 * The type of webhook filter. There are five webhook filter types: EVENT, ACTOR_ACCOUNT_ID, HEAD_REF, BASE_REF, and FILE_PATH. EVENT A webhook event triggers a build when the provided pattern matches one of four event types: PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED, and PULL_REQUEST_REOPENED. The EVENT patterns are specified as a comma-separated string. For example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED filters all push, pull request created, and pull request updated events. The PULL_REQUEST_REOPENED works with GitHub and GitHub Enterprise only. ACTOR_ACCOUNT_ID A webhook event triggers a build when a GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular expression pattern. HEAD_REF A webhook event triggers a build when the head reference matches the regular expression pattern. For example, refs/heads/branch-name and refs/tags/tag-name. Works with GitHub and GitHub Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and Bitbucket pull request events. BASE_REF A webhook event triggers a build when the base reference matches the regular expression pattern. For example, refs/heads/branch-name. Works with pull request events only. FILE_PATH A webhook triggers a build when the path of a changed file matches the regular expression pattern. Works with GitHub and GitHub Enterprise push events only.
1354 */
1355 type: WebhookFilterType;
1356 /**
1357 * For a WebHookFilter that uses EVENT type, a comma-separated string that specifies one or more events. For example, the webhook filter PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED allows all push, pull request created, and pull request updated events to trigger a build. For a WebHookFilter that uses any of the other filter types, a regular expression pattern. For example, a WebHookFilter that uses HEAD_REF for its type and the pattern ^refs/heads/ triggers a build when the head reference is a branch with a reference name refs/heads/branch-name.
1358 */
1359 pattern: String;
1360 /**
1361 * Used to indicate that the pattern determines which webhook events do not trigger a build. If true, then a webhook event that does not match the pattern triggers a build. If false, then a webhook event that matches the pattern triggers a build.
1362 */
1363 excludeMatchedPattern?: WrapperBoolean;
1364 }
1365 export type WebhookFilterType = "EVENT"|"BASE_REF"|"HEAD_REF"|"ACTOR_ACCOUNT_ID"|"FILE_PATH"|string;
1366 export type WrapperBoolean = boolean;
1367 export type WrapperInt = number;
1368 export type WrapperLong = number;
1369 /**
1370 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
1371 */
1372 export type apiVersion = "2016-10-06"|"latest"|string;
1373 export interface ClientApiVersions {
1374 /**
1375 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
1376 */
1377 apiVersion?: apiVersion;
1378 }
1379 export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
1380 /**
1381 * Contains interfaces for use with the CodeBuild client.
1382 */
1383 export import Types = CodeBuild;
1384}
1385export = CodeBuild;