rule_executions
Creates, updates, deletes, gets or lists a rule_executions resource.
Overview
| Name | rule_executions |
| Type | Resource |
| Id | aws.codepipeline.rule_executions |
Fields
The following fields are returned by SELECT queries:
- list_rule_executions
| Name | Datatype | Description |
|---|---|---|
input | object | Input details for the rule execution, such as role ARN, Region, and input artifacts. |
last_update_time | string (date-time) | The date and time of the last change to the rule execution, in timestamp format. |
output | object | Output details for the rule execution, such as the rule execution result. |
pipeline_execution_id | string | The ID of the pipeline execution in the stage where the rule was run. Use the GetPipelineState action to retrieve the current pipelineExecutionId of the stage. (pattern: <code>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}</code>) |
pipeline_version | integer | The version number of the pipeline with the stage where the rule was run. |
rule_execution_id | string | The ID of the run for the rule. |
rule_name | string | The name of the rule that was run in the stage. (pattern: <code>[A-Za-z0-9.@-_]+</code>) |
stage_name | string | The name of the stage where the rule was run. (pattern: <code>[A-Za-z0-9.@-_]+</code>) |
start_time | string (date-time) | The start time of the rule execution. |
status | string | The status of the rule execution. Status categories are InProgress, Succeeded, and Failed. (InProgress, Abandoned, Succeeded, Failed) |
updated_by | string | The ARN of the user who changed the rule execution details. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_rule_executions | select | region | Lists the rule executions that have occurred in a pipeline configured for conditions with rules. |
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
- list_rule_executions
Lists the rule executions that have occurred in a pipeline configured for conditions with rules.
SELECT
input,
last_update_time,
output,
pipeline_execution_id,
pipeline_version,
rule_execution_id,
rule_name,
stage_name,
start_time,
status,
updated_by
FROM aws.codepipeline.rule_executions
WHERE region = '{{ region }}' -- required
;