

# Apache Airflow Parameter Support
<a name="supported-airflow-parameters"></a>

 Amazon MWAA Serverless leverages Apache Airflow as its workflow orchestration engine and supports YAML workflow definitions that are build using allowlisted [Supported operators](operators.md). To provide the serverless experience using these operators, Amazon MWAA Serverless supports a limited set of [Apache Airflow parameters](https://airflow.apache.org/docs/apache-airflow/3.0.6/core-concepts/params.html). While building your workflow definitions, we recommend you to refer to the follwoing paramter support: 

**Topics**
+ [DAG level parameters that Amazon MWAA Serverless will validate](#dag-object-attributes-validation)
+ [Task level parameters that Amazon MWAA Serverless will validate](#task-object-attributes-validation)
+ [DAG level paramters that are not supported by Amazon MWAA Serverless](#dag-object-attributes-not-supported)
+ [Task level paratmers that are not suppored by Amazon MWAA Serverless](#base-operator-attributes-not-supported)
+ [AWS base operator attributes](#aws-base-operator-attributes)

## DAG level parameters that Amazon MWAA Serverless will validate
<a name="dag-object-attributes-validation"></a>

 The following table lists the supported Apache Airflow DAG level parameters that are subject to validation by Amazon MWAA Serverless during a create or update of workflow. 


| Parameter | Validation Rule | Default Value | 
| --- | --- | --- | 
| dag\$1id | Must be a valid, non-empty string |  | 
| schedule | Must be a valid CRON expression format |  | 
| start\$1date | Must be in the future |  | 
| end\$1date | Must be after or equal to start\$1date |  | 
| max\$1active\$1runs | Must be smaller than account limit. Please refer to [Quotas for Amazon MWAA Serverless](mwaa-serverless-quotas.md) | 16 | 

## Task level parameters that Amazon MWAA Serverless will validate
<a name="task-object-attributes-validation"></a>

 The following table lists the Apache Airflow Task level parameters that are are subject to validation by Amazon MWAA Serverless during a task execution. 


| Parameter | Validation Rule | Default Value | 
| --- | --- | --- | 
| task\$1id | Must be a valid string |  | 
| retries | Must be between 0 to 3 | 1 | 
| retry\$1delay | Must be between 0 to 300 seconds | 300 seconds | 
| execution\$1timeout | Maximum 3600 seconds | 3600 seconds | 

## DAG level paramters that are not supported by Amazon MWAA Serverless
<a name="dag-object-attributes-not-supported"></a>

 The following table lists the Apache Airflow DAG level parameters that are not supported by Amazon MWAA Serverless and will be ignored. 


| Parameter | 
| --- | 
| dag\$1id | 
| template\$1searchpath | 
| template\$1undefined | 
| user\$1defined\$1macros | 
| user\$1defined\$1filters | 
| catchup | 
| access\$1control | 
| jinja\$1environment\$1kwargs | 
| render\$1template\$1as\$1native\$1obj | 
| tags | 
| owner\$1links | 
| auto\$1register | 
| fail\$1fast | 
| dag\$1display\$1name | 
| depends\$1on\$1past | 
| email\$1on\$1failure | 
| email\$1on\$1retry | 
| description | 
| max\$1consecutive\$1failed\$1dag\$1runs | 
| dagrun\$1timeout | 
| sla\$1miss\$1callback | 
| on\$1failure\$1callback | 
| on\$1success\$1callback | 
| is\$1paused\$1upon\$1creation | 

## Task level paratmers that are not suppored by Amazon MWAA Serverless
<a name="base-operator-attributes-not-supported"></a>

 The following table lists the Apache Airflow Task level parameters that are not supported by Amazon MWAA Serverless and will be ignored. 


| Parameter | 
| --- | 
| email\$1on\$1retry | 
| email\$1on\$1failure | 
| retry\$1exponential\$1backoff | 
| depends\$1on\$1past | 
| ignore\$1first\$1depends\$1on\$1past | 
| wait\$1for\$1downstream | 
| priority\$1weight | 
| sla | 
| max\$1active\$1tis\$1per\$1dag | 
| max\$1active\$1tis\$1per\$1dagrun | 
| task\$1concurrency | 
| resources | 
| run\$1as\$1user | 
| executor\$1config | 
| doc | 
| doc\$1md | 
| doc\$1rst | 
| doc\$1json | 
| doc\$1yaml | 
| task\$1display\$1name | 
| logger\$1name | 
| allow\$1nested\$1operators | 
| inlets | 
| outlets | 
| map\$1index\$1template | 
| email | 
| owner | 
| max\$1retry\$1delay | 
| on\$1execute\$1callback | 
| on\$1failure\$1callback | 
| on\$1success\$1callback | 
| on\$1retry\$1callback | 
| on\$1skipped\$1callback | 
| wait\$1for\$1past\$1depends\$1before\$1skipping | 
| do\$1xcom\$1push | 
| multiple\$1outputs | 
| start\$1date | 
| end\$1date | 
| weight\$1rule | 
| queue | 
| pool | 
| pool\$1slots | 
| pre\$1execute | 
| post\$1execute | 
| trigger\$1rule | 
| executor | 
| task\$1group | 

## AWS base operator attributes
<a name="aws-base-operator-attributes"></a>


| Parameter | Amazon MWAA | Amazon MWAA Serverless | 
| --- | --- | --- | 
| aws\$1conn\$1id | Supported | Controlled by service | 
| verify | Supported | Not supported | 
| botocore\$1config | Supported | Not supported | 
| region\$1name | Supported | Gets Region from environment | 