Home icon

PythonOperator and BashOperator Now Available on Amazon Managed Workflows for Apache Airflow (Amazon MWAA) Serverless

Big Data Blog



This article announces that PythonOperator and BashOperator are now available on Amazon Managed Workflows for Apache Airflow (Amazon MWAA) Serverless, allowing custom code execution directly in the serverless runtime.

  • Run custom Python functions and shell scripts natively without provisioning Lambda, ECS, or other compute services
  • Package code bundles (up to 250 MB ZIP archives) and upload to S3 for workflow execution
  • Code bundles are snapshotted at workflow creation time and executed in isolated runtime environments
  • Tasks have access to S3, ECR, and CloudWatch; internet access requires VPC configuration
  • Includes walkthrough example: CSV-to-JSON conversion pipeline with validation using PythonOperator and BashOperator
  • YAML-based DAG definitions replace traditional Python DAG files in MWAA Serverless
  • boto3 and Python standard library pre-installed; additional dependencies bundled in ZIP archive

This feature simplifies data engineering workflows by enabling direct execution of custom code patterns without additional infrastructure overhead or latency.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Aug 18
2026
Amazon MWAA Serverless now supports PythonOperator and BashOperator
Sep 1
2026
Amazon MWAA supports Apache Airflow version 3.3.1
Aug 6
2026
Event-driven pipeline orchestration with Amazon MWAA and Airflow 3.0
Jul 24
2026
Amazon MWAA now supports Apache Airflow version 2.11.2

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.