EnvironmentConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Configuration information for an environment.
Attributes
Name | Description |
gke_cluster |
str
Output only. The Kubernetes Engine cluster used to run this environment. |
dag_gcs_prefix |
str
Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud Storage objects reside in a flat namespace, a hierarchical file tree can be simulated using "/"-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with the given prefix. |
node_count |
int
The number of nodes in the Kubernetes Engine cluster that will be used to run this environment. |
software_config |
google.cloud.orchestration.airflow.service_v1beta1.types.SoftwareConfig
The configuration settings for software inside the environment. |
node_config |
google.cloud.orchestration.airflow.service_v1beta1.types.NodeConfig
The configuration used for the Kubernetes Engine cluster. |
private_environment_config |
google.cloud.orchestration.airflow.service_v1beta1.types.PrivateEnvironmentConfig
The configuration used for the Private IP Cloud Composer environment. |
web_server_network_access_control |
google.cloud.orchestration.airflow.service_v1beta1.types.WebServerNetworkAccessControl
Optional. The network-level access control policy for the Airflow web server. If unspecified, no network-level access restrictions will be applied. |
database_config |
google.cloud.orchestration.airflow.service_v1beta1.types.DatabaseConfig
Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software. |
web_server_config |
google.cloud.orchestration.airflow.service_v1beta1.types.WebServerConfig
Optional. The configuration settings for the Airflow web server App Engine instance. |
airflow_uri |
str
Output only. The URI of the Apache Airflow Web UI hosted within this environment (see `Airflow web interface `__). |
encryption_config |
google.cloud.orchestration.airflow.service_v1beta1.types.EncryptionConfig
Optional. The encryption options for the Cloud Composer environment and its dependencies. Cannot be updated. |
maintenance_window |
google.cloud.orchestration.airflow.service_v1beta1.types.MaintenanceWindow
Optional. The maintenance window is the period when Cloud Composer components may undergo maintenance. It is defined so that maintenance is not executed during peak hours or critical time periods. The system will not be under maintenance for every occurrence of this window, but when maintenance is planned, it will be scheduled during the window. The maintenance window period must encompass at least 12 hours per week. This may be split into multiple chunks, each with a size of at least 4 hours. If this value is omitted, Cloud Composer components may be subject to maintenance at any time. |
workloads_config |
google.cloud.orchestration.airflow.service_v1beta1.types.WorkloadsConfig
Optional. The workloads configuration settings for the GKE cluster associated with the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web server and workers workloads. This field is supported for Cloud Composer environments in versions composer-2.\ *.*-airflow-*.*.\* and newer. |
environment_size |
google.cloud.orchestration.airflow.service_v1beta1.types.EnvironmentConfig.EnvironmentSize
Optional. The size of the Cloud Composer environment. This field is supported for Cloud Composer environments in versions composer-2.\ *.*-airflow-*.*.\* and newer. |
Classes
EnvironmentSize
EnvironmentSize(value)
The size of the Cloud Composer environment.