Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Build

import type { Build } from "https://aws-api.deno.dev/v0.3/services/codebuild.ts?docs=full";

Information about a build.

interface Build {
arn?: string | null;
artifacts?: BuildArtifacts | null;
buildBatchArn?: string | null;
buildComplete?: boolean | null;
buildNumber?: number | null;
buildStatus?: StatusType | null;
cache?: ProjectCache | null;
currentPhase?: string | null;
debugSession?: DebugSession | null;
encryptionKey?: string | null;
endTime?: Date | number | null;
environment?: ProjectEnvironment | null;
exportedEnvironmentVariables?: ExportedEnvironmentVariable[] | null;
fileSystemLocations?: ProjectFileSystemLocation[] | null;
id?: string | null;
initiator?: string | null;
logs?: LogsLocation | null;
networkInterface?: NetworkInterface | null;
phases?: BuildPhase[] | null;
projectName?: string | null;
queuedTimeoutInMinutes?: number | null;
reportArns?: string[] | null;
resolvedSourceVersion?: string | null;
secondaryArtifacts?: BuildArtifacts[] | null;
secondarySources?: ProjectSource[] | null;
secondarySourceVersions?: ProjectSourceVersion[] | null;
serviceRole?: string | null;
source?: ProjectSource | null;
sourceVersion?: string | null;
startTime?: Date | number | null;
timeoutInMinutes?: number | null;
vpcConfig?: VpcConfig | null;
}

§Properties

§
arn?: string | null
[src]

The Amazon Resource Name (ARN) of the build.

§
artifacts?: BuildArtifacts | null
[src]

Information about the output artifacts for the build.

§
buildBatchArn?: string | null
[src]

The ARN of the batch build that this build is a member of, if applicable.

§
buildComplete?: boolean | null
[src]

Whether the build is complete. True if complete; otherwise, false.

§
buildNumber?: number | null
[src]

The number of the build. For each project, the buildNumber of its first build is 1. The buildNumber of each subsequent build is incremented by 1. If a build is deleted, the buildNumber of other builds does not change.

§
buildStatus?: StatusType | null
[src]

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.
§
cache?: ProjectCache | null
[src]

Information about the cache for the build.

§
currentPhase?: string | null
[src]

The current build phase.

§
debugSession?: DebugSession | null
[src]

Contains information about the debug session for this build.

§
encryptionKey?: string | null
[src]

The Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts.

Note: 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>).

§
endTime?: Date | number | null
[src]

When the build process ended, expressed in Unix time format.

§
environment?: ProjectEnvironment | null
[src]

Information about the build environment for this build.

§
exportedEnvironmentVariables?: ExportedEnvironmentVariable[] | null
[src]

A list of exported environment variables for this build.

Exported environment variables are used in conjunction with CodePipeline to export environment variables from the current build stage to subsequent stages in the pipeline. For more information, see Working with variables in the CodePipeline User Guide.

§
fileSystemLocations?: ProjectFileSystemLocation[] | null
[src]

An array of ProjectFileSystemLocation objects for a CodeBuild build project. A ProjectFileSystemLocation object specifies the identifier, location, mountOptions, mountPoint, and type of a file system created using Amazon Elastic File System.

§
id?: string | null
[src]

The unique ID for the build.

§
initiator?: string | null
[src]

The entity that started the build. Valid values include:

  • If CodePipeline started the build, the pipeline's name (for example, codepipeline/my-demo-pipeline).
  • If an IAM user started the build, the user's name (for example, MyUserName).
  • If the Jenkins plugin for CodeBuild started the build, the string CodeBuild-Jenkins-Plugin.
§
logs?: LogsLocation | null
[src]

Information about the build's logs in CloudWatch Logs.

§
networkInterface?: NetworkInterface | null
[src]

Describes a network interface.

§
phases?: BuildPhase[] | null
[src]

Information about all previous build phases that are complete and information about any current build phase that is not yet complete.

§
projectName?: string | null
[src]

The name of the CodeBuild project.

§
queuedTimeoutInMinutes?: number | null
[src]

The number of minutes a build is allowed to be queued before it times out.

§
reportArns?: string[] | null
[src]

An array of the ARNs associated with this build's reports.

§
resolvedSourceVersion?: string | null
[src]

An identifier for the version of this build's source code.

  • For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID.
  • For CodePipeline, the source revision provided by CodePipeline.
  • For Amazon S3, this does not apply.
§
secondaryArtifacts?: BuildArtifacts[] | null
[src]

An array of ProjectArtifacts objects.

§
secondarySources?: ProjectSource[] | null
[src]

An array of ProjectSource objects.

§
secondarySourceVersions?: ProjectSourceVersion[] | null
[src]

An array of ProjectSourceVersion objects. Each ProjectSourceVersion must be one of:

  • For CodeCommit: the commit ID, branch, or Git tag 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 S3: the version ID of the object that represents the build input ZIP file to use.
§
serviceRole?: string | null
[src]

The name of a service role used for this build.

§
source?: ProjectSource | null
[src]

Information about the source code to be built.

§
sourceVersion?: string | null
[src]

Any version identifier for the version of the source code to be built. If sourceVersion is specified at the project level, then this sourceVersion (at the build level) takes precedence.

For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.

§
startTime?: Date | number | null
[src]

When the build process started, expressed in Unix time format.

§
timeoutInMinutes?: number | null
[src]

How long, in minutes, for CodeBuild to wait before timing out this build if it does not get marked as completed.

§
vpcConfig?: VpcConfig | null
[src]

If your 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.