EnvironmentConfig constructor

const EnvironmentConfig({
  1. Input<DatabaseConfig>? databaseConfig,
  2. Input<EncryptionConfig>? encryptionConfig,
  3. Input<EnvironmentConfigEnvironmentSize>? environmentSize,
  4. Input<MaintenanceWindow>? maintenanceWindow,
  5. Input<MasterAuthorizedNetworksConfig>? masterAuthorizedNetworksConfig,
  6. Input<NodeConfig>? nodeConfig,
  7. Input<int>? nodeCount,
  8. Input<PrivateEnvironmentConfig>? privateEnvironmentConfig,
  9. Input<RecoveryConfig>? recoveryConfig,
  10. Input<EnvironmentConfigResilienceMode>? resilienceMode,
  11. Input<SoftwareConfig>? softwareConfig,
  12. Input<WebServerConfig>? webServerConfig,
  13. Input<WebServerNetworkAccessControl>? webServerNetworkAccessControl,
  14. Input<WorkloadsConfig>? workloadsConfig,
})

Creates a new EnvironmentConfig. databaseConfig Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software. encryptionConfig Optional. The encryption options for the Cloud Composer environment and its dependencies. Cannot be updated. environmentSize Optional. The size of the Cloud Composer environment. This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer. 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, the default value for maintenance window will be applied. The default value is Saturday and Sunday 00-06 GMT. masterAuthorizedNetworksConfig Optional. The configuration options for GKE cluster master authorized networks. By default master authorized networks feature is: - in case of private environment: enabled with no external networks allowlisted. - in case of public environment: disabled. nodeConfig The configuration used for the Kubernetes Engine cluster. nodeCount The number of nodes in the Kubernetes Engine cluster that will be used to run this environment. This field is supported for Cloud Composer environments in versions composer-1..-airflow-... privateEnvironmentConfig The configuration used for the Private IP Cloud Composer environment. recoveryConfig Optional. The Recovery settings configuration of an environment. This field is supported for Cloud Composer environments in versions composer-2..-airflow-.. and newer. resilienceMode Optional. Resilience mode of the Cloud Composer Environment. This field is supported for Cloud Composer environments in versions composer-2.2.0-airflow-..* and newer. softwareConfig The configuration settings for software inside the environment. webServerConfig Optional. The configuration settings for the Airflow web server App Engine instance. webServerNetworkAccessControl Optional. The network-level access control policy for the Airflow web server. If unspecified, no network-level access restrictions will be applied. 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.

Implementation

const EnvironmentConfig({
  this.databaseConfig,
  this.encryptionConfig,
  this.environmentSize,
  this.maintenanceWindow,
  this.masterAuthorizedNetworksConfig,
  this.nodeConfig,
  this.nodeCount,
  this.privateEnvironmentConfig,
  this.recoveryConfig,
  this.resilienceMode,
  this.softwareConfig,
  this.webServerConfig,
  this.webServerNetworkAccessControl,
  this.workloadsConfig,
});