EnvironmentConfig constructor

const EnvironmentConfig({
  1. Input<String?>? airflowUri,
  2. Input<String?>? dagGcsPrefix,
  3. Input<EnvironmentConfigDataRetentionConfig?>? dataRetentionConfig,
  4. Input<EnvironmentConfigDatabaseConfig?>? databaseConfig,
  5. Input<bool?>? enablePrivateBuildsOnly,
  6. Input<bool?>? enablePrivateEnvironment,
  7. Input<EnvironmentConfigEncryptionConfig?>? encryptionConfig,
  8. Input<String?>? environmentSize,
  9. Input<String?>? gkeCluster,
  10. Input<EnvironmentConfigMaintenanceWindow?>? maintenanceWindow,
  11. Input<EnvironmentConfigMasterAuthorizedNetworksConfig?>? masterAuthorizedNetworksConfig,
  12. Input<EnvironmentConfigNodeConfig?>? nodeConfig,
  13. Input<int?>? nodeCount,
  14. Input<EnvironmentConfigPrivateEnvironmentConfig?>? privateEnvironmentConfig,
  15. Input<EnvironmentConfigRecoveryConfig?>? recoveryConfig,
  16. Input<String?>? resilienceMode,
  17. Input<EnvironmentConfigSoftwareConfig?>? softwareConfig,
  18. Input<EnvironmentConfigWebServerConfig?>? webServerConfig,
  19. Input<EnvironmentConfigWebServerNetworkAccessControl?>? webServerNetworkAccessControl,
  20. Input<EnvironmentConfigWorkloadsConfig?>? workloadsConfig,
})

Creates a new EnvironmentConfig. airflowUri The URI of the Apache Airflow Web UI hosted within this dagGcsPrefix The Cloud Storage prefix of the DAGs for this environment. dataRetentionConfig The configuration setting for Airflow data retention mechanism. This field is supported for Cloud Composer environments in versions composer-2.0.32-airflow-2.1.4. or newer databaseConfig The configuration of Cloud SQL instance that is used by the Apache Airflow software. This field is supported for Cloud Composer environments in versions composer-1..-airflow-... enablePrivateBuildsOnly Optional. If true, builds performed during operations that install Python packages have only private connectivity to Google services. If false, the builds also have access to the internet. enablePrivateEnvironment Optional. If true, a private Composer environment will be created. encryptionConfig The encryption options for the Composer environment and its dependencies. environmentSize The size of the Cloud Composer environment. This field is supported for Cloud Composer environments in versions composer-2..-airflow-.. and newer. gkeCluster The Kubernetes Engine cluster used to run this environment. maintenanceWindow The configuration for Cloud Composer maintenance window. masterAuthorizedNetworksConfig Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs. 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 The recovery configuration settings for the Cloud Composer environment resilienceMode Whether high resilience is enabled or not. This field is supported for Cloud Composer environments in versions composer-2.1.15-airflow-.. and newer. softwareConfig The configuration settings for software inside the environment. webServerConfig The configuration settings for the Airflow web server App Engine instance. This field is supported for Cloud Composer environments in versions composer-1..-airflow-... webServerNetworkAccessControl Network-level access control policy for the Airflow web server. workloadsConfig The workloads configuration settings for the GKE cluster associated with the Cloud Composer environment. Supported for Cloud Composer environments in versions composer-2..-airflow-.. and newer.

Implementation

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