# Class DatabaseConfig (1.22.0)

1.22.0 (latest) 1.21.0 1.20.0 1.19.0 1.18.0 1.17.5 1.16.1 1.15.1 1.14.0 1.13.1 1.12.2 1.11.1 1.10.0 1.9.1 1.8.0 1.7.1 1.6.1 1.5.0 1.4.4 1.3.2 1.2.1 1.1.0 1.0.0 0.1.3

    DatabaseConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The configuration of Cloud SQL instance that is used by the
Apache Airflow software.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `machine_type` | `str` Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used. Supported for Cloud Composer environments in versions composer-1.\\ \*.\*-airflow-\*.\*.\\\*. |
| `zone` | `str` Optional. The Compute Engine zone where the Airflow database is created. If zone is provided, it must be in the region selected for the environment. If zone is not provided, a zone is automatically selected. The zone can only be set during environment creation. Supported for Cloud Composer environments in versions composer-2.\\ \*.\*-airflow-\*.\*.\\\*. |