Skip to main content

rule_executions

Creates, updates, deletes, gets or lists a rule_executions resource.

Overview

Namerule_executions
TypeResource
Idaws.codepipeline.rule_executions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
inputobjectInput details for the rule execution, such as role ARN, Region, and input artifacts.
last_update_timestring (date-time)The date and time of the last change to the rule execution, in timestamp format.
outputobjectOutput details for the rule execution, such as the rule execution result.
pipeline_execution_idstringThe 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_versionintegerThe version number of the pipeline with the stage where the rule was run.
rule_execution_idstringThe ID of the run for the rule.
rule_namestringThe name of the rule that was run in the stage. (pattern: <code>[A-Za-z0-9.@-_]+</code>)
stage_namestringThe name of the stage where the rule was run. (pattern: <code>[A-Za-z0-9.@-_]+</code>)
start_timestring (date-time)The start time of the rule execution.
statusstringThe status of the rule execution. Status categories are InProgress, Succeeded, and Failed. (InProgress, Abandoned, Succeeded, Failed)
updated_bystringThe ARN of the user who changed the rule execution details.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_rule_executionsselectregionLists 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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
;