build_batches
Creates, updates, deletes, gets or lists a build_batches resource.
Overview
| Name | build_batches |
| Type | Resource |
| Id | aws.codebuild.build_batches |
Fields
The following fields are returned by SELECT queries:
- batch_get_build_batches
- list_build_batches
| Name | Datatype | Description |
|---|---|---|
build_batches | array | An array of BuildBatch objects that represent the retrieved batch builds. |
build_batches_not_found | array | An array that contains the identifiers of any batch builds that are not found. |
| Name | Datatype | Description |
|---|---|---|
id | string | An array of strings that contains the batch build identifiers. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
batch_get_build_batches | select | region | Retrieves information about one or more batch builds. | |
list_build_batches | select | region | Retrieves the identifiers of your build batches in the current region. | |
delete_build_batch | delete | region | Deletes a batch build. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- batch_get_build_batches
- list_build_batches
Retrieves information about one or more batch builds.
SELECT
build_batches,
build_batches_not_found
FROM aws.codebuild.build_batches
WHERE region = '{{ region }}' -- required
;
Retrieves the identifiers of your build batches in the current region.
SELECT
id
FROM aws.codebuild.build_batches
WHERE region = '{{ region }}' -- required
;
DELETE examples
- delete_build_batch
Deletes a batch build.
DELETE FROM aws.codebuild.build_batches
WHERE region = '{{ region }}' --required
;