pipeline_states
Creates, updates, deletes, gets or lists a pipeline_states resource.
Overview
| Name | pipeline_states |
| Type | Resource |
| Id | aws.codepipeline.pipeline_states |
Fields
The following fields are returned by SELECT queries:
- get_pipeline_state
| Name | Datatype | Description |
|---|---|---|
created | string (date-time) | The date and time the pipeline was created, in timestamp format. |
pipeline_name | string | The name of the pipeline for which you want to get the state. (pattern: <code>[A-Za-z0-9.@-_]+</code>) |
pipeline_version | integer | The version number of the pipeline. A newly created pipeline is always assigned a version number of 1. |
stage_states | array | A list of the pipeline stage output information, including stage name, state, most recent run details, whether the stage is disabled, and other data. |
updated | string (date-time) | The date and time the pipeline was last updated, in timestamp format. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_pipeline_state | select | region | Returns information about the state of a pipeline, including the stages and actions. Values returned in the revisionId and revisionUrl fields indicate the source revision information, such as the commit ID, for the current state. |
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_pipeline_state
Returns information about the state of a pipeline, including the stages and actions. Values returned in the revisionId and revisionUrl fields indicate the source revision information, such as the commit ID, for the current state.
SELECT
created,
pipeline_name,
pipeline_version,
stage_states,
updated
FROM aws.codepipeline.pipeline_states
WHERE region = '{{ region }}' -- required
;