v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14159484.0 KB

Creates a new workflow in Amazon Managed Workflows for Apache Airflow Serverless. This operation initializes a workflow with the specified configuration including the workflow definition, execution role, and optional settings for encryption, logging, and networking. You must provide the workflow definition as a YAML file stored in Amazon S3 that defines the DAG structure using supported Amazon Web Services operators. Amazon Managed Workflows for Apache Airflow Serverless automatically creates the first version of the workflow and sets up the necessary execution environment with multi-tenant isolation and security controls.

post/#X-Amz-Target=AmazonMWAAServerless.CreateWorkflow

Headers

X-Amz-Target'AmazonMWAAServerless.CreateWorkflow' required

Request body

Namestring required

The name of the workflow. You must use unique workflow names within your Amazon Web Services account. The service generates a unique identifier that is appended to ensure temporal uniqueness across the account lifecycle.

ClientTokenstring

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This token prevents duplicate workflow creation requests.

RoleArnstring required

The Amazon Resource Name (ARN) of the IAM role that Amazon Managed Workflows for Apache Airflow Serverless assumes when executing the workflow. This role must have the necessary permissions to access the required Amazon Web Services services and resources that your workflow tasks will interact with. The role is used for task execution in the isolated, multi-tenant environment and should follow the principle of least privilege. Amazon Managed Workflows for Apache Airflow Serverless validates role access during workflow creation but runtime permission checks are performed by the target services.

Descriptionstring

An optional description of the workflow that you can use to provide additional context about the workflow's purpose and functionality.

EngineVersioninteger

The version of the Amazon Managed Workflows for Apache Airflow Serverless engine that you want to use for this workflow. This determines the feature set, supported operators, and execution environment capabilities available to your workflow. Amazon Managed Workflows for Apache Airflow Serverless maintains backward compatibility across versions while introducing new features and improvements. Currently supports version 1 with plans for additional versions as the service evolves.

Tagsobject

A map of tags to assign to the workflow resource. Tags are key-value pairs that are used for resource organization and cost allocation.

TriggerModestring

The trigger mode for the workflow execution.

Response

Success

WorkflowArnstring required

The Amazon Resource Name (ARN) of the newly created workflow. This ARN uniquely identifies the workflow resource.

CreatedAtstring date-time

The timestamp when the workflow was created, in ISO 8601 date-time format.

RevisionIdstring

A unique identifier for this revision of the workflow configuration. This ID changes when the workflow is updated and you can use it for optimistic concurrency control in update operations. The revision ID helps prevent conflicting updates and ensures that updates are applied to the expected version of the workflow configuration.

WorkflowStatus'READY' | 'DELETING'

The current status of the workflow. Possible values are <code>READY</code> (workflow is ready to run) and <code>DELETING</code> (workflow is being deleted).

WorkflowVersionstring

The version identifier of the workflow. This is a service-generated alphanumeric string that uniquely identifies this version of the workflow. Amazon Managed Workflows for Apache Airflow Serverless uses a version-first approach where each workflow can have multiple immutable versions, which allows you to maintain different configurations and roll back to previous versions as needed. The version identifier is used in ARNs and API operations to reference specific workflow versions.

IsLatestVersionboolean

A Boolean flag that indicates whether this workflow version is the latest version of the workflow.

WarningsString[]

Warning messages generated during workflow creation.

All 15 operations