job_details
Creates, updates, deletes, gets or lists a job_details resource.
Overview
| Name | job_details |
| Type | Resource |
| Id | aws.codepipeline.job_details |
Fields
The following fields are returned by SELECT queries:
- get_job_details
| Name | Datatype | Description |
|---|---|---|
id | string | The unique system-generated ID of the job. (pattern: <code>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}</code>) |
account_id | string | The Amazon Web Services account ID associated with the job. (pattern: <code>[0-9]{12}</code>) |
data | object | Represents other information about a job required for a job worker to complete the job. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_job_details | select | region | Returns information about a job. Used for custom actions only. When this API is called, CodePipeline returns temporary credentials for the S3 bucket used to store artifacts for the pipeline, if the action requires access to that S3 bucket for input or output artifacts. This API also returns any secret values defined for the action. |
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
- get_job_details
Returns information about a job. Used for custom actions only. When this API is called, CodePipeline returns temporary credentials for the S3 bucket used to store artifacts for the pipeline, if the action requires access to that S3 bucket for input or output artifacts. This API also returns any secret values defined for the action.
SELECT
id,
account_id,
data
FROM aws.codepipeline.job_details
WHERE region = '{{ region }}' -- required
;