{ "version":"2.0", "metadata":{ "apiVersion":"2016-10-06", "endpointPrefix":"codebuild", "jsonVersion":"1.1", "protocol":"json", "serviceFullName":"AWS CodeBuild", "serviceId":"CodeBuild", "signatureVersion":"v4", "targetPrefix":"CodeBuild_20161006", "uid":"codebuild-2016-10-06" }, "operations":{ "BatchDeleteBuilds":{ "name":"BatchDeleteBuilds", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"BatchDeleteBuildsInput"}, "output":{"shape":"BatchDeleteBuildsOutput"}, "errors":[ {"shape":"InvalidInputException"} ], "documentation":"

Deletes one or more builds.

" }, "BatchGetBuildBatches":{ "name":"BatchGetBuildBatches", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"BatchGetBuildBatchesInput"}, "output":{"shape":"BatchGetBuildBatchesOutput"}, "errors":[ {"shape":"InvalidInputException"} ], "documentation":"

Retrieves information about one or more batch builds.

" }, "BatchGetBuilds":{ "name":"BatchGetBuilds", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"BatchGetBuildsInput"}, "output":{"shape":"BatchGetBuildsOutput"}, "errors":[ {"shape":"InvalidInputException"} ], "documentation":"

Gets information about one or more builds.

" }, "BatchGetProjects":{ "name":"BatchGetProjects", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"BatchGetProjectsInput"}, "output":{"shape":"BatchGetProjectsOutput"}, "errors":[ {"shape":"InvalidInputException"} ], "documentation":"

Gets information about one or more build projects.

" }, "BatchGetReportGroups":{ "name":"BatchGetReportGroups", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"BatchGetReportGroupsInput"}, "output":{"shape":"BatchGetReportGroupsOutput"}, "errors":[ {"shape":"InvalidInputException"} ], "documentation":"

Returns an array of report groups.

" }, "BatchGetReports":{ "name":"BatchGetReports", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"BatchGetReportsInput"}, "output":{"shape":"BatchGetReportsOutput"}, "errors":[ {"shape":"InvalidInputException"} ], "documentation":"

Returns an array of reports.

" }, "CreateProject":{ "name":"CreateProject", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"CreateProjectInput"}, "output":{"shape":"CreateProjectOutput"}, "errors":[ {"shape":"InvalidInputException"}, {"shape":"ResourceAlreadyExistsException"}, {"shape":"AccountLimitExceededException"} ], "documentation":"

Creates a build project.

" }, "CreateReportGroup":{ "name":"CreateReportGroup", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"CreateReportGroupInput"}, "output":{"shape":"CreateReportGroupOutput"}, "errors":[ {"shape":"InvalidInputException"}, {"shape":"ResourceAlreadyExistsException"}, {"shape":"AccountLimitExceededException"} ], "documentation":"

Creates a report group. A report group contains a collection of reports.

" }, "CreateWebhook":{ "name":"CreateWebhook", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"CreateWebhookInput"}, "output":{"shape":"CreateWebhookOutput"}, "errors":[ {"shape":"InvalidInputException"}, {"shape":"OAuthProviderException"}, {"shape":"ResourceAlreadyExistsException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

For an existing CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, enables CodeBuild to start rebuilding the source code every time a code change is pushed to the repository.

If you enable webhooks for an CodeBuild project, and the project is used as a build step in CodePipeline, then two identical builds are created for each commit. One build is triggered through webhooks, and one through CodePipeline. Because billing is on a per-build basis, you are billed for both builds. Therefore, if you are using CodePipeline, we recommend that you disable webhooks in CodeBuild. In the CodeBuild console, clear the Webhook box. For more information, see step 5 in Change a Build Project's Settings.

" }, "DeleteBuildBatch":{ "name":"DeleteBuildBatch", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteBuildBatchInput"}, "output":{"shape":"DeleteBuildBatchOutput"}, "errors":[ {"shape":"InvalidInputException"} ], "documentation":"

Deletes a batch build.

" }, "DeleteProject":{ "name":"DeleteProject", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteProjectInput"}, "output":{"shape":"DeleteProjectOutput"}, "errors":[ {"shape":"InvalidInputException"} ], "documentation":"

Deletes a build project. When you delete a project, its builds are not deleted.

" }, "DeleteReport":{ "name":"DeleteReport", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteReportInput"}, "output":{"shape":"DeleteReportOutput"}, "errors":[ {"shape":"InvalidInputException"} ], "documentation":"

Deletes a report.

" }, "DeleteReportGroup":{ "name":"DeleteReportGroup", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteReportGroupInput"}, "output":{"shape":"DeleteReportGroupOutput"}, "errors":[ {"shape":"InvalidInputException"} ], "documentation":"

Deletes a report group. Before you delete a report group, you must delete its reports.

" }, "DeleteResourcePolicy":{ "name":"DeleteResourcePolicy", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteResourcePolicyInput"}, "output":{"shape":"DeleteResourcePolicyOutput"}, "errors":[ {"shape":"InvalidInputException"} ], "documentation":"

Deletes a resource policy that is identified by its resource ARN.

" }, "DeleteSourceCredentials":{ "name":"DeleteSourceCredentials", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteSourceCredentialsInput"}, "output":{"shape":"DeleteSourceCredentialsOutput"}, "errors":[ {"shape":"InvalidInputException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.

" }, "DeleteWebhook":{ "name":"DeleteWebhook", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteWebhookInput"}, "output":{"shape":"DeleteWebhookOutput"}, "errors":[ {"shape":"InvalidInputException"}, {"shape":"ResourceNotFoundException"}, {"shape":"OAuthProviderException"} ], "documentation":"

For an existing CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, stops CodeBuild from rebuilding the source code every time a code change is pushed to the repository.

" }, "DescribeCodeCoverages":{ "name":"DescribeCodeCoverages", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeCodeCoveragesInput"}, "output":{"shape":"DescribeCodeCoveragesOutput"}, "errors":[ {"shape":"InvalidInputException"} ], "documentation":"

Retrieves one or more code coverage reports.

" }, "DescribeTestCases":{ "name":"DescribeTestCases", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeTestCasesInput"}, "output":{"shape":"DescribeTestCasesOutput"}, "errors":[ {"shape":"InvalidInputException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Returns a list of details about test cases for a report.

" }, "GetReportGroupTrend":{ "name":"GetReportGroupTrend", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetReportGroupTrendInput"}, "output":{"shape":"GetReportGroupTrendOutput"}, "errors":[ {"shape":"InvalidInputException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Analyzes and accumulates test report values for the specified test reports.

" }, "GetResourcePolicy":{ "name":"GetResourcePolicy", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetResourcePolicyInput"}, "output":{"shape":"GetResourcePolicyOutput"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"InvalidInputException"} ], "documentation":"

Gets a resource policy that is identified by its resource ARN.

" }, "ImportSourceCredentials":{ "name":"ImportSourceCredentials", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ImportSourceCredentialsInput"}, "output":{"shape":"ImportSourceCredentialsOutput"}, "errors":[ {"shape":"InvalidInputException"}, {"shape":"AccountLimitExceededException"}, {"shape":"ResourceAlreadyExistsException"} ], "documentation":"

Imports the source repository credentials for an CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository.

" }, "InvalidateProjectCache":{ "name":"InvalidateProjectCache", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"InvalidateProjectCacheInput"}, "output":{"shape":"InvalidateProjectCacheOutput"}, "errors":[ {"shape":"InvalidInputException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Resets the cache for a project.

" }, "ListBuildBatches":{ "name":"ListBuildBatches", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListBuildBatchesInput"}, "output":{"shape":"ListBuildBatchesOutput"}, "errors":[ {"shape":"InvalidInputException"} ], "documentation":"

Retrieves the identifiers of your build batches in the current region.

" }, "ListBuildBatchesForProject":{ "name":"ListBuildBatchesForProject", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListBuildBatchesForProjectInput"}, "output":{"shape":"ListBuildBatchesForProjectOutput"}, "errors":[ {"shape":"InvalidInputException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Retrieves the identifiers of the build batches for a specific project.

" }, "ListBuilds":{ "name":"ListBuilds", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListBuildsInput"}, "output":{"shape":"ListBuildsOutput"}, "errors":[ {"shape":"InvalidInputException"} ], "documentation":"

Gets a list of build IDs, with each build ID representing a single build.

" }, "ListBuildsForProject":{ "name":"ListBuildsForProject", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListBuildsForProjectInput"}, "output":{"shape":"ListBuildsForProjectOutput"}, "errors":[ {"shape":"InvalidInputException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Gets a list of build identifiers for the specified build project, with each build identifier representing a single build.

" }, "ListCuratedEnvironmentImages":{ "name":"ListCuratedEnvironmentImages", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListCuratedEnvironmentImagesInput"}, "output":{"shape":"ListCuratedEnvironmentImagesOutput"}, "documentation":"

Gets information about Docker images that are managed by CodeBuild.

" }, "ListProjects":{ "name":"ListProjects", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListProjectsInput"}, "output":{"shape":"ListProjectsOutput"}, "errors":[ {"shape":"InvalidInputException"} ], "documentation":"

Gets a list of build project names, with each build project name representing a single build project.

" }, "ListReportGroups":{ "name":"ListReportGroups", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListReportGroupsInput"}, "output":{"shape":"ListReportGroupsOutput"}, "errors":[ {"shape":"InvalidInputException"} ], "documentation":"

Gets a list ARNs for the report groups in the current Amazon Web Services account.

" }, "ListReports":{ "name":"ListReports", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListReportsInput"}, "output":{"shape":"ListReportsOutput"}, "errors":[ {"shape":"InvalidInputException"} ], "documentation":"

Returns a list of ARNs for the reports in the current Amazon Web Services account.

" }, "ListReportsForReportGroup":{ "name":"ListReportsForReportGroup", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListReportsForReportGroupInput"}, "output":{"shape":"ListReportsForReportGroupOutput"}, "errors":[ {"shape":"InvalidInputException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Returns a list of ARNs for the reports that belong to a `ReportGroup`.

" }, "ListSharedProjects":{ "name":"ListSharedProjects", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListSharedProjectsInput"}, "output":{"shape":"ListSharedProjectsOutput"}, "errors":[ {"shape":"InvalidInputException"} ], "documentation":"

Gets a list of projects that are shared with other Amazon Web Services accounts or users.

" }, "ListSharedReportGroups":{ "name":"ListSharedReportGroups", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListSharedReportGroupsInput"}, "output":{"shape":"ListSharedReportGroupsOutput"}, "errors":[ {"shape":"InvalidInputException"} ], "documentation":"

Gets a list of report groups that are shared with other Amazon Web Services accounts or users.

" }, "ListSourceCredentials":{ "name":"ListSourceCredentials", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListSourceCredentialsInput"}, "output":{"shape":"ListSourceCredentialsOutput"}, "errors":[ {"shape":"InvalidInputException"} ], "documentation":"

Returns a list of `SourceCredentialsInfo` objects.

" }, "PutResourcePolicy":{ "name":"PutResourcePolicy", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"PutResourcePolicyInput"}, "output":{"shape":"PutResourcePolicyOutput"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"InvalidInputException"} ], "documentation":"

Stores a resource policy for the ARN of a `Project` or `ReportGroup` object.

" }, "RetryBuild":{ "name":"RetryBuild", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"RetryBuildInput"}, "output":{"shape":"RetryBuildOutput"}, "errors":[ {"shape":"InvalidInputException"}, {"shape":"ResourceNotFoundException"}, {"shape":"AccountLimitExceededException"} ], "documentation":"

Restarts a build.

" }, "RetryBuildBatch":{ "name":"RetryBuildBatch", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"RetryBuildBatchInput"}, "output":{"shape":"RetryBuildBatchOutput"}, "errors":[ {"shape":"InvalidInputException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Restarts a failed batch build. Only batch builds that have failed can be retried.

" }, "StartBuild":{ "name":"StartBuild", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"StartBuildInput"}, "output":{"shape":"StartBuildOutput"}, "errors":[ {"shape":"InvalidInputException"}, {"shape":"ResourceNotFoundException"}, {"shape":"AccountLimitExceededException"} ], "documentation":"

Starts running a build.

" }, "StartBuildBatch":{ "name":"StartBuildBatch", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"StartBuildBatchInput"}, "output":{"shape":"StartBuildBatchOutput"}, "errors":[ {"shape":"InvalidInputException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Starts a batch build for a project.

" }, "StopBuild":{ "name":"StopBuild", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"StopBuildInput"}, "output":{"shape":"StopBuildOutput"}, "errors":[ {"shape":"InvalidInputException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Attempts to stop running a build.

" }, "StopBuildBatch":{ "name":"StopBuildBatch", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"StopBuildBatchInput"}, "output":{"shape":"StopBuildBatchOutput"}, "errors":[ {"shape":"InvalidInputException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Stops a running batch build.

" }, "UpdateProject":{ "name":"UpdateProject", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"UpdateProjectInput"}, "output":{"shape":"UpdateProjectOutput"}, "errors":[ {"shape":"InvalidInputException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Changes the settings of a build project.

" }, "UpdateProjectVisibility":{ "name":"UpdateProjectVisibility", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"UpdateProjectVisibilityInput"}, "output":{"shape":"UpdateProjectVisibilityOutput"}, "errors":[ {"shape":"InvalidInputException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Changes the public visibility for a project. The project's build results, logs, and artifacts are available to the general public. For more information, see Public build projects in the CodeBuild User Guide.

The following should be kept in mind when making your projects public:

- All of a project's build results, logs, and artifacts, including builds that were run when the project was private, are available to the general public.

- All build logs and artifacts are available to the public. Environment variables, source code, and other sensitive information may have been output to the build logs and artifacts. You must be careful about what information is output to the build logs. Some best practice are:

  - Do not store sensitive values in environment variables. We recommend that you use an Amazon EC2 Systems Manager Parameter Store or Secrets Manager to store sensitive values.

  - Follow Best practices for using webhooks in the CodeBuild User Guide to limit which entities can trigger a build, and do not store the buildspec in the project itself, to ensure that your webhooks are as secure as possible.

- A malicious user can use public builds to distribute malicious artifacts. We recommend that you review all pull requests to verify that the pull request is a legitimate change. We also recommend that you validate any artifacts with their checksums to make sure that the correct artifacts are being downloaded.

" }, "UpdateReportGroup":{ "name":"UpdateReportGroup", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"UpdateReportGroupInput"}, "output":{"shape":"UpdateReportGroupOutput"}, "errors":[ {"shape":"InvalidInputException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Updates a report group.

" }, "UpdateWebhook":{ "name":"UpdateWebhook", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"UpdateWebhookInput"}, "output":{"shape":"UpdateWebhookOutput"}, "errors":[ {"shape":"InvalidInputException"}, {"shape":"ResourceNotFoundException"}, {"shape":"OAuthProviderException"} ], "documentation":"

Updates the webhook associated with an CodeBuild build project.

If you use Bitbucket for your repository, `rotateSecret` is ignored.

" } }, "shapes":{ "AccountLimitExceededException":{ "type":"structure", "members":{ }, "documentation":"

An Amazon Web Services service limit was exceeded for the calling Amazon Web Services account.

", "exception":true }, "ArtifactNamespace":{ "type":"string", "enum":[ "NONE", "BUILD_ID" ] }, "ArtifactPackaging":{ "type":"string", "enum":[ "NONE", "ZIP" ] }, "ArtifactsType":{ "type":"string", "enum":[ "CODEPIPELINE", "S3", "NO_ARTIFACTS" ] }, "AuthType":{ "type":"string", "enum":[ "OAUTH", "BASIC_AUTH", "PERSONAL_ACCESS_TOKEN" ] }, "BatchDeleteBuildsInput":{ "type":"structure", "required":["ids"], "members":{ "ids":{ "shape":"BuildIds", "documentation":"

The IDs of the builds to delete.

" } } }, "BatchDeleteBuildsOutput":{ "type":"structure", "members":{ "buildsDeleted":{ "shape":"BuildIds", "documentation":"

The IDs of the builds that were successfully deleted.

" }, "buildsNotDeleted":{ "shape":"BuildsNotDeleted", "documentation":"

Information about any builds that could not be successfully deleted.

" } } }, "BatchGetBuildBatchesInput":{ "type":"structure", "required":["ids"], "members":{ "ids":{ "shape":"BuildBatchIds", "documentation":"

An array that contains the batch build identifiers to retrieve.

" } } }, "BatchGetBuildBatchesOutput":{ "type":"structure", "members":{ "buildBatches":{ "shape":"BuildBatches", "documentation":"

An array of `BuildBatch` objects that represent the retrieved batch builds.

" }, "buildBatchesNotFound":{ "shape":"BuildBatchIds", "documentation":"

An array that contains the identifiers of any batch builds that are not found.

" } } }, "BatchGetBuildsInput":{ "type":"structure", "required":["ids"], "members":{ "ids":{ "shape":"BuildIds", "documentation":"

The IDs of the builds.

" } } }, "BatchGetBuildsOutput":{ "type":"structure", "members":{ "builds":{ "shape":"Builds", "documentation":"

Information about the requested builds.

" }, "buildsNotFound":{ "shape":"BuildIds", "documentation":"

The IDs of builds for which information could not be found.

" } } }, "BatchGetProjectsInput":{ "type":"structure", "required":["names"], "members":{ "names":{ "shape":"ProjectNames", "documentation":"

The names or ARNs of the build projects. To get information about a project shared with your Amazon Web Services account, its ARN must be specified. You cannot specify a shared project using its name.

" } } }, "BatchGetProjectsOutput":{ "type":"structure", "members":{ "projects":{ "shape":"Projects", "documentation":"

Information about the requested build projects.

" }, "projectsNotFound":{ "shape":"ProjectNames", "documentation":"

The names of build projects for which information could not be found.

" } } }, "BatchGetReportGroupsInput":{ "type":"structure", "required":["reportGroupArns"], "members":{ "reportGroupArns":{ "shape":"ReportGroupArns", "documentation":"

An array of report group ARNs that identify the report groups to return.

" } } }, "BatchGetReportGroupsOutput":{ "type":"structure", "members":{ "reportGroups":{ "shape":"ReportGroups", "documentation":"

The array of report groups returned by `BatchGetReportGroups`.

" }, "reportGroupsNotFound":{ "shape":"ReportGroupArns", "documentation":"

An array of ARNs passed to `BatchGetReportGroups` that are not associated with a `ReportGroup`.

" } } }, "BatchGetReportsInput":{ "type":"structure", "required":["reportArns"], "members":{ "reportArns":{ "shape":"ReportArns", "documentation":"

An array of ARNs that identify the `Report` objects to return.

" } } }, "BatchGetReportsOutput":{ "type":"structure", "members":{ "reports":{ "shape":"Reports", "documentation":"

The array of `Report` objects returned by `BatchGetReports`.

" }, "reportsNotFound":{ "shape":"ReportArns", "documentation":"

An array of ARNs passed to `BatchGetReportGroups` that are not associated with a `Report`.

" } } }, "BatchReportModeType":{ "type":"string", "enum":[ "REPORT_INDIVIDUAL_BUILDS", "REPORT_AGGREGATED_BATCH" ] }, "BatchRestrictions":{ "type":"structure", "members":{ "maximumBuildsAllowed":{ "shape":"WrapperInt", "documentation":"

Specifies the maximum number of builds allowed.

" }, "computeTypesAllowed":{ "shape":"ComputeTypesAllowed", "documentation":"

An array of strings that specify the compute types that are allowed for the batch build. See Build environment compute types in the CodeBuild User Guide for these values.

" } }, "documentation":"

Specifies restrictions for the batch build.

" }, "Boolean":{"type":"boolean"}, "BucketOwnerAccess":{ "type":"string", "documentation":"

Specifies the bucket owner's access for objects that another account uploads to their Amazon S3 bucket. By default, only the account that uploads the objects to the bucket has access to these objects. This property allows you to give the bucket owner access to these objects.

To use this property, your CodeBuild service role must have the `s3:PutBucketAcl` permission. This permission allows CodeBuild to modify the access control list for the bucket.

This property can be one of the following values:

NONE

  The bucket owner does not have access to the objects. This is the default.

READ_ONLY

  The bucket owner has read-only access to the objects. The uploading account retains ownership of the objects.

FULL

  The bucket owner has full access to the objects. Object ownership is determined by the following criteria:

  - If the bucket is configured with the Bucket owner preferred setting, the bucket owner owns the objects. The uploading account will have object access as specified by the bucket's policy.

  - Otherwise, the uploading account retains ownership of the objects.

  For more information about Amazon S3 object ownership, see Controlling ownership of uploaded objects using S3 Object Ownership in the Amazon Simple Storage Service User Guide.

", "enum":[ "NONE", "READ_ONLY", "FULL" ] }, "Build":{ "type":"structure", "members":{ "id":{ "shape":"NonEmptyString", "documentation":"

The unique ID for the build.

" }, "arn":{ "shape":"NonEmptyString", "documentation":"

The Amazon Resource Name (ARN) of the build.

" }, "buildNumber":{ "shape":"WrapperLong", "documentation":"

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.

" }, "startTime":{ "shape":"Timestamp", "documentation":"

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

" }, "endTime":{ "shape":"Timestamp", "documentation":"

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

" }, "currentPhase":{ "shape":"String", "documentation":"

The current build phase.

" }, "buildStatus":{ "shape":"StatusType", "documentation":"

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.

" }, "sourceVersion":{ "shape":"NonEmptyString", "documentation":"

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.

" }, "resolvedSourceVersion":{ "shape":"NonEmptyString", "documentation":"

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.

" }, "projectName":{ "shape":"NonEmptyString", "documentation":"

The name of the CodeBuild project.

" }, "phases":{ "shape":"BuildPhases", "documentation":"

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

" }, "source":{ "shape":"ProjectSource", "documentation":"

Information about the source code to be built.

" }, "secondarySources":{ "shape":"ProjectSources", "documentation":"

An array of `ProjectSource` objects.

" }, "secondarySourceVersions":{ "shape":"ProjectSecondarySourceVersions", "documentation":"

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.

" }, "artifacts":{ "shape":"BuildArtifacts", "documentation":"

Information about the output artifacts for the build.

" }, "secondaryArtifacts":{ "shape":"BuildArtifactsList", "documentation":"

An array of `ProjectArtifacts` objects.

" }, "cache":{ "shape":"ProjectCache", "documentation":"

Information about the cache for the build.

" }, "environment":{ "shape":"ProjectEnvironment", "documentation":"

Information about the build environment for this build.

" }, "serviceRole":{ "shape":"NonEmptyString", "documentation":"

The name of a service role used for this build.

" }, "logs":{ "shape":"LogsLocation", "documentation":"

Information about the build's logs in CloudWatch Logs.

" }, "timeoutInMinutes":{ "shape":"WrapperInt", "documentation":"

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

" }, "queuedTimeoutInMinutes":{ "shape":"WrapperInt", "documentation":"

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

" }, "buildComplete":{ "shape":"Boolean", "documentation":"

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

" }, "initiator":{ "shape":"String", "documentation":"

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 a 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`.

" }, "vpcConfig":{ "shape":"VpcConfig", "documentation":"

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.

" }, "networkInterface":{ "shape":"NetworkInterface", "documentation":"

Describes a network interface.

" }, "encryptionKey":{ "shape":"NonEmptyString", "documentation":"

The Key Management Service 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>`).

" }, "exportedEnvironmentVariables":{ "shape":"ExportedEnvironmentVariables", "documentation":"

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.

" }, "reportArns":{ "shape":"BuildReportArns", "documentation":"

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

" }, "fileSystemLocations":{ "shape":"ProjectFileSystemLocations", "documentation":"

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.

" }, "debugSession":{ "shape":"DebugSession", "documentation":"

Contains information about the debug session for this build.

" }, "buildBatchArn":{ "shape":"String", "documentation":"

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

" } }, "documentation":"

Information about a build.

" }, "BuildArtifacts":{ "type":"structure", "members":{ "location":{ "shape":"String", "documentation":"

Information about the location of the build artifacts.

" }, "sha256sum":{ "shape":"String", "documentation":"

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`.

" }, "md5sum":{ "shape":"String", "documentation":"

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`.

" }, "overrideArtifactName":{ "shape":"WrapperBoolean", "documentation":"

If this flag is set, a name specified in the buildspec file overrides the artifact name. The name specified in a buildspec 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.

" }, "encryptionDisabled":{ "shape":"WrapperBoolean", "documentation":"

Information that tells you if encryption for build artifacts is disabled.

" }, "artifactIdentifier":{ "shape":"String", "documentation":"

An identifier for this artifact definition.

" }, "bucketOwnerAccess":{"shape":"BucketOwnerAccess"} }, "documentation":"

Information about build output artifacts.

" }, "BuildArtifactsList":{ "type":"list", "member":{"shape":"BuildArtifacts"}, "max":12, "min":0 }, "BuildBatch":{ "type":"structure", "members":{ "id":{ "shape":"NonEmptyString", "documentation":"

The identifier of the batch build.

" }, "arn":{ "shape":"NonEmptyString", "documentation":"

The ARN of the batch build.

" }, "startTime":{ "shape":"Timestamp", "documentation":"

The date and time that the batch build started.

" }, "endTime":{ "shape":"Timestamp", "documentation":"

The date and time that the batch build ended.

" }, "currentPhase":{ "shape":"String", "documentation":"

The current phase of the batch build.

" }, "buildBatchStatus":{ "shape":"StatusType", "documentation":"

The status of the batch build.

" }, "sourceVersion":{ "shape":"NonEmptyString", "documentation":"

The identifier of the version of the source code to be built.

" }, "resolvedSourceVersion":{ "shape":"NonEmptyString", "documentation":"

The identifier of the resolved version of this batch 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.

" }, "projectName":{ "shape":"NonEmptyString", "documentation":"

The name of the batch build project.

" }, "phases":{ "shape":"BuildBatchPhases", "documentation":"

An array of `BuildBatchPhase` objects the specify the phases of the batch build.

" }, "source":{"shape":"ProjectSource"}, "secondarySources":{ "shape":"ProjectSources", "documentation":"

An array of `ProjectSource` objects that define the sources for the batch build.

" }, "secondarySourceVersions":{ "shape":"ProjectSecondarySourceVersions", "documentation":"

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.

" }, "artifacts":{ "shape":"BuildArtifacts", "documentation":"

A `BuildArtifacts` object the defines the build artifacts for this batch build.

" }, "secondaryArtifacts":{ "shape":"BuildArtifactsList", "documentation":"

An array of `BuildArtifacts` objects the define the build artifacts for this batch build.

" }, "cache":{"shape":"ProjectCache"}, "environment":{"shape":"ProjectEnvironment"}, "serviceRole":{ "shape":"NonEmptyString", "documentation":"

The name of a service role used for builds in the batch.

" }, "logConfig":{"shape":"LogsConfig"}, "buildTimeoutInMinutes":{ "shape":"WrapperInt", "documentation":"

Specifies the maximum amount of time, in minutes, that the build in a batch must be completed in.

" }, "queuedTimeoutInMinutes":{ "shape":"WrapperInt", "documentation":"

Specifies the amount of time, in minutes, that the batch build is allowed to be queued before it times out.

" }, "complete":{ "shape":"Boolean", "documentation":"

Indicates if the batch build is complete.

" }, "initiator":{ "shape":"String", "documentation":"

The entity that started the batch build. Valid values include:

- If CodePipeline started the build, the pipeline's name (for example, `codepipeline/my-demo-pipeline`).

- If a user started the build, the user's name.

- If the Jenkins plugin for CodeBuild started the build, the string `CodeBuild-Jenkins-Plugin`.

" }, "vpcConfig":{"shape":"VpcConfig"}, "encryptionKey":{ "shape":"NonEmptyString", "documentation":"

The Key Management Service customer master key (CMK) to be used for encrypting the batch 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>`).

" }, "buildBatchNumber":{ "shape":"WrapperLong", "documentation":"

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

" }, "fileSystemLocations":{ "shape":"ProjectFileSystemLocations", "documentation":"

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

" }, "buildBatchConfig":{"shape":"ProjectBuildBatchConfig"}, "buildGroups":{ "shape":"BuildGroups", "documentation":"

An array of `BuildGroup` objects that define the build groups for the batch build.

" }, "debugSessionEnabled":{ "shape":"WrapperBoolean", "documentation":"

Specifies if session debugging is enabled for this batch build. For more information, see Viewing a running build in Session Manager. Batch session debugging is not supported for matrix batch builds.

" } }, "documentation":"

Contains information about a batch build.

" }, "BuildBatchFilter":{ "type":"structure", "members":{ "status":{ "shape":"StatusType", "documentation":"

The status of the batch builds to retrieve. Only batch builds that have this status will be retrieved.

" } }, "documentation":"

Specifies filters when retrieving batch builds.

" }, "BuildBatchIds":{ "type":"list", "member":{"shape":"NonEmptyString"}, "max":100, "min":0 }, "BuildBatchPhase":{ "type":"structure", "members":{ "phaseType":{ "shape":"BuildBatchPhaseType", "documentation":"

The name of the batch build phase. Valid values include:

COMBINE_ARTIFACTS

  Build output artifacts are being combined and uploaded to the output location.

DOWNLOAD_BATCHSPEC

  The batch build specification is being downloaded.

FAILED

  One or more of the builds failed.

IN_PROGRESS

  The batch build is in progress.

STOPPED

  The batch build was stopped.

SUBMITTED

  The btach build has been submitted.

SUCCEEDED

  The batch build succeeded.

" }, "phaseStatus":{ "shape":"StatusType", "documentation":"

The current status of the batch build phase. Valid values include:

FAILED

  The build phase failed.

FAULT

  The build phase faulted.

IN_PROGRESS

  The build phase is still in progress.

STOPPED

  The build phase stopped.

SUCCEEDED

  The build phase succeeded.

TIMED_OUT

  The build phase timed out.

" }, "startTime":{ "shape":"Timestamp", "documentation":"

When the batch build phase started, expressed in Unix time format.

" }, "endTime":{ "shape":"Timestamp", "documentation":"

When the batch build phase ended, expressed in Unix time format.

" }, "durationInSeconds":{ "shape":"WrapperLong", "documentation":"

How long, in seconds, between the starting and ending times of the batch build's phase.

" }, "contexts":{ "shape":"PhaseContexts", "documentation":"

Additional information about the batch build phase. Especially to help troubleshoot a failed batch build.

" } }, "documentation":"

Contains information about a stage for a batch build.

" }, "BuildBatchPhaseType":{ "type":"string", "enum":[ "SUBMITTED", "DOWNLOAD_BATCHSPEC", "IN_PROGRESS", "COMBINE_ARTIFACTS", "SUCCEEDED", "FAILED", "STOPPED" ] }, "BuildBatchPhases":{ "type":"list", "member":{"shape":"BuildBatchPhase"} }, "BuildBatches":{ "type":"list", "member":{"shape":"BuildBatch"}, "max":100, "min":0 }, "BuildGroup":{ "type":"structure", "members":{ "identifier":{ "shape":"String", "documentation":"

Contains the identifier of the build group.

" }, "dependsOn":{ "shape":"Identifiers", "documentation":"

An array of strings that contain the identifiers of the build groups that this build group depends on.

" }, "ignoreFailure":{ "shape":"Boolean", "documentation":"

Specifies if failures in this build group can be ignored.

" }, "currentBuildSummary":{ "shape":"BuildSummary", "documentation":"

A `BuildSummary` object that contains a summary of the current build group.

" }, "priorBuildSummaryList":{ "shape":"BuildSummaries", "documentation":"

An array of `BuildSummary` objects that contain summaries of previous build groups.

" } }, "documentation":"

Contains information about a batch build build group. Build groups are used to combine builds that can run in parallel, while still being able to set dependencies on other build groups.

" }, "BuildGroups":{ "type":"list", "member":{"shape":"BuildGroup"} }, "BuildIds":{ "type":"list", "member":{"shape":"NonEmptyString"}, "max":100, "min":1 }, "BuildNotDeleted":{ "type":"structure", "members":{ "id":{ "shape":"NonEmptyString", "documentation":"

The ID of the build that could not be successfully deleted.

" }, "statusCode":{ "shape":"String", "documentation":"

Additional information about the build that could not be successfully deleted.

" } }, "documentation":"

Information about a build that could not be successfully deleted.

" }, "BuildPhase":{ "type":"structure", "members":{ "phaseType":{ "shape":"BuildPhaseType", "documentation":"

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.

" }, "phaseStatus":{ "shape":"StatusType", "documentation":"

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.

STOPPED

  The build phase stopped.

SUCCEEDED

  The build phase succeeded.

TIMED_OUT

  The build phase timed out.

" }, "startTime":{ "shape":"Timestamp", "documentation":"

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

" }, "endTime":{ "shape":"Timestamp", "documentation":"

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

" }, "durationInSeconds":{ "shape":"WrapperLong", "documentation":"

How long, in seconds, between the starting and ending times of the build's phase.

" }, "contexts":{ "shape":"PhaseContexts", "documentation":"

Additional information about a build phase, especially to help troubleshoot a failed build.

" } }, "documentation":"

Information about a stage for a build.

" }, "BuildPhaseType":{ "type":"string", "enum":[ "SUBMITTED", "QUEUED", "PROVISIONING", "DOWNLOAD_SOURCE", "INSTALL", "PRE_BUILD", "BUILD", "POST_BUILD", "UPLOAD_ARTIFACTS", "FINALIZING", "COMPLETED" ] }, "BuildPhases":{ "type":"list", "member":{"shape":"BuildPhase"} }, "BuildReportArns":{ "type":"list", "member":{"shape":"String"} }, "BuildStatusConfig":{ "type":"structure", "members":{ "context":{ "shape":"String", "documentation":"

Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

Bitbucket

  This parameter is used for the `name` parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.

GitHub/GitHub Enterprise Server

  This parameter is used for the `context` parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.

" }, "targetUrl":{ "shape":"String", "documentation":"

Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

Bitbucket

  This parameter is used for the `url` parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.

GitHub/GitHub Enterprise Server

  This parameter is used for the `target_url` parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.

" } }, "documentation":"

Contains information that defines how the CodeBuild build project reports the build status to the source provider.

" }, "BuildSummaries":{ "type":"list", "member":{"shape":"BuildSummary"} }, "BuildSummary":{ "type":"structure", "members":{ "arn":{ "shape":"String", "documentation":"

The batch build ARN.

" }, "requestedOn":{ "shape":"Timestamp", "documentation":"

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

" }, "buildStatus":{ "shape":"StatusType", "documentation":"

The status of the build group.

FAILED

  The build group failed.

FAULT

  The build group faulted.

IN_PROGRESS

  The build group is still in progress.

STOPPED

  The build group stopped.

SUCCEEDED

  The build group succeeded.

TIMED_OUT

  The build group timed out.

" }, "primaryArtifact":{ "shape":"ResolvedArtifact", "documentation":"

A `ResolvedArtifact` object that represents the primary build artifacts for the build group.

" }, "secondaryArtifacts":{ "shape":"ResolvedSecondaryArtifacts", "documentation":"

An array of `ResolvedArtifact` objects that represents the secondary build artifacts for the build group.

" } }, "documentation":"

Contains summary information about a batch build group.

" }, "Builds":{ "type":"list", "member":{"shape":"Build"} }, "BuildsNotDeleted":{ "type":"list", "member":{"shape":"BuildNotDeleted"} }, "CacheMode":{ "type":"string", "enum":[ "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE" ] }, "CacheType":{ "type":"string", "enum":[ "NO_CACHE", "S3", "LOCAL" ] }, "CloudWatchLogsConfig":{ "type":"structure", "required":["status"], "members":{ "status":{ "shape":"LogsConfigStatusType", "documentation":"

The current status of the logs in CloudWatch Logs for a build project. Valid values are:

- `ENABLED`: CloudWatch Logs are enabled for this build project.

- `DISABLED`: CloudWatch Logs are not enabled for this build project.

" }, "groupName":{ "shape":"String", "documentation":"

The group name of the logs in CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.

" }, "streamName":{ "shape":"String", "documentation":"

The prefix of the stream name of the CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.

" } }, "documentation":"

Information about CloudWatch Logs for a build project.

" }, "CodeCoverage":{ "type":"structure", "members":{ "id":{ "shape":"NonEmptyString", "documentation":"

The identifier of the code coverage report.

" }, "reportARN":{ "shape":"NonEmptyString", "documentation":"

The ARN of the report.

" }, "filePath":{ "shape":"NonEmptyString", "documentation":"

The path of the test report file.

" }, "lineCoveragePercentage":{ "shape":"Percentage", "documentation":"

The percentage of lines that are covered by your tests.

" }, "linesCovered":{ "shape":"NonNegativeInt", "documentation":"

The number of lines that are covered by your tests.

" }, "linesMissed":{ "shape":"NonNegativeInt", "documentation":"

The number of lines that are not covered by your tests.

" }, "branchCoveragePercentage":{ "shape":"Percentage", "documentation":"

The percentage of branches that are covered by your tests.

" }, "branchesCovered":{ "shape":"NonNegativeInt", "documentation":"

The number of conditional branches that are covered by your tests.

" }, "branchesMissed":{ "shape":"NonNegativeInt", "documentation":"

The number of conditional branches that are not covered by your tests.

" }, "expired":{ "shape":"Timestamp", "documentation":"

The date and time that the tests were run.

" } }, "documentation":"

Contains code coverage report information.

Line coverage measures how many statements your tests cover. A statement is a single instruction, not including comments, conditionals, etc.

Branch coverage determines if your tests cover every possible branch of a control structure, such as an `if` or `case` statement.

" }, "CodeCoverageReportSummary":{ "type":"structure", "members":{ "lineCoveragePercentage":{ "shape":"Percentage", "documentation":"

The percentage of lines that are covered by your tests.

" }, "linesCovered":{ "shape":"NonNegativeInt", "documentation":"

The number of lines that are covered by your tests.

" }, "linesMissed":{ "shape":"NonNegativeInt", "documentation":"

The number of lines that are not covered by your tests.

" }, "branchCoveragePercentage":{ "shape":"Percentage", "documentation":"

The percentage of branches that are covered by your tests.

" }, "branchesCovered":{ "shape":"NonNegativeInt", "documentation":"

The number of conditional branches that are covered by your tests.

" }, "branchesMissed":{ "shape":"NonNegativeInt", "documentation":"

The number of conditional branches that are not covered by your tests.

" } }, "documentation":"

Contains a summary of a code coverage report.

Line coverage measures how many statements your tests cover. A statement is a single instruction, not including comments, conditionals, etc.

Branch coverage determines if your tests cover every possible branch of a control structure, such as an `if` or `case` statement.

" }, "CodeCoverages":{ "type":"list", "member":{"shape":"CodeCoverage"} }, "ComputeType":{ "type":"string", "enum":[ "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_XLARGE", "BUILD_GENERAL1_2XLARGE", "BUILD_LAMBDA_1GB", "BUILD_LAMBDA_2GB", "BUILD_LAMBDA_4GB", "BUILD_LAMBDA_8GB", "BUILD_LAMBDA_10GB" ] }, "ComputeTypesAllowed":{ "type":"list", "member":{"shape":"NonEmptyString"} }, "CreateProjectInput":{ "type":"structure", "required":[ "name", "source", "artifacts", "environment", "serviceRole" ], "members":{ "name":{ "shape":"ProjectName", "documentation":"

The name of the build project.

" }, "description":{ "shape":"ProjectDescription", "documentation":"

A description that makes the build project easy to identify.

" }, "source":{ "shape":"ProjectSource", "documentation":"

Information about the build input source code for the build project.

" }, "secondarySources":{ "shape":"ProjectSources", "documentation":"

An array of `ProjectSource` objects.

" }, "sourceVersion":{ "shape":"String", "documentation":"

A version of the build input to be built for this project. If not specified, the latest version is used. If specified, it 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.

If `sourceVersion` is specified at the build level, then that version takes precedence over this `sourceVersion` (at the project level).

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

" }, "secondarySourceVersions":{ "shape":"ProjectSecondarySourceVersions", "documentation":"

An array of `ProjectSourceVersion` objects. If `secondarySourceVersions` is specified at the build level, then they take precedence over these `secondarySourceVersions` (at the project level).

" }, "artifacts":{ "shape":"ProjectArtifacts", "documentation":"

Information about the build output artifacts for the build project.

" }, "secondaryArtifacts":{ "shape":"ProjectArtifactsList", "documentation":"

An array of `ProjectArtifacts` objects.

" }, "cache":{ "shape":"ProjectCache", "documentation":"

Stores recently used information so that it can be quickly accessed at a later time.

" }, "environment":{ "shape":"ProjectEnvironment", "documentation":"

Information about the build environment for the build project.

" }, "serviceRole":{ "shape":"NonEmptyString", "documentation":"

The ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services services on behalf of the Amazon Web Services account.

" }, "timeoutInMinutes":{ "shape":"TimeOut", "documentation":"

How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait before it times out any build that has not been marked as completed. The default is 60 minutes.

" }, "queuedTimeoutInMinutes":{ "shape":"TimeOut", "documentation":"

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

" }, "encryptionKey":{ "shape":"NonEmptyString", "documentation":"

The Key Management Service 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>`).

" }, "tags":{ "shape":"TagList", "documentation":"

A list of tag key and value pairs associated with this build project.

These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.

" }, "vpcConfig":{ "shape":"VpcConfig", "documentation":"

VpcConfig enables CodeBuild to access resources in an Amazon VPC.

" }, "badgeEnabled":{ "shape":"WrapperBoolean", "documentation":"

Set this to true to generate a publicly accessible URL for your project's build badge.

" }, "logsConfig":{ "shape":"LogsConfig", "documentation":"

Information about logs for the build project. These can be logs in CloudWatch Logs, logs uploaded to a specified S3 bucket, or both.

" }, "fileSystemLocations":{ "shape":"ProjectFileSystemLocations", "documentation":"

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.

" }, "buildBatchConfig":{ "shape":"ProjectBuildBatchConfig", "documentation":"

A ProjectBuildBatchConfig object that defines the batch build options for the project.

" }, "concurrentBuildLimit":{ "shape":"WrapperInt", "documentation":"

The maximum number of concurrent builds that are allowed for this project.

New builds are only started if the current number of builds is less than or equal to this limit. If the current build count meets this limit, new builds are throttled and are not run.

" } } }, "CreateProjectOutput":{ "type":"structure", "members":{ "project":{ "shape":"Project", "documentation":"

Information about the build project that was created.

" } } }, "CreateReportGroupInput":{ "type":"structure", "required":[ "name", "type", "exportConfig" ], "members":{ "name":{ "shape":"ReportGroupName", "documentation":"

The name of the report group.

" }, "type":{ "shape":"ReportType", "documentation":"

The type of report group.

" }, "exportConfig":{ "shape":"ReportExportConfig", "documentation":"

A `ReportExportConfig` object that contains information about where the report group test results are exported.

" }, "tags":{ "shape":"TagList", "documentation":"

A list of tag key and value pairs associated with this report group.

These tags are available for use by Amazon Web Services services that support CodeBuild report group tags.

" } } }, "CreateReportGroupOutput":{ "type":"structure", "members":{ "reportGroup":{ "shape":"ReportGroup", "documentation":"

Information about the report group that was created.

" } } }, "CreateWebhookInput":{ "type":"structure", "required":["projectName"], "members":{ "projectName":{ "shape":"ProjectName", "documentation":"

The name of the CodeBuild project.

" }, "branchFilter":{ "shape":"String", "documentation":"

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`.

" }, "filterGroups":{ "shape":"FilterGroups", "documentation":"

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.

" }, "buildType":{ "shape":"WebhookBuildType", "documentation":"

Specifies the type of build this webhook will trigger.

" } } }, "CreateWebhookOutput":{ "type":"structure", "members":{ "webhook":{ "shape":"Webhook", "documentation":"

Information about a webhook that connects repository events to a build project in CodeBuild.

" } } }, "CredentialProviderType":{ "type":"string", "enum":["SECRETS_MANAGER"] }, "DebugSession":{ "type":"structure", "members":{ "sessionEnabled":{ "shape":"WrapperBoolean", "documentation":"

Specifies if session debugging is enabled for this build.

" }, "sessionTarget":{ "shape":"NonEmptyString", "documentation":"

Contains the identifier of the Session Manager session used for the build. To work with the paused build, you open this session to examine, control, and resume the build.

" } }, "documentation":"

Contains information about the debug session for a build. For more information, see Viewing a running build in Session Manager.

" }, "DeleteBuildBatchInput":{ "type":"structure", "required":["id"], "members":{ "id":{ "shape":"NonEmptyString", "documentation":"

The identifier of the batch build to delete.

" } } }, "DeleteBuildBatchOutput":{ "type":"structure", "members":{ "statusCode":{ "shape":"String", "documentation":"

The status code.

" }, "buildsDeleted":{ "shape":"BuildIds", "documentation":"

An array of strings that contain the identifiers of the builds that were deleted.

" }, "buildsNotDeleted":{ "shape":"BuildsNotDeleted", "documentation":"

An array of `BuildNotDeleted` objects that specify the builds that could not be deleted.

" } } }, "DeleteProjectInput":{ "type":"structure", "required":["name"], "members":{ "name":{ "shape":"NonEmptyString", "documentation":"

The name of the build project.

" } } }, "DeleteProjectOutput":{ "type":"structure", "members":{ } }, "DeleteReportGroupInput":{ "type":"structure", "required":["arn"], "members":{ "arn":{ "shape":"NonEmptyString", "documentation":"

The ARN of the report group to delete.

" }, "deleteReports":{ "shape":"Boolean", "documentation":"

If `true`, deletes any reports that belong to a report group before deleting the report group.

If `false`, you must delete any reports in the report group. Use ListReportsForReportGroup to get the reports in a report group. Use DeleteReport to delete the reports. If you call `DeleteReportGroup` for a report group that contains one or more reports, an exception is thrown.

" } } }, "DeleteReportGroupOutput":{ "type":"structure", "members":{ } }, "DeleteReportInput":{ "type":"structure", "required":["arn"], "members":{ "arn":{ "shape":"NonEmptyString", "documentation":"

The ARN of the report to delete.

" } } }, "DeleteReportOutput":{ "type":"structure", "members":{ } }, "DeleteResourcePolicyInput":{ "type":"structure", "required":["resourceArn"], "members":{ "resourceArn":{ "shape":"NonEmptyString", "documentation":"

The ARN of the resource that is associated with the resource policy.

" } } }, "DeleteResourcePolicyOutput":{ "type":"structure", "members":{ } }, "DeleteSourceCredentialsInput":{ "type":"structure", "required":["arn"], "members":{ "arn":{ "shape":"NonEmptyString", "documentation":"

The Amazon Resource Name (ARN) of the token.

" } } }, "DeleteSourceCredentialsOutput":{ "type":"structure", "members":{ "arn":{ "shape":"NonEmptyString", "documentation":"

The Amazon Resource Name (ARN) of the token.

" } } }, "DeleteWebhookInput":{ "type":"structure", "required":["projectName"], "members":{ "projectName":{ "shape":"ProjectName", "documentation":"

The name of the CodeBuild project.

" } } }, "DeleteWebhookOutput":{ "type":"structure", "members":{ } }, "DescribeCodeCoveragesInput":{ "type":"structure", "required":["reportArn"], "members":{ "reportArn":{ "shape":"NonEmptyString", "documentation":"

The ARN of the report for which test cases are returned.

" }, "nextToken":{ "shape":"String", "documentation":"

The `nextToken` value returned from a previous call to `DescribeCodeCoverages`. This specifies the next item to return. To return the beginning of the list, exclude this parameter.

" }, "maxResults":{ "shape":"PageSize", "documentation":"

The maximum number of results to return.

" }, "sortOrder":{ "shape":"SortOrderType", "documentation":"

Specifies if the results are sorted in ascending or descending order.

" }, "sortBy":{ "shape":"ReportCodeCoverageSortByType", "documentation":"

Specifies how the results are sorted. Possible values are:

FILE_PATH

  The results are sorted by file path.

LINE_COVERAGE_PERCENTAGE

  The results are sorted by the percentage of lines that are covered.

" }, "minLineCoveragePercentage":{ "shape":"Percentage", "documentation":"

The minimum line coverage percentage to report.

" }, "maxLineCoveragePercentage":{ "shape":"Percentage", "documentation":"

The maximum line coverage percentage to report.

" } } }, "DescribeCodeCoveragesOutput":{ "type":"structure", "members":{ "nextToken":{ "shape":"String", "documentation":"

If there are more items to return, this contains a token that is passed to a subsequent call to `DescribeCodeCoverages` to retrieve the next set of items.

" }, "codeCoverages":{ "shape":"CodeCoverages", "documentation":"

An array of `CodeCoverage` objects that contain the results.

" } } }, "DescribeTestCasesInput":{ "type":"structure", "required":["reportArn"], "members":{ "reportArn":{ "shape":"String", "documentation":"

The ARN of the report for which test cases are returned.

" }, "nextToken":{ "shape":"String", "documentation":"

During a previous call, the maximum number of items that can be returned is the value specified in `maxResults`. If there more items in the list, then a unique string called a nextToken is returned. 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.

" }, "maxResults":{ "shape":"PageSize", "documentation":"

The maximum number of paginated test cases returned per response. Use `nextToken` to iterate pages in the list of returned `TestCase` objects. The default value is 100.

" }, "filter":{ "shape":"TestCaseFilter", "documentation":"

A `TestCaseFilter` object used to filter the returned reports.

" } } }, "DescribeTestCasesOutput":{ "type":"structure", "members":{ "nextToken":{ "shape":"String", "documentation":"

During a previous call, the maximum number of items that can be returned is the value specified in `maxResults`. If there more items in the list, then a unique string called a nextToken is returned. 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.

" }, "testCases":{ "shape":"TestCases", "documentation":"

The returned list of test cases.

" } } }, "EnvironmentImage":{ "type":"structure", "members":{ "name":{ "shape":"String", "documentation":"

The name of the Docker image.

" }, "description":{ "shape":"String", "documentation":"

The description of the Docker image.

" }, "versions":{ "shape":"ImageVersions", "documentation":"

A list of environment image versions.

" } }, "documentation":"

Information about a Docker image that is managed by CodeBuild.

" }, "EnvironmentImages":{ "type":"list", "member":{"shape":"EnvironmentImage"} }, "EnvironmentLanguage":{ "type":"structure", "members":{ "language":{ "shape":"LanguageType", "documentation":"

The programming language for the Docker images.

" }, "images":{ "shape":"EnvironmentImages", "documentation":"

The list of Docker images that are related by the specified programming language.

" } }, "documentation":"

A set of Docker images that are related by programming language and are managed by CodeBuild.

" }, "EnvironmentLanguages":{ "type":"list", "member":{"shape":"EnvironmentLanguage"} }, "EnvironmentPlatform":{ "type":"structure", "members":{ "platform":{ "shape":"PlatformType", "documentation":"

The platform's name.

" }, "languages":{ "shape":"EnvironmentLanguages", "documentation":"

The list of programming languages that are available for the specified platform.

" } }, "documentation":"

A set of Docker images that are related by platform and are managed by CodeBuild.

" }, "EnvironmentPlatforms":{ "type":"list", "member":{"shape":"EnvironmentPlatform"} }, "EnvironmentType":{ "type":"string", "enum":[ "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", "ARM_LAMBDA_CONTAINER" ] }, "EnvironmentVariable":{ "type":"structure", "required":[ "name", "value" ], "members":{ "name":{ "shape":"NonEmptyString", "documentation":"

The name or key of the environment variable.

" }, "value":{ "shape":"String", "documentation":"

The value of the environment variable.

We strongly discourage the use of `PLAINTEXT` environment variables to store sensitive values, especially Amazon Web Services secret key IDs. `PLAINTEXT` environment variables can be displayed in plain text using the CodeBuild console and the CLI. For sensitive values, we recommend you use an environment variable of type `PARAMETER_STORE` or `SECRETS_MANAGER`.

" }, "type":{ "shape":"EnvironmentVariableType", "documentation":"

The type of environment variable. Valid values include:

- `PARAMETER_STORE`: An environment variable stored in Systems Manager Parameter Store. For environment variables of this type, specify the name of the parameter as the `value` of the EnvironmentVariable. The parameter value will be substituted for the name at runtime. You can also define Parameter Store environment variables in the buildspec. To learn how to do so, see env/parameter-store in the CodeBuild User Guide.

- `PLAINTEXT`: An environment variable in plain text format. This is the default value.

- `SECRETS_MANAGER`: An environment variable stored in Secrets Manager. For environment variables of this type, specify the name of the secret as the `value` of the EnvironmentVariable. The secret value will be substituted for the name at runtime. You can also define Secrets Manager environment variables in the buildspec. To learn how to do so, see env/secrets-manager in the CodeBuild User Guide.

" } }, "documentation":"

Information about an environment variable for a build project or a build.

" }, "EnvironmentVariableType":{ "type":"string", "enum":[ "PLAINTEXT", "PARAMETER_STORE", "SECRETS_MANAGER" ] }, "EnvironmentVariables":{ "type":"list", "member":{"shape":"EnvironmentVariable"} }, "ExportedEnvironmentVariable":{ "type":"structure", "members":{ "name":{ "shape":"NonEmptyString", "documentation":"

The name of the exported environment variable.

" }, "value":{ "shape":"String", "documentation":"

The value assigned to the exported environment variable.

" } }, "documentation":"

Contains information about an exported environment variable.

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.

During a build, the value of a variable is available starting with the `install` phase. It can be updated between the start of the `install` phase and the end of the `post_build` phase. After the `post_build` phase ends, the value of exported variables cannot change.

" }, "ExportedEnvironmentVariables":{ "type":"list", "member":{"shape":"ExportedEnvironmentVariable"} }, "FileSystemType":{ "type":"string", "enum":["EFS"] }, "FilterGroup":{ "type":"list", "member":{"shape":"WebhookFilter"} }, "FilterGroups":{ "type":"list", "member":{"shape":"FilterGroup"} }, "GetReportGroupTrendInput":{ "type":"structure", "required":[ "reportGroupArn", "trendField" ], "members":{ "reportGroupArn":{ "shape":"NonEmptyString", "documentation":"

The ARN of the report group that contains the reports to analyze.

" }, "numOfReports":{ "shape":"PageSize", "documentation":"

The number of reports to analyze. This operation always retrieves the most recent reports.

If this parameter is omitted, the most recent 100 reports are analyzed.

" }, "trendField":{ "shape":"ReportGroupTrendFieldType", "documentation":"

The test report value to accumulate. This must be one of the following values:

Test reports:
  DURATION

    Accumulate the test run times for the specified reports.

  PASS_RATE

    Accumulate the percentage of tests that passed for the specified test reports.

  TOTAL

    Accumulate the total number of tests for the specified test reports.

Code coverage reports:
  BRANCH_COVERAGE

    Accumulate the branch coverage percentages for the specified test reports.

  BRANCHES_COVERED

    Accumulate the branches covered values for the specified test reports.

  BRANCHES_MISSED

    Accumulate the branches missed values for the specified test reports.

  LINE_COVERAGE

    Accumulate the line coverage percentages for the specified test reports.

  LINES_COVERED

    Accumulate the lines covered values for the specified test reports.

  LINES_MISSED

    Accumulate the lines not covered values for the specified test reports.

" } } }, "GetReportGroupTrendOutput":{ "type":"structure", "members":{ "stats":{ "shape":"ReportGroupTrendStats", "documentation":"

Contains the accumulated trend data.

" }, "rawData":{ "shape":"ReportGroupTrendRawDataList", "documentation":"

An array that contains the raw data for each report.

" } } }, "GetResourcePolicyInput":{ "type":"structure", "required":["resourceArn"], "members":{ "resourceArn":{ "shape":"NonEmptyString", "documentation":"

The ARN of the resource that is associated with the resource policy.

" } } }, "GetResourcePolicyOutput":{ "type":"structure", "members":{ "policy":{ "shape":"NonEmptyString", "documentation":"

The resource policy for the resource identified by the input ARN parameter.

" } } }, "GitCloneDepth":{ "type":"integer", "min":0 }, "GitSubmodulesConfig":{ "type":"structure", "required":["fetchSubmodules"], "members":{ "fetchSubmodules":{ "shape":"WrapperBoolean", "documentation":"

Set to true to fetch Git submodules for your CodeBuild build project.

" } }, "documentation":"

Information about the Git submodules configuration for an CodeBuild build project.

" }, "Identifiers":{ "type":"list", "member":{"shape":"NonEmptyString"} }, "ImagePullCredentialsType":{ "type":"string", "enum":[ "CODEBUILD", "SERVICE_ROLE" ] }, "ImageVersions":{ "type":"list", "member":{"shape":"String"} }, "ImportSourceCredentialsInput":{ "type":"structure", "required":[ "token", "serverType", "authType" ], "members":{ "username":{ "shape":"NonEmptyString", "documentation":"

The Bitbucket username when the `authType` is BASIC_AUTH. This parameter is not valid for other types of source providers or connections.

" }, "token":{ "shape":"SensitiveNonEmptyString", "documentation":"

For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is the app password.

" }, "serverType":{ "shape":"ServerType", "documentation":"

The source provider used for this project.

" }, "authType":{ "shape":"AuthType", "documentation":"

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 CodeBuild console.

" }, "shouldOverwrite":{ "shape":"WrapperBoolean", "documentation":"

Set to `false` to prevent overwriting the repository source credentials. Set to `true` to overwrite the repository source credentials. The default value is `true`.

" } } }, "ImportSourceCredentialsOutput":{ "type":"structure", "members":{ "arn":{ "shape":"NonEmptyString", "documentation":"

The Amazon Resource Name (ARN) of the token.

" } } }, "InvalidInputException":{ "type":"structure", "members":{ }, "documentation":"

The input value that was provided is not valid.

", "exception":true }, "InvalidateProjectCacheInput":{ "type":"structure", "required":["projectName"], "members":{ "projectName":{ "shape":"NonEmptyString", "documentation":"

The name of the CodeBuild build project that the cache is reset for.

" } } }, "InvalidateProjectCacheOutput":{ "type":"structure", "members":{ } }, "KeyInput":{ "type":"string", "max":127, "min":1, "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=@+\\-]*)$" }, "LanguageType":{ "type":"string", "enum":[ "JAVA", "PYTHON", "NODE_JS", "RUBY", "GOLANG", "DOCKER", "ANDROID", "DOTNET", "BASE", "PHP" ] }, "ListBuildBatchesForProjectInput":{ "type":"structure", "members":{ "projectName":{ "shape":"NonEmptyString", "documentation":"

The name of the project.

" }, "filter":{ "shape":"BuildBatchFilter", "documentation":"

A `BuildBatchFilter` object that specifies the filters for the search.

" }, "maxResults":{ "shape":"PageSize", "documentation":"

The maximum number of results to return.

" }, "sortOrder":{ "shape":"SortOrderType", "documentation":"

Specifies the sort order of the returned items. Valid values include:

- `ASCENDING`: List the batch build identifiers in ascending order by identifier.

- `DESCENDING`: List the batch build identifiers in descending order by identifier.

" }, "nextToken":{ "shape":"String", "documentation":"

The `nextToken` value returned from a previous call to `ListBuildBatchesForProject`. This specifies the next item to return. To return the beginning of the list, exclude this parameter.

" } } }, "ListBuildBatchesForProjectOutput":{ "type":"structure", "members":{ "ids":{ "shape":"BuildBatchIds", "documentation":"

An array of strings that contains the batch build identifiers.

" }, "nextToken":{ "shape":"String", "documentation":"

If there are more items to return, this contains a token that is passed to a subsequent call to `ListBuildBatchesForProject` to retrieve the next set of items.

" } } }, "ListBuildBatchesInput":{ "type":"structure", "members":{ "filter":{ "shape":"BuildBatchFilter", "documentation":"

A `BuildBatchFilter` object that specifies the filters for the search.

" }, "maxResults":{ "shape":"PageSize", "documentation":"

The maximum number of results to return.

" }, "sortOrder":{ "shape":"SortOrderType", "documentation":"

Specifies the sort order of the returned items. Valid values include:

- `ASCENDING`: List the batch build identifiers in ascending order by identifier.

- `DESCENDING`: List the batch build identifiers in descending order by identifier.

" }, "nextToken":{ "shape":"String", "documentation":"

The `nextToken` value returned from a previous call to `ListBuildBatches`. This specifies the next item to return. To return the beginning of the list, exclude this parameter.

" } } }, "ListBuildBatchesOutput":{ "type":"structure", "members":{ "ids":{ "shape":"BuildBatchIds", "documentation":"

An array of strings that contains the batch build identifiers.

" }, "nextToken":{ "shape":"String", "documentation":"

If there are more items to return, this contains a token that is passed to a subsequent call to `ListBuildBatches` to retrieve the next set of items.

" } } }, "ListBuildsForProjectInput":{ "type":"structure", "required":["projectName"], "members":{ "projectName":{ "shape":"NonEmptyString", "documentation":"

The name of the CodeBuild project.

" }, "sortOrder":{ "shape":"SortOrderType", "documentation":"

The order to sort the results in. The results are sorted by build number, not the build identifier. If this is not specified, the results are sorted in descending order.

Valid values include:

- `ASCENDING`: List the build identifiers in ascending order, by build number.

- `DESCENDING`: List the build identifiers in descending order, by build number.

If the project has more than 100 builds, setting the sort order will result in an error.

" }, "nextToken":{ "shape":"String", "documentation":"

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 nextToken. 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.

" } } }, "ListBuildsForProjectOutput":{ "type":"structure", "members":{ "ids":{ "shape":"BuildIds", "documentation":"

A list of build identifiers for the specified build project, with each build ID representing a single build.

" }, "nextToken":{ "shape":"String", "documentation":"

If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call.

" } } }, "ListBuildsInput":{ "type":"structure", "members":{ "sortOrder":{ "shape":"SortOrderType", "documentation":"

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.

" }, "nextToken":{ "shape":"String", "documentation":"

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 nextToken. 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.

" } } }, "ListBuildsOutput":{ "type":"structure", "members":{ "ids":{ "shape":"BuildIds", "documentation":"

A list of build IDs, with each build ID representing a single build.

" }, "nextToken":{ "shape":"String", "documentation":"

If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call.

" } } }, "ListCuratedEnvironmentImagesInput":{ "type":"structure", "members":{ } }, "ListCuratedEnvironmentImagesOutput":{ "type":"structure", "members":{ "platforms":{ "shape":"EnvironmentPlatforms", "documentation":"

Information about supported platforms for Docker images that are managed by CodeBuild.

" } } }, "ListProjectsInput":{ "type":"structure", "members":{ "sortBy":{ "shape":"ProjectSortByType", "documentation":"

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.

" }, "sortOrder":{ "shape":"SortOrderType", "documentation":"

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.

" }, "nextToken":{ "shape":"NonEmptyString", "documentation":"

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 nextToken. 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.

" } } }, "ListProjectsOutput":{ "type":"structure", "members":{ "nextToken":{ "shape":"String", "documentation":"

If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call.

" }, "projects":{ "shape":"ProjectNames", "documentation":"

The list of build project names, with each build project name representing a single build project.

" } } }, "ListReportGroupsInput":{ "type":"structure", "members":{ "sortOrder":{ "shape":"SortOrderType", "documentation":"

Used to specify the order to sort the list of returned report groups. Valid values are `ASCENDING` and `DESCENDING`.

" }, "sortBy":{ "shape":"ReportGroupSortByType", "documentation":"

The criterion to be used to list build report groups. Valid values include:

- `CREATED_TIME`: List based on when each report group was created.

- `LAST_MODIFIED_TIME`: List based on when each report group was last changed.

- `NAME`: List based on each report group's name.

" }, "nextToken":{ "shape":"String", "documentation":"

During a previous call, the maximum number of items that can be returned is the value specified in `maxResults`. If there more items in the list, then a unique string called a nextToken is returned. 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.

" }, "maxResults":{ "shape":"PageSize", "documentation":"

The maximum number of paginated report groups returned per response. Use `nextToken` to iterate pages in the list of returned `ReportGroup` objects. The default value is 100.

" } } }, "ListReportGroupsOutput":{ "type":"structure", "members":{ "nextToken":{ "shape":"String", "documentation":"

During a previous call, the maximum number of items that can be returned is the value specified in `maxResults`. If there more items in the list, then a unique string called a nextToken is returned. 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.

" }, "reportGroups":{ "shape":"ReportGroupArns", "documentation":"

The list of ARNs for the report groups in the current Amazon Web Services account.

" } } }, "ListReportsForReportGroupInput":{ "type":"structure", "required":["reportGroupArn"], "members":{ "reportGroupArn":{ "shape":"String", "documentation":"

The ARN of the report group for which you want to return report ARNs.

" }, "nextToken":{ "shape":"String", "documentation":"

During a previous call, the maximum number of items that can be returned is the value specified in `maxResults`. If there more items in the list, then a unique string called a nextToken is returned. 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.

" }, "sortOrder":{ "shape":"SortOrderType", "documentation":"

Use to specify whether the results are returned in ascending or descending order.

" }, "maxResults":{ "shape":"PageSize", "documentation":"

The maximum number of paginated reports in this report group returned per response. Use `nextToken` to iterate pages in the list of returned `Report` objects. The default value is 100.

" }, "filter":{ "shape":"ReportFilter", "documentation":"

A `ReportFilter` object used to filter the returned reports.

" } } }, "ListReportsForReportGroupOutput":{ "type":"structure", "members":{ "nextToken":{ "shape":"String", "documentation":"

During a previous call, the maximum number of items that can be returned is the value specified in `maxResults`. If there more items in the list, then a unique string called a nextToken is returned. 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.

" }, "reports":{ "shape":"ReportArns", "documentation":"

The list of report ARNs.

" } } }, "ListReportsInput":{ "type":"structure", "members":{ "sortOrder":{ "shape":"SortOrderType", "documentation":"

Specifies the sort order for the list of returned reports. Valid values are:

- `ASCENDING`: return reports in chronological order based on their creation date.

- `DESCENDING`: return reports in the reverse chronological order based on their creation date.

" }, "nextToken":{ "shape":"String", "documentation":"

During a previous call, the maximum number of items that can be returned is the value specified in `maxResults`. If there more items in the list, then a unique string called a nextToken is returned. 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.

" }, "maxResults":{ "shape":"PageSize", "documentation":"

The maximum number of paginated reports returned per response. Use `nextToken` to iterate pages in the list of returned `Report` objects. The default value is 100.

" }, "filter":{ "shape":"ReportFilter", "documentation":"

A `ReportFilter` object used to filter the returned reports.

" } } }, "ListReportsOutput":{ "type":"structure", "members":{ "nextToken":{ "shape":"String", "documentation":"

During a previous call, the maximum number of items that can be returned is the value specified in `maxResults`. If there more items in the list, then a unique string called a nextToken is returned. 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.

" }, "reports":{ "shape":"ReportArns", "documentation":"

The list of returned ARNs for the reports in the current Amazon Web Services account.

" } } }, "ListSharedProjectsInput":{ "type":"structure", "members":{ "sortBy":{ "shape":"SharedResourceSortByType", "documentation":"

The criterion to be used to list build projects shared with the current Amazon Web Services account or user. Valid values include:

- `ARN`: List based on the ARN.

- `MODIFIED_TIME`: List based on when information about the shared project was last changed.

" }, "sortOrder":{ "shape":"SortOrderType", "documentation":"

The order in which to list shared build projects. Valid values include:

- `ASCENDING`: List in ascending order.

- `DESCENDING`: List in descending order.

" }, "maxResults":{ "shape":"PageSize", "documentation":"

The maximum number of paginated shared build projects returned per response. Use `nextToken` to iterate pages in the list of returned `Project` objects. The default value is 100.

" }, "nextToken":{ "shape":"NonEmptyString", "documentation":"

During a previous call, the maximum number of items that can be returned is the value specified in `maxResults`. If there more items in the list, then a unique string called a nextToken is returned. 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.

" } } }, "ListSharedProjectsOutput":{ "type":"structure", "members":{ "nextToken":{ "shape":"String", "documentation":"

During a previous call, the maximum number of items that can be returned is the value specified in `maxResults`. If there more items in the list, then a unique string called a nextToken is returned. 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.

" }, "projects":{ "shape":"ProjectArns", "documentation":"

The list of ARNs for the build projects shared with the current Amazon Web Services account or user.

" } } }, "ListSharedReportGroupsInput":{ "type":"structure", "members":{ "sortOrder":{ "shape":"SortOrderType", "documentation":"

The order in which to list shared report groups. Valid values include:

- `ASCENDING`: List in ascending order.

- `DESCENDING`: List in descending order.

" }, "sortBy":{ "shape":"SharedResourceSortByType", "documentation":"

The criterion to be used to list report groups shared with the current Amazon Web Services account or user. Valid values include:

- `ARN`: List based on the ARN.

- `MODIFIED_TIME`: List based on when information about the shared report group was last changed.

" }, "nextToken":{ "shape":"String", "documentation":"

During a previous call, the maximum number of items that can be returned is the value specified in `maxResults`. If there more items in the list, then a unique string called a nextToken is returned. 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.

" }, "maxResults":{ "shape":"PageSize", "documentation":"

The maximum number of paginated shared report groups per response. Use `nextToken` to iterate pages in the list of returned `ReportGroup` objects. The default value is 100.

" } } }, "ListSharedReportGroupsOutput":{ "type":"structure", "members":{ "nextToken":{ "shape":"String", "documentation":"

During a previous call, the maximum number of items that can be returned is the value specified in `maxResults`. If there more items in the list, then a unique string called a nextToken is returned. 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.

" }, "reportGroups":{ "shape":"ReportGroupArns", "documentation":"

The list of ARNs for the report groups shared with the current Amazon Web Services account or user.

" } } }, "ListSourceCredentialsInput":{ "type":"structure", "members":{ } }, "ListSourceCredentialsOutput":{ "type":"structure", "members":{ "sourceCredentialsInfos":{ "shape":"SourceCredentialsInfos", "documentation":"

A list of `SourceCredentialsInfo` objects. Each `SourceCredentialsInfo` object includes the authentication type, token ARN, and type of source provider for one set of credentials.

" } } }, "LogsConfig":{ "type":"structure", "members":{ "cloudWatchLogs":{ "shape":"CloudWatchLogsConfig", "documentation":"

Information about CloudWatch Logs for a build project. CloudWatch Logs are enabled by default.

" }, "s3Logs":{ "shape":"S3LogsConfig", "documentation":"

Information about logs built to an S3 bucket for a build project. S3 logs are not enabled by default.

" } }, "documentation":"

Information about logs for a build project. These can be logs in CloudWatch Logs, built in a specified S3 bucket, or both.

" }, "LogsConfigStatusType":{ "type":"string", "enum":[ "ENABLED", "DISABLED" ] }, "LogsLocation":{ "type":"structure", "members":{ "groupName":{ "shape":"String", "documentation":"

The name of the CloudWatch Logs group for the build logs.

" }, "streamName":{ "shape":"String", "documentation":"

The name of the CloudWatch Logs stream for the build logs.

" }, "deepLink":{ "shape":"String", "documentation":"

The URL to an individual build log in CloudWatch Logs. The log stream is created during the PROVISIONING phase of a build and the `deeplink` will not be valid until it is created.

" }, "s3DeepLink":{ "shape":"String", "documentation":"

The URL to a build log in an S3 bucket.

" }, "cloudWatchLogsArn":{ "shape":"String", "documentation":"

The ARN of the CloudWatch Logs stream for a build execution. Its format is `arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}`. The CloudWatch Logs stream is created during the PROVISIONING phase of a build and the ARN will not be valid until it is created. For more information, see Resources Defined by CloudWatch Logs.

" }, "s3LogsArn":{ "shape":"String", "documentation":"

The ARN of S3 logs for a build project. Its format is `arn:${Partition}:s3:::${BucketName}/${ObjectName}`. For more information, see Resources Defined by Amazon S3.

" }, "cloudWatchLogs":{ "shape":"CloudWatchLogsConfig", "documentation":"

Information about CloudWatch Logs for a build project.

" }, "s3Logs":{ "shape":"S3LogsConfig", "documentation":"

Information about S3 logs for a build project.

" } }, "documentation":"

Information about build logs in CloudWatch Logs.

" }, "NetworkInterface":{ "type":"structure", "members":{ "subnetId":{ "shape":"NonEmptyString", "documentation":"

The ID of the subnet.

" }, "networkInterfaceId":{ "shape":"NonEmptyString", "documentation":"

The ID of the network interface.

" } }, "documentation":"

Describes a network interface.

" }, "NonEmptyString":{ "type":"string", "min":1 }, "NonNegativeInt":{ "type":"integer", "min":0 }, "OAuthProviderException":{ "type":"structure", "members":{ }, "documentation":"

There was a problem with the underlying OAuth provider.

", "exception":true }, "PageSize":{ "type":"integer", "max":100, "min":1 }, "Percentage":{ "type":"double", "max":100, "min":0 }, "PhaseContext":{ "type":"structure", "members":{ "statusCode":{ "shape":"String", "documentation":"

The status code for the context of the build phase.

" }, "message":{ "shape":"String", "documentation":"

An explanation of the build phase's context. This might include a command ID and an exit code.

" } }, "documentation":"

Additional information about a build phase that has an error. You can use this information for troubleshooting.

" }, "PhaseContexts":{ "type":"list", "member":{"shape":"PhaseContext"} }, "PlatformType":{ "type":"string", "enum":[ "DEBIAN", "AMAZON_LINUX", "UBUNTU", "WINDOWS_SERVER" ] }, "Project":{ "type":"structure", "members":{ "name":{ "shape":"ProjectName", "documentation":"

The name of the build project.

" }, "arn":{ "shape":"String", "documentation":"

The Amazon Resource Name (ARN) of the build project.

" }, "description":{ "shape":"ProjectDescription", "documentation":"

A description that makes the build project easy to identify.

" }, "source":{ "shape":"ProjectSource", "documentation":"

Information about the build input source code for this build project.

" }, "secondarySources":{ "shape":"ProjectSources", "documentation":"

An array of `ProjectSource` objects.

" }, "sourceVersion":{ "shape":"String", "documentation":"

A version of the build input to be built for this project. If not specified, the latest version is used. If specified, it 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.

If `sourceVersion` is specified at the build level, then that version takes precedence over this `sourceVersion` (at the project level).

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

" }, "secondarySourceVersions":{ "shape":"ProjectSecondarySourceVersions", "documentation":"

An array of `ProjectSourceVersion` objects. If `secondarySourceVersions` is specified at the build level, then they take over these `secondarySourceVersions` (at the project level).

" }, "artifacts":{ "shape":"ProjectArtifacts", "documentation":"

Information about the build output artifacts for the build project.

" }, "secondaryArtifacts":{ "shape":"ProjectArtifactsList", "documentation":"

An array of `ProjectArtifacts` objects.

" }, "cache":{ "shape":"ProjectCache", "documentation":"

Information about the cache for the build project.

" }, "environment":{ "shape":"ProjectEnvironment", "documentation":"

Information about the build environment for this build project.

" }, "serviceRole":{ "shape":"NonEmptyString", "documentation":"

The ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services services on behalf of the Amazon Web Services account.

" }, "timeoutInMinutes":{ "shape":"TimeOut", "documentation":"

How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait before timing out any related build that did not get marked as completed. The default is 60 minutes.

" }, "queuedTimeoutInMinutes":{ "shape":"TimeOut", "documentation":"

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

" }, "encryptionKey":{ "shape":"NonEmptyString", "documentation":"

The Key Management Service 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>`). If you don't specify a value, CodeBuild uses the managed CMK for Amazon Simple Storage Service (Amazon S3).

" }, "tags":{ "shape":"TagList", "documentation":"

A list of tag key and value pairs associated with this build project.

These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.

" }, "created":{ "shape":"Timestamp", "documentation":"

When the build project was created, expressed in Unix time format.

" }, "lastModified":{ "shape":"Timestamp", "documentation":"

When the build project's settings were last modified, expressed in Unix time format.

" }, "webhook":{ "shape":"Webhook", "documentation":"

Information about a webhook that connects repository events to a build project in CodeBuild.

" }, "vpcConfig":{ "shape":"VpcConfig", "documentation":"

Information about the VPC configuration that CodeBuild accesses.

" }, "badge":{ "shape":"ProjectBadge", "documentation":"

Information about the build badge for the build project.

" }, "logsConfig":{ "shape":"LogsConfig", "documentation":"

Information about logs for the build project. A project can create logs in CloudWatch Logs, an S3 bucket, or both.

" }, "fileSystemLocations":{ "shape":"ProjectFileSystemLocations", "documentation":"

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.

" }, "buildBatchConfig":{ "shape":"ProjectBuildBatchConfig", "documentation":"

A ProjectBuildBatchConfig object that defines the batch build options for the project.

" }, "concurrentBuildLimit":{ "shape":"WrapperInt", "documentation":"

The maximum number of concurrent builds that are allowed for this project.

New builds are only started if the current number of builds is less than or equal to this limit. If the current build count meets this limit, new builds are throttled and are not run.

" }, "projectVisibility":{"shape":"ProjectVisibilityType"}, "publicProjectAlias":{ "shape":"NonEmptyString", "documentation":"

Contains the project identifier used with the public build APIs.

" }, "resourceAccessRole":{ "shape":"NonEmptyString", "documentation":"

The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds.

" } }, "documentation":"

Information about a build project.

" }, "ProjectArns":{ "type":"list", "member":{"shape":"NonEmptyString"}, "max":100, "min":1 }, "ProjectArtifacts":{ "type":"structure", "required":["type"], "members":{ "type":{ "shape":"ArtifactsType", "documentation":"

The type of build output artifact. Valid values include:

- `CODEPIPELINE`: The build project has build output generated through CodePipeline.

  The `CODEPIPELINE` type is not supported for `secondaryArtifacts`.

- `NO_ARTIFACTS`: The build project does not produce any build output.

- `S3`: The build project stores build output in Amazon S3.

" }, "location":{ "shape":"String", "documentation":"

Information about the build output artifact location:

- If `type` is set to `CODEPIPELINE`, CodePipeline ignores this value if specified. This is because CodePipeline manages its build output locations instead of 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.

" }, "path":{ "shape":"String", "documentation":"

Along with `namespaceType` and `name`, the pattern that CodeBuild uses to name and store the output artifact:

- If `type` is set to `CODEPIPELINE`, CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of 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`.

" }, "namespaceType":{ "shape":"ArtifactNamespace", "documentation":"

Along with `path` and `name`, the pattern that CodeBuild uses to determine the name and location to store the output artifact:

- If `type` is set to `CODEPIPELINE`, CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of 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`.

" }, "name":{ "shape":"String", "documentation":"

Along with `path` and `namespaceType`, the pattern that CodeBuild uses to name and store the output artifact:

- If `type` is set to `CODEPIPELINE`, CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of 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>`.

" }, "packaging":{ "shape":"ArtifactPackaging", "documentation":"

The type of build output artifact to create:

- If `type` is set to `CODEPIPELINE`, CodePipeline ignores this value if specified. This is because CodePipeline manages its build output artifacts instead of 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`: CodeBuild creates in the output bucket a folder that contains the build output. This is the default if `packaging` is not specified.

  - `ZIP`: CodeBuild creates in the output bucket a ZIP file that contains the build output.

" }, "overrideArtifactName":{ "shape":"WrapperBoolean", "documentation":"

If this flag is set, a name specified in the buildspec file overrides the artifact name. The name specified in a buildspec 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.

" }, "encryptionDisabled":{ "shape":"WrapperBoolean", "documentation":"

Set to true if you do not want your output artifacts encrypted. This option is valid only if your artifacts type is Amazon S3. If this is set with another artifacts type, an invalidInputException is thrown.

" }, "artifactIdentifier":{ "shape":"String", "documentation":"

An identifier for this artifact definition.

" }, "bucketOwnerAccess":{"shape":"BucketOwnerAccess"} }, "documentation":"

Information about the build output artifacts for the build project.

" }, "ProjectArtifactsList":{ "type":"list", "member":{"shape":"ProjectArtifacts"}, "max":12, "min":0 }, "ProjectBadge":{ "type":"structure", "members":{ "badgeEnabled":{ "shape":"Boolean", "documentation":"

Set this to true to generate a publicly accessible URL for your project's build badge.

" }, "badgeRequestUrl":{ "shape":"String", "documentation":"

The publicly-accessible URL through which you can access the build badge for your project.

" } }, "documentation":"

Information about the build badge for the build project.

" }, "ProjectBuildBatchConfig":{ "type":"structure", "members":{ "serviceRole":{ "shape":"NonEmptyString", "documentation":"

Specifies the service role ARN for the batch build project.

" }, "combineArtifacts":{ "shape":"WrapperBoolean", "documentation":"

Specifies if the build artifacts for the batch build should be combined into a single artifact location.

" }, "restrictions":{ "shape":"BatchRestrictions", "documentation":"

A `BatchRestrictions` object that specifies the restrictions for the batch build.

" }, "timeoutInMins":{ "shape":"WrapperInt", "documentation":"

Specifies the maximum amount of time, in minutes, that the batch build must be completed in.

" }, "batchReportMode":{ "shape":"BatchReportModeType", "documentation":"

Specifies how build status reports are sent to the source provider for the batch build. This property is only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured to report build statuses to the source provider.

REPORT_AGGREGATED_BATCH

  (Default) Aggregate all of the build statuses into a single status report.

REPORT_INDIVIDUAL_BUILDS

  Send a separate status report for each individual build.

" } }, "documentation":"

Contains configuration information about a batch build project.

" }, "ProjectCache":{ "type":"structure", "required":["type"], "members":{ "type":{ "shape":"CacheType", "documentation":"

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.

" }, "location":{ "shape":"String", "documentation":"

Information about the cache location:

- `NO_CACHE` or `LOCAL`: This value is ignored.

- `S3`: This is the S3 bucket name/prefix.

" }, "modes":{ "shape":"ProjectCacheModes", "documentation":"

An array of strings that specify the local cache modes. You can use one or more local cache modes at the same time. This is only used for `LOCAL` cache types.

Possible values are:

LOCAL_SOURCE_CACHE

  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

  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 environment 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

  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 overridden if a source item has the same name. Directories are specified using cache paths in the buildspec file.

" } }, "documentation":"

Information about the cache for the build project.

" }, "ProjectCacheModes":{ "type":"list", "member":{"shape":"CacheMode"} }, "ProjectDescription":{ "type":"string", "max":255, "min":0 }, "ProjectEnvironment":{ "type":"structure", "required":[ "type", "image", "computeType" ], "members":{ "type":{ "shape":"EnvironmentType", "documentation":"

The type of build environment to use for related builds.

- The environment type `ARM_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Sydney), and EU (Frankfurt).

- The environment type `LINUX_CONTAINER` with compute type `build.general1.2xlarge` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central), EU (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney), China (Beijing), and China (Ningxia).

- The environment type `LINUX_GPU_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central), EU (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney) , China (Beijing), and China (Ningxia).

- The environment types `ARM_LAMBDA_CONTAINER` and `LINUX_LAMBDA_CONTAINER` are available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Mumbai), Asia Pacific (Singapore), Asia Pacific (Sydney), Asia Pacific (Tokyo), EU (Frankfurt), EU (Ireland), and South America (São Paulo).

- The environment types `WINDOWS_CONTAINER` and `WINDOWS_SERVER_2019_CONTAINER` are available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), and EU (Ireland).

For more information, see Build environment compute types in the CodeBuild user guide.

" }, "image":{ "shape":"NonEmptyString", "documentation":"

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, in the Docker repository that CodeBuild uses to manage its Docker images, this would be `aws/codebuild/standard:4.0`.

- For an image digest: `<registry>/<repository>@<digest>`. For example, to specify an image with the digest \"sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf,\" use `<registry>/<repository>@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf`.

For more information, see Docker images provided by CodeBuild in the CodeBuild user guide.

" }, "computeType":{ "shape":"ComputeType", "documentation":"

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 16 GB memory and 8 vCPUs for builds, depending on your environment type.

- `BUILD_GENERAL1_XLARGE`: Use up to 70 GB memory and 36 vCPUs for builds, depending on your environment type.

- `BUILD_GENERAL1_2XLARGE`: Use up to 145 GB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed.

- `BUILD_LAMBDA_1GB`: Use up to 1 GB memory for builds. Only available for environment type `LINUX_LAMBDA_CONTAINER` and `ARM_LAMBDA_CONTAINER`.

- `BUILD_LAMBDA_2GB`: Use up to 2 GB memory for builds. Only available for environment type `LINUX_LAMBDA_CONTAINER` and `ARM_LAMBDA_CONTAINER`.

- `BUILD_LAMBDA_4GB`: Use up to 4 GB memory for builds. Only available for environment type `LINUX_LAMBDA_CONTAINER` and `ARM_LAMBDA_CONTAINER`.

- `BUILD_LAMBDA_8GB`: Use up to 8 GB memory for builds. Only available for environment type `LINUX_LAMBDA_CONTAINER` and `ARM_LAMBDA_CONTAINER`.

- `BUILD_LAMBDA_10GB`: Use up to 10 GB memory for builds. Only available for environment type `LINUX_LAMBDA_CONTAINER` and `ARM_LAMBDA_CONTAINER`.

If you use `BUILD_GENERAL1_SMALL`:

- For environment type `LINUX_CONTAINER`, you can use up to 3 GB memory and 2 vCPUs for builds.

- For environment type `LINUX_GPU_CONTAINER`, you can use up to 16 GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.

- For environment type `ARM_CONTAINER`, you can use up to 4 GB memory and 2 vCPUs on ARM-based processors for builds.

If you use `BUILD_GENERAL1_LARGE`:

- For environment type `LINUX_CONTAINER`, you can use up to 15 GB memory and 8 vCPUs for builds.

- For environment type `LINUX_GPU_CONTAINER`, you can use up to 255 GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.

- For environment type `ARM_CONTAINER`, you can use up to 16 GB memory and 8 vCPUs on ARM-based processors for builds.

For more information, see Build Environment Compute Types in the CodeBuild User Guide.

" }, "environmentVariables":{ "shape":"EnvironmentVariables", "documentation":"

A set of environment variables to make available to builds for this build project.

" }, "privilegedMode":{ "shape":"WrapperBoolean", "documentation":"

Enables running the Docker daemon inside a Docker container. Set to true only if the build project is used to build Docker images. Otherwise, a build that attempts to interact with the Docker daemon fails. The default setting is `false`.

You can initialize the Docker daemon during the install phase of your build by adding one of the following sets of commands to the install phase of your buildspec file:

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&`

`- timeout 15 sh -c \"until docker info; do echo .; sleep 1; done\"`

If the operating system's base image is Alpine Linux and the previous command does not work, 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&`

`- timeout -t 15 sh -c \"until docker info; do echo .; sleep 1; done\"`

" }, "certificate":{ "shape":"String", "documentation":"

The ARN of the Amazon S3 bucket, path prefix, and object key that contains the PEM-encoded certificate for the build project. For more information, see certificate in the CodeBuild User Guide.

" }, "registryCredential":{ "shape":"RegistryCredential", "documentation":"

The credentials for access to a private registry.

" }, "imagePullCredentialsType":{ "shape":"ImagePullCredentialsType", "documentation":"

The type of credentials CodeBuild uses to pull images in your build. There are two valid values:

- `CODEBUILD` specifies that CodeBuild uses its own credentials. This requires that you modify your ECR repository policy to trust CodeBuild service principal.

- `SERVICE_ROLE` specifies that 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 CodeBuild curated image, you must use CODEBUILD credentials.

" } }, "documentation":"

Information about the build environment of the build project.

" }, "ProjectFileSystemLocation":{ "type":"structure", "members":{ "type":{ "shape":"FileSystemType", "documentation":"

The type of the file system. The one supported type is `EFS`.

" }, "location":{ "shape":"String", "documentation":"

A string that specifies the location of the file system created by Amazon EFS. Its format is `efs-dns-name:/directory-path`. You can find the DNS name of file system when you view it in the Amazon EFS console. The directory path is a path to a directory in the file system that CodeBuild mounts. For example, if the DNS name of a file system is `fs-abcd1234.efs.us-west-2.amazonaws.com`, and its mount directory is `my-efs-mount-directory`, then the `location` is `fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory`.

The directory path in the format `efs-dns-name:/directory-path` is optional. If you do not specify a directory path, the location is only the DNS name and CodeBuild mounts the entire file system.

" }, "mountPoint":{ "shape":"String", "documentation":"

The location in the container where you mount the file system.

" }, "identifier":{ "shape":"String", "documentation":"

The name used to access a file system created by Amazon EFS. CodeBuild creates an environment variable by appending the `identifier` in all capital letters to `CODEBUILD_`. For example, if you specify `my_efs` for `identifier`, a new environment variable is create named `CODEBUILD_MY_EFS`.

The `identifier` is used to mount your file system.

" }, "mountOptions":{ "shape":"String", "documentation":"

The mount options for a file system created by Amazon EFS. The default mount options used by CodeBuild are `nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2`. For more information, see Recommended NFS Mount Options.

" } }, "documentation":"

Information about a file system created by Amazon Elastic File System (EFS). For more information, see What Is Amazon Elastic File System?

" }, "ProjectFileSystemLocations":{ "type":"list", "member":{"shape":"ProjectFileSystemLocation"} }, "ProjectName":{ "type":"string", "max":255, "min":2, "pattern":"[A-Za-z0-9][A-Za-z0-9\\-_]{1,254}" }, "ProjectNames":{ "type":"list", "member":{"shape":"NonEmptyString"}, "max":100, "min":1 }, "ProjectSecondarySourceVersions":{ "type":"list", "member":{"shape":"ProjectSourceVersion"}, "max":12, "min":0 }, "ProjectSortByType":{ "type":"string", "enum":[ "NAME", "CREATED_TIME", "LAST_MODIFIED_TIME" ] }, "ProjectSource":{ "type":"structure", "required":["type"], "members":{ "type":{ "shape":"SourceType", "documentation":"

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 CodeCommit repository.

- `CODEPIPELINE`: The source code settings are specified in the source action of a pipeline in CodePipeline.

- `GITHUB`: The source code is in a GitHub or GitHub Enterprise Cloud repository.

- `GITHUB_ENTERPRISE`: The source code is in a GitHub Enterprise Server repository.

- `NO_SOURCE`: The project does not have input source code.

- `S3`: The source code is in an Amazon S3 bucket.

" }, "location":{ "shape":"String", "documentation":"

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 CodePipeline, `location` should not be specified. If it is specified, CodePipeline ignores it. This is because CodePipeline uses the settings in a pipeline's source action instead of this value.

- For source code in an CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the buildspec file (for example, `https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name>`).

- For source code in an Amazon S3 input bucket, one of the following.

  - The path to the ZIP file that contains the source code (for example, `<bucket-name>/<path>/<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 buildspec file. You must connect your Amazon Web Services account to your GitHub account. Use the 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 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 CodeBuild console.) To instruct 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 buildspec file. You must connect your Amazon Web Services account to your Bitbucket account. Use the 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 CodeBuild console.) To instruct CodeBuild to use this connection, in the `source` object, set the `auth` object's `type` value to `OAUTH`.

If you specify `CODEPIPELINE` for the `Type` property, don't specify this property. For all of the other types, you must specify `Location`.

" }, "gitCloneDepth":{ "shape":"GitCloneDepth", "documentation":"

Information about the Git clone depth for the build project.

" }, "gitSubmodulesConfig":{ "shape":"GitSubmodulesConfig", "documentation":"

Information about the Git submodules configuration for the build project.

" }, "buildspec":{ "shape":"String", "documentation":"

The buildspec file declaration to use for the builds in this build project.

If this value is set, it can be either an inline buildspec definition, the path to an alternate buildspec file relative to the value of the built-in `CODEBUILD_SRC_DIR` environment variable, or the path to an S3 bucket. The bucket must be in the same Amazon Web Services Region as the build project. Specify the buildspec file using its ARN (for example, `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this value is not provided or is set to an empty string, the source code must contain a buildspec file in its root directory. For more information, see Buildspec File Name and Storage Location.

" }, "auth":{ "shape":"SourceAuth", "documentation":"

Information about the authorization settings for CodeBuild to access the source code to be built.

This information is for the CodeBuild console's use only. Your code should not get or set this information directly.

" }, "reportBuildStatus":{ "shape":"WrapperBoolean", "documentation":"

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.

To be able to report the build status to the source provider, the user associated with the source provider must have write access to the repo. If the user does not have write access, the build status cannot be updated. For more information, see Source provider access in the CodeBuild User Guide.

The status of a build triggered by a webhook is always reported to your source provider.

If your project's builds are triggered by a webhook, you must push a new commit to the repo for a change to this property to take effect.

" }, "buildStatusConfig":{ "shape":"BuildStatusConfig", "documentation":"

Contains information that defines how the build project reports the build status to the source provider. This option is only used when the source provider is `GITHUB`, `GITHUB_ENTERPRISE`, or `BITBUCKET`.

" }, "insecureSsl":{ "shape":"WrapperBoolean", "documentation":"

Enable this flag to ignore SSL warnings while connecting to the project source code.

" }, "sourceIdentifier":{ "shape":"String", "documentation":"

An identifier for this project source. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.

" } }, "documentation":"

Information about the build input source code for the build project.

" }, "ProjectSourceVersion":{ "type":"structure", "required":[ "sourceIdentifier", "sourceVersion" ], "members":{ "sourceIdentifier":{ "shape":"String", "documentation":"

An identifier for a source in the build project. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.

" }, "sourceVersion":{ "shape":"String", "documentation":"

The source version for the corresponding source identifier. If specified, 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.

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

" } }, "documentation":"

A source identifier and its corresponding version.

" }, "ProjectSources":{ "type":"list", "member":{"shape":"ProjectSource"}, "max":12, "min":0 }, "ProjectVisibilityType":{ "type":"string", "documentation":"

Specifies the visibility of the project's builds. Possible values are:

PUBLIC_READ

  The project builds are visible to the public.

PRIVATE

  The project builds are not visible to the public.

", "enum":[ "PUBLIC_READ", "PRIVATE" ] }, "Projects":{ "type":"list", "member":{"shape":"Project"} }, "PutResourcePolicyInput":{ "type":"structure", "required":[ "policy", "resourceArn" ], "members":{ "policy":{ "shape":"NonEmptyString", "documentation":"

A JSON-formatted resource policy. For more information, see Sharing a Project and Sharing a Report Group in the CodeBuild User Guide.

" }, "resourceArn":{ "shape":"NonEmptyString", "documentation":"

The ARN of the `Project` or `ReportGroup` resource you want to associate with a resource policy.

" } } }, "PutResourcePolicyOutput":{ "type":"structure", "members":{ "resourceArn":{ "shape":"NonEmptyString", "documentation":"

The ARN of the `Project` or `ReportGroup` resource that is associated with a resource policy.

" } } }, "RegistryCredential":{ "type":"structure", "required":[ "credential", "credentialProvider" ], "members":{ "credential":{ "shape":"NonEmptyString", "documentation":"

The Amazon Resource Name (ARN) or name of credentials created using Secrets Manager.

The `credential` can use the name of the credentials only if they exist in your current Amazon Web Services Region.

" }, "credentialProvider":{ "shape":"CredentialProviderType", "documentation":"

The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.

" } }, "documentation":"

Information about credentials that provide access to a private Docker registry. When this is set:

- `imagePullCredentialsType` must be set to `SERVICE_ROLE`.

- images cannot be curated or an Amazon ECR image.

For more information, see Private Registry with Secrets Manager Sample for CodeBuild.

" }, "Report":{ "type":"structure", "members":{ "arn":{ "shape":"NonEmptyString", "documentation":"

The ARN of the report run.

" }, "type":{ "shape":"ReportType", "documentation":"

The type of the report that was run.

CODE_COVERAGE

  A code coverage report.

TEST

  A test report.

" }, "name":{ "shape":"String", "documentation":"

The name of the report that was run.

" }, "reportGroupArn":{ "shape":"NonEmptyString", "documentation":"

The ARN of the report group associated with this report.

" }, "executionId":{ "shape":"String", "documentation":"

The ARN of the build run that generated this report.

" }, "status":{ "shape":"ReportStatusType", "documentation":"

The status of this report.

" }, "created":{ "shape":"Timestamp", "documentation":"

The date and time this report run occurred.

" }, "expired":{ "shape":"Timestamp", "documentation":"

The date and time a report expires. A report expires 30 days after it is created. An expired report is not available to view in CodeBuild.

" }, "exportConfig":{ "shape":"ReportExportConfig", "documentation":"

Information about where the raw data used to generate this report was exported.

" }, "truncated":{ "shape":"WrapperBoolean", "documentation":"

A boolean that specifies if this report run is truncated. The list of test cases is truncated after the maximum number of test cases is reached.

" }, "testSummary":{ "shape":"TestReportSummary", "documentation":"

A `TestReportSummary` object that contains information about this test report.

" }, "codeCoverageSummary":{ "shape":"CodeCoverageReportSummary", "documentation":"

A `CodeCoverageReportSummary` object that contains a code coverage summary for this report.

" } }, "documentation":"

Information about the results from running a series of test cases during the run of a build project. The test cases are specified in the buildspec for the build project using one or more paths to the test case files. You can specify any type of tests you want, such as unit tests, integration tests, and functional tests.

" }, "ReportArns":{ "type":"list", "member":{"shape":"NonEmptyString"}, "max":100, "min":1 }, "ReportCodeCoverageSortByType":{ "type":"string", "enum":[ "LINE_COVERAGE_PERCENTAGE", "FILE_PATH" ] }, "ReportExportConfig":{ "type":"structure", "members":{ "exportConfigType":{ "shape":"ReportExportConfigType", "documentation":"

The export configuration type. Valid values are:

- `S3`: The report results are exported to an S3 bucket.

- `NO_EXPORT`: The report results are not exported.

" }, "s3Destination":{ "shape":"S3ReportExportConfig", "documentation":"

A `S3ReportExportConfig` object that contains information about the S3 bucket where the run of a report is exported.

" } }, "documentation":"

Information about the location where the run of a report is exported.

" }, "ReportExportConfigType":{ "type":"string", "enum":[ "S3", "NO_EXPORT" ] }, "ReportFilter":{ "type":"structure", "members":{ "status":{ "shape":"ReportStatusType", "documentation":"

The status used to filter reports. You can filter using one status only.

" } }, "documentation":"

A filter used to return reports with the status specified by the input `status` parameter.

" }, "ReportGroup":{ "type":"structure", "members":{ "arn":{ "shape":"NonEmptyString", "documentation":"

The ARN of the `ReportGroup`.

" }, "name":{ "shape":"ReportGroupName", "documentation":"

The name of the `ReportGroup`.

" }, "type":{ "shape":"ReportType", "documentation":"

The type of the `ReportGroup`. This can be one of the following values:

CODE_COVERAGE

  The report group contains code coverage reports.

TEST

  The report group contains test reports.

" }, "exportConfig":{ "shape":"ReportExportConfig", "documentation":"

Information about the destination where the raw data of this `ReportGroup` is exported.

" }, "created":{ "shape":"Timestamp", "documentation":"

The date and time this `ReportGroup` was created.

" }, "lastModified":{ "shape":"Timestamp", "documentation":"

The date and time this `ReportGroup` was last modified.

" }, "tags":{ "shape":"TagList", "documentation":"

A list of tag key and value pairs associated with this report group.

These tags are available for use by Amazon Web Services services that support CodeBuild report group tags.

" }, "status":{ "shape":"ReportGroupStatusType", "documentation":"

The status of the report group. This property is read-only.

This can be one of the following values:

ACTIVE

  The report group is active.

DELETING

  The report group is in the process of being deleted.

" } }, "documentation":"

A series of reports. Each report contains information about the results from running a series of test cases. You specify the test cases for a report group in the buildspec for a build project using one or more paths to the test case files.

" }, "ReportGroupArns":{ "type":"list", "member":{"shape":"NonEmptyString"}, "max":100, "min":1 }, "ReportGroupName":{ "type":"string", "max":128, "min":2 }, "ReportGroupSortByType":{ "type":"string", "enum":[ "NAME", "CREATED_TIME", "LAST_MODIFIED_TIME" ] }, "ReportGroupStatusType":{ "type":"string", "enum":[ "ACTIVE", "DELETING" ] }, "ReportGroupTrendFieldType":{ "type":"string", "enum":[ "PASS_RATE", "DURATION", "TOTAL", "LINE_COVERAGE", "LINES_COVERED", "LINES_MISSED", "BRANCH_COVERAGE", "BRANCHES_COVERED", "BRANCHES_MISSED" ] }, "ReportGroupTrendRawDataList":{ "type":"list", "member":{"shape":"ReportWithRawData"} }, "ReportGroupTrendStats":{ "type":"structure", "members":{ "average":{ "shape":"String", "documentation":"

Contains the average of all values analyzed.

" }, "max":{ "shape":"String", "documentation":"

Contains the maximum value analyzed.

" }, "min":{ "shape":"String", "documentation":"

Contains the minimum value analyzed.

" } }, "documentation":"

Contains trend statistics for a set of reports. The actual values depend on the type of trend being collected. For more information, see .

" }, "ReportGroups":{ "type":"list", "member":{"shape":"ReportGroup"}, "max":100, "min":1 }, "ReportPackagingType":{ "type":"string", "enum":[ "ZIP", "NONE" ] }, "ReportStatusCounts":{ "type":"map", "key":{"shape":"String"}, "value":{"shape":"WrapperInt"} }, "ReportStatusType":{ "type":"string", "enum":[ "GENERATING", "SUCCEEDED", "FAILED", "INCOMPLETE", "DELETING" ] }, "ReportType":{ "type":"string", "enum":[ "TEST", "CODE_COVERAGE" ] }, "ReportWithRawData":{ "type":"structure", "members":{ "reportArn":{ "shape":"NonEmptyString", "documentation":"

The ARN of the report.

" }, "data":{ "shape":"String", "documentation":"

The value of the requested data field from the report.

" } }, "documentation":"

Contains the unmodified data for the report. For more information, see .

" }, "Reports":{ "type":"list", "member":{"shape":"Report"}, "max":100, "min":1 }, "ResolvedArtifact":{ "type":"structure", "members":{ "type":{ "shape":"ArtifactsType", "documentation":"

Specifies the type of artifact.

" }, "location":{ "shape":"String", "documentation":"

The location of the artifact.

" }, "identifier":{ "shape":"String", "documentation":"

The identifier of the artifact.

" } }, "documentation":"

Represents a resolved build artifact. A resolved artifact is an artifact that is built and deployed to the destination, such as Amazon S3.

" }, "ResolvedSecondaryArtifacts":{ "type":"list", "member":{"shape":"ResolvedArtifact"} }, "ResourceAlreadyExistsException":{ "type":"structure", "members":{ }, "documentation":"

The specified Amazon Web Services resource cannot be created, because an Amazon Web Services resource with the same settings already exists.

", "exception":true }, "ResourceNotFoundException":{ "type":"structure", "members":{ }, "documentation":"

The specified Amazon Web Services resource cannot be found.

", "exception":true }, "RetryBuildBatchInput":{ "type":"structure", "members":{ "id":{ "shape":"NonEmptyString", "documentation":"

Specifies the identifier of the batch build to restart.

" }, "idempotencyToken":{ "shape":"String", "documentation":"

A unique, case sensitive identifier you provide to ensure the idempotency of the `RetryBuildBatch` request. The token is included in the `RetryBuildBatch` request and is valid for five minutes. If you repeat the `RetryBuildBatch` request with the same token, but change a parameter, CodeBuild returns a parameter mismatch error.

" }, "retryType":{ "shape":"RetryBuildBatchType", "documentation":"

Specifies the type of retry to perform.

" } } }, "RetryBuildBatchOutput":{ "type":"structure", "members":{ "buildBatch":{"shape":"BuildBatch"} } }, "RetryBuildBatchType":{ "type":"string", "enum":[ "RETRY_ALL_BUILDS", "RETRY_FAILED_BUILDS" ] }, "RetryBuildInput":{ "type":"structure", "members":{ "id":{ "shape":"NonEmptyString", "documentation":"

Specifies the identifier of the build to restart.

" }, "idempotencyToken":{ "shape":"String", "documentation":"

A unique, case sensitive identifier you provide to ensure the idempotency of the `RetryBuild` request. The token is included in the `RetryBuild` request and is valid for five minutes. If you repeat the `RetryBuild` request with the same token, but change a parameter, CodeBuild returns a parameter mismatch error.

" } } }, "RetryBuildOutput":{ "type":"structure", "members":{ "build":{"shape":"Build"} } }, "S3LogsConfig":{ "type":"structure", "required":["status"], "members":{ "status":{ "shape":"LogsConfigStatusType", "documentation":"

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.

" }, "location":{ "shape":"String", "documentation":"

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`.

" }, "encryptionDisabled":{ "shape":"WrapperBoolean", "documentation":"

Set to true if you do not want your S3 build log output encrypted. By default S3 build logs are encrypted.

" }, "bucketOwnerAccess":{"shape":"BucketOwnerAccess"} }, "documentation":"

Information about S3 logs for a build project.

" }, "S3ReportExportConfig":{ "type":"structure", "members":{ "bucket":{ "shape":"NonEmptyString", "documentation":"

The name of the S3 bucket where the raw data of a report are exported.

" }, "bucketOwner":{ "shape":"String", "documentation":"

The Amazon Web Services account identifier of the owner of the Amazon S3 bucket. This allows report data to be exported to an Amazon S3 bucket that is owned by an account other than the account running the build.

" }, "path":{ "shape":"String", "documentation":"

The path to the exported report's raw data results.

" }, "packaging":{ "shape":"ReportPackagingType", "documentation":"

The type of build output artifact to create. Valid values include:

- `NONE`: CodeBuild creates the raw data in the output bucket. This is the default if packaging is not specified.

- `ZIP`: CodeBuild creates a ZIP file with the raw data in the output bucket.

" }, "encryptionKey":{ "shape":"NonEmptyString", "documentation":"

The encryption key for the report's encrypted raw data.

" }, "encryptionDisabled":{ "shape":"WrapperBoolean", "documentation":"

A boolean value that specifies if the results of a report are encrypted.

" } }, "documentation":"

Information about the S3 bucket where the raw data of a report are exported.

" }, "SecurityGroupIds":{ "type":"list", "member":{"shape":"NonEmptyString"}, "max":5 }, "SensitiveNonEmptyString":{ "type":"string", "min":1, "sensitive":true }, "ServerType":{ "type":"string", "enum":[ "GITHUB", "BITBUCKET", "GITHUB_ENTERPRISE" ] }, "SharedResourceSortByType":{ "type":"string", "enum":[ "ARN", "MODIFIED_TIME" ] }, "SortOrderType":{ "type":"string", "enum":[ "ASCENDING", "DESCENDING" ] }, "SourceAuth":{ "type":"structure", "required":["type"], "members":{ "type":{ "shape":"SourceAuthType", "documentation":"

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.

" }, "resource":{ "shape":"String", "documentation":"

The resource value that applies to the specified authorization type.

" } }, "documentation":"

Information about the authorization settings for CodeBuild to access the source code to be built.

This information is for the CodeBuild console's use only. Your code should not get or set this information directly.

" }, "SourceAuthType":{ "type":"string", "enum":["OAUTH"] }, "SourceCredentialsInfo":{ "type":"structure", "members":{ "arn":{ "shape":"NonEmptyString", "documentation":"

The Amazon Resource Name (ARN) of the token.

" }, "serverType":{ "shape":"ServerType", "documentation":"

The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.

" }, "authType":{ "shape":"AuthType", "documentation":"

The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, or PERSONAL_ACCESS_TOKEN.

" } }, "documentation":"

Information about the credentials for a GitHub, GitHub Enterprise, or Bitbucket repository.

" }, "SourceCredentialsInfos":{ "type":"list", "member":{"shape":"SourceCredentialsInfo"} }, "SourceType":{ "type":"string", "enum":[ "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", "NO_SOURCE" ] }, "StartBuildBatchInput":{ "type":"structure", "required":["projectName"], "members":{ "projectName":{ "shape":"NonEmptyString", "documentation":"

The name of the project.

" }, "secondarySourcesOverride":{ "shape":"ProjectSources", "documentation":"

An array of `ProjectSource` objects that override the secondary sources defined in the batch build project.

" }, "secondarySourcesVersionOverride":{ "shape":"ProjectSecondarySourceVersions", "documentation":"

An array of `ProjectSourceVersion` objects that override the secondary source versions in the batch build project.

" }, "sourceVersion":{ "shape":"String", "documentation":"

The version of the batch build input to be built, for this build only. If not specified, the latest version is used. If specified, the contents depends on the source provider:

CodeCommit

  The commit ID, branch, or Git tag to use.

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.

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.

Amazon S3

  The version ID of the object that represents the build input ZIP file to use.

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.

" }, "artifactsOverride":{ "shape":"ProjectArtifacts", "documentation":"

An array of `ProjectArtifacts` objects that contains information about the build output artifact overrides for the build project.

" }, "secondaryArtifactsOverride":{ "shape":"ProjectArtifactsList", "documentation":"

An array of `ProjectArtifacts` objects that override the secondary artifacts defined in the batch build project.

" }, "environmentVariablesOverride":{ "shape":"EnvironmentVariables", "documentation":"

An array of `EnvironmentVariable` objects that override, or add to, the environment variables defined in the batch build project.

" }, "sourceTypeOverride":{ "shape":"SourceType", "documentation":"

The source input type that overrides the source input defined in the batch build project.

" }, "sourceLocationOverride":{ "shape":"String", "documentation":"

A location that overrides, for this batch build, the source location defined in the batch build project.

" }, "sourceAuthOverride":{ "shape":"SourceAuth", "documentation":"

A `SourceAuth` object that overrides the one defined in the batch build project. This override applies only if the build project's source is BitBucket or GitHub.

" }, "gitCloneDepthOverride":{ "shape":"GitCloneDepth", "documentation":"

The user-defined depth of history, with a minimum value of 0, that overrides, for this batch build only, any previous depth of history defined in the batch build project.

" }, "gitSubmodulesConfigOverride":{ "shape":"GitSubmodulesConfig", "documentation":"

A `GitSubmodulesConfig` object that overrides the Git submodules configuration for this batch build.

" }, "buildspecOverride":{ "shape":"String", "documentation":"

A buildspec file declaration that overrides, for this build only, the latest one already defined in the build project.

If this value is set, it can be either an inline buildspec definition, the path to an alternate buildspec file relative to the value of the built-in `CODEBUILD_SRC_DIR` environment variable, or the path to an S3 bucket. The bucket must be in the same Amazon Web Services Region as the build project. Specify the buildspec file using its ARN (for example, `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this value is not provided or is set to an empty string, the source code must contain a buildspec file in its root directory. For more information, see Buildspec File Name and Storage Location.

" }, "insecureSslOverride":{ "shape":"WrapperBoolean", "documentation":"

Enable this flag to override the insecure SSL setting that is specified in the batch 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.

" }, "reportBuildBatchStatusOverride":{ "shape":"WrapperBoolean", "documentation":"

Set to `true` to report to your source provider the status of a batch 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.

The status of a build triggered by a webhook is always reported to your source provider.

" }, "environmentTypeOverride":{ "shape":"EnvironmentType", "documentation":"

A container type for this batch build that overrides the one specified in the batch build project.

" }, "imageOverride":{ "shape":"NonEmptyString", "documentation":"

The name of an image for this batch build that overrides the one specified in the batch build project.

" }, "computeTypeOverride":{ "shape":"ComputeType", "documentation":"

The name of a compute type for this batch build that overrides the one specified in the batch build project.

" }, "certificateOverride":{ "shape":"String", "documentation":"

The name of a certificate for this batch build that overrides the one specified in the batch build project.

" }, "cacheOverride":{ "shape":"ProjectCache", "documentation":"

A `ProjectCache` object that specifies cache overrides.

" }, "serviceRoleOverride":{ "shape":"NonEmptyString", "documentation":"

The name of a service role for this batch build that overrides the one specified in the batch build project.

" }, "privilegedModeOverride":{ "shape":"WrapperBoolean", "documentation":"

Enable this flag to override privileged mode in the batch build project.

" }, "buildTimeoutInMinutesOverride":{ "shape":"TimeOut", "documentation":"

Overrides the build timeout specified in the batch build project.

" }, "queuedTimeoutInMinutesOverride":{ "shape":"TimeOut", "documentation":"

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

" }, "encryptionKeyOverride":{ "shape":"NonEmptyString", "documentation":"

The Key Management Service customer master key (CMK) that overrides the one specified in the batch build project. The CMK key encrypts 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>`).

" }, "idempotencyToken":{ "shape":"String", "documentation":"

A unique, case sensitive identifier you provide to ensure the idempotency of the `StartBuildBatch` request. The token is included in the `StartBuildBatch` request and is valid for five minutes. If you repeat the `StartBuildBatch` request with the same token, but change a parameter, CodeBuild returns a parameter mismatch error.

" }, "logsConfigOverride":{ "shape":"LogsConfig", "documentation":"

A `LogsConfig` object that override the log settings defined in the batch build project.

" }, "registryCredentialOverride":{ "shape":"RegistryCredential", "documentation":"

A `RegistryCredential` object that overrides credentials for access to a private registry.

" }, "imagePullCredentialsTypeOverride":{ "shape":"ImagePullCredentialsType", "documentation":"

The type of credentials CodeBuild uses to pull images in your batch build. There are two valid values:

CODEBUILD

  Specifies that CodeBuild uses its own credentials. This requires that you modify your ECR repository policy to trust CodeBuild's service principal.

SERVICE_ROLE

  Specifies that 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 CodeBuild curated image, you must use `CODEBUILD` credentials.

" }, "buildBatchConfigOverride":{ "shape":"ProjectBuildBatchConfig", "documentation":"

A `BuildBatchConfigOverride` object that contains batch build configuration overrides.

" }, "debugSessionEnabled":{ "shape":"WrapperBoolean", "documentation":"

Specifies if session debugging is enabled for this batch build. For more information, see Viewing a running build in Session Manager. Batch session debugging is not supported for matrix batch builds.

" } } }, "StartBuildBatchOutput":{ "type":"structure", "members":{ "buildBatch":{ "shape":"BuildBatch", "documentation":"

A `BuildBatch` object that contains information about the batch build.

" } } }, "StartBuildInput":{ "type":"structure", "required":["projectName"], "members":{ "projectName":{ "shape":"NonEmptyString", "documentation":"

The name of the CodeBuild build project to start running a build.

" }, "secondarySourcesOverride":{ "shape":"ProjectSources", "documentation":"

An array of `ProjectSource` objects.

" }, "secondarySourcesVersionOverride":{ "shape":"ProjectSecondarySourceVersions", "documentation":"

An array of `ProjectSourceVersion` objects that specify one or more versions of the project's secondary sources to be used for this build only.

" }, "sourceVersion":{ "shape":"String", "documentation":"

The version of the build input to be built, for this build only. If not specified, the latest version is used. If specified, the contents depends on the source provider:

CodeCommit

  The commit ID, branch, or Git tag to use.

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.

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.

Amazon S3

  The version ID of the object that represents the build input ZIP file to use.

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.

" }, "artifactsOverride":{ "shape":"ProjectArtifacts", "documentation":"

Build output artifact settings that override, for this build only, the latest ones already defined in the build project.

" }, "secondaryArtifactsOverride":{ "shape":"ProjectArtifactsList", "documentation":"

An array of `ProjectArtifacts` objects.

" }, "environmentVariablesOverride":{ "shape":"EnvironmentVariables", "documentation":"

A set of environment variables that overrides, for this build only, the latest ones already defined in the build project.

" }, "sourceTypeOverride":{ "shape":"SourceType", "documentation":"

A source input type, for this build, that overrides the source input defined in the build project.

" }, "sourceLocationOverride":{ "shape":"String", "documentation":"

A location that overrides, for this build, the source location for the one defined in the build project.

" }, "sourceAuthOverride":{ "shape":"SourceAuth", "documentation":"

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.

" }, "gitCloneDepthOverride":{ "shape":"GitCloneDepth", "documentation":"

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.

" }, "gitSubmodulesConfigOverride":{ "shape":"GitSubmodulesConfig", "documentation":"

Information about the Git submodules configuration for this build of an CodeBuild build project.

" }, "buildspecOverride":{ "shape":"String", "documentation":"

A buildspec file declaration that overrides, for this build only, the latest one already defined in the build project.

If this value is set, it can be either an inline buildspec definition, the path to an alternate buildspec file relative to the value of the built-in `CODEBUILD_SRC_DIR` environment variable, or the path to an S3 bucket. The bucket must be in the same Amazon Web Services Region as the build project. Specify the buildspec file using its ARN (for example, `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this value is not provided or is set to an empty string, the source code must contain a buildspec file in its root directory. For more information, see Buildspec File Name and Storage Location.

" }, "insecureSslOverride":{ "shape":"WrapperBoolean", "documentation":"

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.

" }, "reportBuildStatusOverride":{ "shape":"WrapperBoolean", "documentation":"

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.

To be able to report the build status to the source provider, the user associated with the source provider must have write access to the repo. If the user does not have write access, the build status cannot be updated. For more information, see Source provider access in the CodeBuild User Guide.

The status of a build triggered by a webhook is always reported to your source provider.

" }, "buildStatusConfigOverride":{ "shape":"BuildStatusConfig", "documentation":"

Contains information that defines how the build project reports the build status to the source provider. This option is only used when the source provider is `GITHUB`, `GITHUB_ENTERPRISE`, or `BITBUCKET`.

" }, "environmentTypeOverride":{ "shape":"EnvironmentType", "documentation":"

A container type for this build that overrides the one specified in the build project.

" }, "imageOverride":{ "shape":"NonEmptyString", "documentation":"

The name of an image for this build that overrides the one specified in the build project.

" }, "computeTypeOverride":{ "shape":"ComputeType", "documentation":"

The name of a compute type for this build that overrides the one specified in the build project.

" }, "certificateOverride":{ "shape":"String", "documentation":"

The name of a certificate for this build that overrides the one specified in the build project.

" }, "cacheOverride":{ "shape":"ProjectCache", "documentation":"

A ProjectCache object specified for this build that overrides the one defined in the build project.

" }, "serviceRoleOverride":{ "shape":"NonEmptyString", "documentation":"

The name of a service role for this build that overrides the one specified in the build project.

" }, "privilegedModeOverride":{ "shape":"WrapperBoolean", "documentation":"

Enable this flag to override privileged mode in the build project.

" }, "timeoutInMinutesOverride":{ "shape":"TimeOut", "documentation":"

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.

" }, "queuedTimeoutInMinutesOverride":{ "shape":"TimeOut", "documentation":"

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

" }, "encryptionKeyOverride":{ "shape":"NonEmptyString", "documentation":"

The Key Management Service customer master key (CMK) that overrides the one specified in the build project. The CMK key encrypts 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>`).

" }, "idempotencyToken":{ "shape":"String", "documentation":"

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 5 minutes. If you repeat the StartBuild request with the same token, but change a parameter, CodeBuild returns a parameter mismatch error.

" }, "logsConfigOverride":{ "shape":"LogsConfig", "documentation":"

Log settings for this build that override the log settings defined in the build project.

" }, "registryCredentialOverride":{ "shape":"RegistryCredential", "documentation":"

The credentials for access to a private registry.

" }, "imagePullCredentialsTypeOverride":{ "shape":"ImagePullCredentialsType", "documentation":"

The type of credentials CodeBuild uses to pull images in your build. There are two valid values:

CODEBUILD

  Specifies that CodeBuild uses its own credentials. This requires that you modify your ECR repository policy to trust CodeBuild's service principal.

SERVICE_ROLE

  Specifies that 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 CodeBuild curated image, you must use `CODEBUILD` credentials.

" }, "debugSessionEnabled":{ "shape":"WrapperBoolean", "documentation":"

Specifies if session debugging is enabled for this build. For more information, see Viewing a running build in Session Manager.

" } } }, "StartBuildOutput":{ "type":"structure", "members":{ "build":{ "shape":"Build", "documentation":"

Information about the build to be run.

" } } }, "StatusType":{ "type":"string", "enum":[ "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED" ] }, "StopBuildBatchInput":{ "type":"structure", "required":["id"], "members":{ "id":{ "shape":"NonEmptyString", "documentation":"

The identifier of the batch build to stop.

" } } }, "StopBuildBatchOutput":{ "type":"structure", "members":{ "buildBatch":{"shape":"BuildBatch"} } }, "StopBuildInput":{ "type":"structure", "required":["id"], "members":{ "id":{ "shape":"NonEmptyString", "documentation":"

The ID of the build.

" } } }, "StopBuildOutput":{ "type":"structure", "members":{ "build":{ "shape":"Build", "documentation":"

Information about the build.

" } } }, "String":{"type":"string"}, "Subnets":{ "type":"list", "member":{"shape":"NonEmptyString"}, "max":16 }, "Tag":{ "type":"structure", "members":{ "key":{ "shape":"KeyInput", "documentation":"

The tag's key.

" }, "value":{ "shape":"ValueInput", "documentation":"

The tag's value.

" } }, "documentation":"

A tag, consisting of a key and a value.

This tag is available for use by Amazon Web Services services that support tags in CodeBuild.

" }, "TagList":{ "type":"list", "member":{"shape":"Tag"}, "max":50, "min":0 }, "TestCase":{ "type":"structure", "members":{ "reportArn":{ "shape":"NonEmptyString", "documentation":"

The ARN of the report to which the test case belongs.

" }, "testRawDataPath":{ "shape":"String", "documentation":"

The path to the raw data file that contains the test result.

" }, "prefix":{ "shape":"String", "documentation":"

A string that is applied to a series of related test cases. CodeBuild generates the prefix. The prefix depends on the framework used to generate the tests.

" }, "name":{ "shape":"String", "documentation":"

The name of the test case.

" }, "status":{ "shape":"String", "documentation":"

The status returned by the test case after it was run. Valid statuses are `SUCCEEDED`, `FAILED`, `ERROR`, `SKIPPED`, and `UNKNOWN`.

" }, "durationInNanoSeconds":{ "shape":"WrapperLong", "documentation":"

The number of nanoseconds it took to run this test case.

" }, "message":{ "shape":"String", "documentation":"

A message associated with a test case. For example, an error message or stack trace.

" }, "expired":{ "shape":"Timestamp", "documentation":"

The date and time a test case expires. A test case expires 30 days after it is created. An expired test case is not available to view in CodeBuild.

" } }, "documentation":"

Information about a test case created using a framework such as NUnit or Cucumber. A test case might be a unit test or a configuration test.

" }, "TestCaseFilter":{ "type":"structure", "members":{ "status":{ "shape":"String", "documentation":"

The status used to filter test cases. A `TestCaseFilter` can have one status. Valid values are:

- `SUCCEEDED`

- `FAILED`

- `ERROR`

- `SKIPPED`

- `UNKNOWN`

" }, "keyword":{ "shape":"String", "documentation":"

A keyword that is used to filter on the `name` or the `prefix` of the test cases. Only test cases where the keyword is a substring of the `name` or the `prefix` will be returned.

" } }, "documentation":"

A filter used to return specific types of test cases. In order to pass the filter, the report must meet all of the filter properties.

" }, "TestCases":{ "type":"list", "member":{"shape":"TestCase"} }, "TestReportSummary":{ "type":"structure", "required":[ "total", "statusCounts", "durationInNanoSeconds" ], "members":{ "total":{ "shape":"WrapperInt", "documentation":"

The number of test cases in this `TestReportSummary`. The total includes truncated test cases.

" }, "statusCounts":{ "shape":"ReportStatusCounts", "documentation":"

A map that contains the number of each type of status returned by the test results in this `TestReportSummary`.

" }, "durationInNanoSeconds":{ "shape":"WrapperLong", "documentation":"

The number of nanoseconds it took to run all of the test cases in this report.

" } }, "documentation":"

Information about a test report.

" }, "TimeOut":{ "type":"integer", "max":480, "min":5 }, "Timestamp":{"type":"timestamp"}, "UpdateProjectInput":{ "type":"structure", "required":["name"], "members":{ "name":{ "shape":"NonEmptyString", "documentation":"

The name of the build project.

You cannot change a build project's name.

" }, "description":{ "shape":"ProjectDescription", "documentation":"

A new or replacement description of the build project.

" }, "source":{ "shape":"ProjectSource", "documentation":"

Information to be changed about the build input source code for the build project.

" }, "secondarySources":{ "shape":"ProjectSources", "documentation":"

An array of `ProjectSource` objects.

" }, "sourceVersion":{ "shape":"String", "documentation":"

A version of the build input to be built for this project. If not specified, the latest version is used. If specified, it 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.

If `sourceVersion` is specified at the build level, then that version takes precedence over this `sourceVersion` (at the project level).

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

" }, "secondarySourceVersions":{ "shape":"ProjectSecondarySourceVersions", "documentation":"

An array of `ProjectSourceVersion` objects. If `secondarySourceVersions` is specified at the build level, then they take over these `secondarySourceVersions` (at the project level).

" }, "artifacts":{ "shape":"ProjectArtifacts", "documentation":"

Information to be changed about the build output artifacts for the build project.

" }, "secondaryArtifacts":{ "shape":"ProjectArtifactsList", "documentation":"

An array of `ProjectArtifact` objects.

" }, "cache":{ "shape":"ProjectCache", "documentation":"

Stores recently used information so that it can be quickly accessed at a later time.

" }, "environment":{ "shape":"ProjectEnvironment", "documentation":"

Information to be changed about the build environment for the build project.

" }, "serviceRole":{ "shape":"NonEmptyString", "documentation":"

The replacement ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services services on behalf of the Amazon Web Services account.

" }, "timeoutInMinutes":{ "shape":"TimeOut", "documentation":"

The replacement value in minutes, from 5 to 480 (8 hours), for CodeBuild to wait before timing out any related build that did not get marked as completed.

" }, "queuedTimeoutInMinutes":{ "shape":"TimeOut", "documentation":"

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

" }, "encryptionKey":{ "shape":"NonEmptyString", "documentation":"

The Key Management Service 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>`).

" }, "tags":{ "shape":"TagList", "documentation":"

An updated list of tag key and value pairs associated with this build project.

These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.

" }, "vpcConfig":{ "shape":"VpcConfig", "documentation":"

VpcConfig enables CodeBuild to access resources in an Amazon VPC.

" }, "badgeEnabled":{ "shape":"WrapperBoolean", "documentation":"

Set this to true to generate a publicly accessible URL for your project's build badge.

" }, "logsConfig":{ "shape":"LogsConfig", "documentation":"

Information about logs for the build project. A project can create logs in CloudWatch Logs, logs in an S3 bucket, or both.

" }, "fileSystemLocations":{ "shape":"ProjectFileSystemLocations", "documentation":"

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.

" }, "buildBatchConfig":{"shape":"ProjectBuildBatchConfig"}, "concurrentBuildLimit":{ "shape":"WrapperInt", "documentation":"

The maximum number of concurrent builds that are allowed for this project.

New builds are only started if the current number of builds is less than or equal to this limit. If the current build count meets this limit, new builds are throttled and are not run.

To remove this limit, set this value to -1.

" } } }, "UpdateProjectOutput":{ "type":"structure", "members":{ "project":{ "shape":"Project", "documentation":"

Information about the build project that was changed.

" } } }, "UpdateProjectVisibilityInput":{ "type":"structure", "required":[ "projectArn", "projectVisibility" ], "members":{ "projectArn":{ "shape":"NonEmptyString", "documentation":"

The Amazon Resource Name (ARN) of the build project.

" }, "projectVisibility":{"shape":"ProjectVisibilityType"}, "resourceAccessRole":{ "shape":"NonEmptyString", "documentation":"

The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds.

" } } }, "UpdateProjectVisibilityOutput":{ "type":"structure", "members":{ "projectArn":{ "shape":"NonEmptyString", "documentation":"

The Amazon Resource Name (ARN) of the build project.

" }, "publicProjectAlias":{ "shape":"NonEmptyString", "documentation":"

Contains the project identifier used with the public build APIs.

" }, "projectVisibility":{"shape":"ProjectVisibilityType"} } }, "UpdateReportGroupInput":{ "type":"structure", "required":["arn"], "members":{ "arn":{ "shape":"NonEmptyString", "documentation":"

The ARN of the report group to update.

" }, "exportConfig":{ "shape":"ReportExportConfig", "documentation":"

Used to specify an updated export type. Valid values are:

- `S3`: The report results are exported to an S3 bucket.

- `NO_EXPORT`: The report results are not exported.

" }, "tags":{ "shape":"TagList", "documentation":"

An updated list of tag key and value pairs associated with this report group.

These tags are available for use by Amazon Web Services services that support CodeBuild report group tags.

" } } }, "UpdateReportGroupOutput":{ "type":"structure", "members":{ "reportGroup":{ "shape":"ReportGroup", "documentation":"

Information about the updated report group.

" } } }, "UpdateWebhookInput":{ "type":"structure", "required":["projectName"], "members":{ "projectName":{ "shape":"ProjectName", "documentation":"

The name of the CodeBuild project.

" }, "branchFilter":{ "shape":"String", "documentation":"

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`.

" }, "rotateSecret":{ "shape":"Boolean", "documentation":"

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.

" }, "filterGroups":{ "shape":"FilterGroups", "documentation":"

An array of arrays of `WebhookFilter` objects used to determine if a webhook event can trigger a build. A filter group must contain at least one `EVENT` `WebhookFilter`.

" }, "buildType":{ "shape":"WebhookBuildType", "documentation":"

Specifies the type of build this webhook will trigger.

" } } }, "UpdateWebhookOutput":{ "type":"structure", "members":{ "webhook":{ "shape":"Webhook", "documentation":"

Information about a repository's webhook that is associated with a project in CodeBuild.

" } } }, "ValueInput":{ "type":"string", "max":255, "min":0, "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=@+\\-]*)$" }, "VpcConfig":{ "type":"structure", "members":{ "vpcId":{ "shape":"NonEmptyString", "documentation":"

The ID of the Amazon VPC.

" }, "subnets":{ "shape":"Subnets", "documentation":"

A list of one or more subnet IDs in your Amazon VPC.

" }, "securityGroupIds":{ "shape":"SecurityGroupIds", "documentation":"

A list of one or more security groups IDs in your Amazon VPC.

" } }, "documentation":"

Information about the VPC configuration that CodeBuild accesses.

" }, "Webhook":{ "type":"structure", "members":{ "url":{ "shape":"NonEmptyString", "documentation":"

The URL to the webhook.

" }, "payloadUrl":{ "shape":"NonEmptyString", "documentation":"

The CodeBuild endpoint where webhook events are sent.

" }, "secret":{ "shape":"NonEmptyString", "documentation":"

The secret token of the associated repository.

A Bitbucket webhook does not support `secret`.

" }, "branchFilter":{ "shape":"String", "documentation":"

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`.

" }, "filterGroups":{ "shape":"FilterGroups", "documentation":"

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.

" }, "buildType":{ "shape":"WebhookBuildType", "documentation":"

Specifies the type of build this webhook will trigger.

" }, "lastModifiedSecret":{ "shape":"Timestamp", "documentation":"

A timestamp that indicates the last time a repository's secret token was modified.

" } }, "documentation":"

Information about a webhook that connects repository events to a build project in CodeBuild.

" }, "WebhookBuildType":{ "type":"string", "enum":[ "BUILD", "BUILD_BATCH" ] }, "WebhookFilter":{ "type":"structure", "required":[ "type", "pattern" ], "members":{ "type":{ "shape":"WebhookFilterType", "documentation":"

The type of webhook filter. There are six webhook filter types: `EVENT`, `ACTOR_ACCOUNT_ID`, `HEAD_REF`, `BASE_REF`, `FILE_PATH`, and `COMMIT_MESSAGE`.

EVENT

  A webhook event triggers a build when the provided `pattern` matches one of five event types: `PUSH`, `PULL_REQUEST_CREATED`, `PULL_REQUEST_UPDATED`, `PULL_REQUEST_REOPENED`, and `PULL_REQUEST_MERGED`. 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 Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events.

COMMIT_MESSAGE

  A webhook triggers a build when the head commit message matches the regular expression `pattern`.

  Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events.

" }, "pattern":{ "shape":"String", "documentation":"

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`.

" }, "excludeMatchedPattern":{ "shape":"WrapperBoolean", "documentation":"

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.

" } }, "documentation":"

A filter used to determine which webhooks trigger a build.

" }, "WebhookFilterType":{ "type":"string", "enum":[ "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE" ] }, "WrapperBoolean":{"type":"boolean"}, "WrapperInt":{"type":"integer"}, "WrapperLong":{"type":"long"} }, "documentation":"CodeBuild

CodeBuild is a fully managed build service in the cloud. CodeBuild compiles your source code, runs unit tests, and produces artifacts that are ready to deploy. CodeBuild eliminates the need to provision, manage, and scale your own build servers. It provides prepackaged build environments for the most popular programming languages and build tools, such as Apache Maven, Gradle, and more. You can also fully customize build environments in CodeBuild to use your own build tools. CodeBuild scales automatically to meet peak build requests. You pay only for the build time you consume. For more information about CodeBuild, see the CodeBuild User Guide.

" }