Skip to main content

workflow_versions

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

Overview

Nameworkflow_versions
TypeResource
Idaws.mwaa_serverless.workflow_versions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
created_atstring (date-time)The timestamp when the workflow version was created, in ISO 8601 date-time format.
definition_s3_locationobjectThe Amazon S3 location of the workflow definition file for this version.
is_latest_versionbooleanBoolean flag that indicates whether this is the latest version of the workflow.
modified_atstring (date-time)The timestamp when the workflow version was last modified, in ISO 8601 date-time format.
schedule_configurationobjectThe schedule configuration for this workflow version.
trigger_modestringThe trigger mode for the workflow execution. (pattern: <code>.*</code>)
workflow_arnstringThe Amazon Resource Name (ARN) of the workflow that contains this version. (pattern: <code>arn:aws(?:-(?:cn|us-gov|iso|iso-b|iso-e|iso-f))?:airflow-serverless:([a-z]{2}-[a-z]+-[0-9]{1}):([0-9]{12}):workflow/([a-zA-Z0-9][a-zA-Z0-9.-_]{0,254}-[a-zA-Z0-9]{10})</code>)
workflow_versionstringThe version identifier of the workflow version. (pattern: <code>[a-z0-9]{32}</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_workflow_versionsselectregionLists all versions of a specified workflow, with optional pagination support.

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 all versions of a specified workflow, with optional pagination support.

SELECT
created_at,
definition_s3_location,
is_latest_version,
modified_at,
schedule_configuration,
trigger_mode,
workflow_arn,
workflow_version
FROM aws.mwaa_serverless.workflow_versions
WHERE region = '{{ region }}' -- required
;