GetEnvironmentConfig constructor

const GetEnvironmentConfig({
  1. required Input<String> airflowUri,
  2. required Input<String> dagGcsPrefix,
  3. required Input<List<GetEnvironmentConfigDataRetentionConfig>> dataRetentionConfigs,
  4. required Input<List<GetEnvironmentConfigDatabaseConfig>> databaseConfigs,
  5. required Input<bool> enablePrivateBuildsOnly,
  6. required Input<bool> enablePrivateEnvironment,
  7. required Input<List<GetEnvironmentConfigEncryptionConfig>> encryptionConfigs,
  8. required Input<String> environmentSize,
  9. required Input<String> gkeCluster,
  10. required Input<List<GetEnvironmentConfigMaintenanceWindow>> maintenanceWindows,
  11. required Input<List<GetEnvironmentConfigMasterAuthorizedNetworksConfig>> masterAuthorizedNetworksConfigs,
  12. required Input<List<GetEnvironmentConfigNodeConfig>> nodeConfigs,
  13. required Input<int> nodeCount,
  14. required Input<List<GetEnvironmentConfigPrivateEnvironmentConfig>> privateEnvironmentConfigs,
  15. required Input<List<GetEnvironmentConfigRecoveryConfig>> recoveryConfigs,
  16. required Input<String> resilienceMode,
  17. required Input<List<GetEnvironmentConfigSoftwareConfig>> softwareConfigs,
  18. required Input<List<GetEnvironmentConfigWebServerConfig>> webServerConfigs,
  19. required Input<List<GetEnvironmentConfigWebServerNetworkAccessControl>> webServerNetworkAccessControls,
  20. required Input<List<GetEnvironmentConfigWorkloadsConfig>> workloadsConfigs,
})

Creates a new GetEnvironmentConfig. airflowUri The URI of the Apache Airflow Web UI hosted within the dagGcsPrefix The Cloud Storage prefix of the DAGs for the environment. dataRetentionConfigs 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 databaseConfigs 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. encryptionConfigs 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 the environment. maintenanceWindows The configuration for Cloud Composer maintenance window. masterAuthorizedNetworksConfigs 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. nodeConfigs 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-... privateEnvironmentConfigs The configuration used for the Private IP Cloud Composer environment. recoveryConfigs 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. softwareConfigs The configuration settings for software inside the environment. webServerConfigs The configuration settings for the Airflow web server App Engine instance. This field is supported for Cloud Composer environments in versions composer-1..-airflow-... webServerNetworkAccessControls Network-level access control policy for the Airflow web server. workloadsConfigs 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 GetEnvironmentConfig({
  required this.airflowUri,
  required this.dagGcsPrefix,
  required this.dataRetentionConfigs,
  required this.databaseConfigs,
  required this.enablePrivateBuildsOnly,
  required this.enablePrivateEnvironment,
  required this.encryptionConfigs,
  required this.environmentSize,
  required this.gkeCluster,
  required this.maintenanceWindows,
  required this.masterAuthorizedNetworksConfigs,
  required this.nodeConfigs,
  required this.nodeCount,
  required this.privateEnvironmentConfigs,
  required this.recoveryConfigs,
  required this.resilienceMode,
  required this.softwareConfigs,
  required this.webServerConfigs,
  required this.webServerNetworkAccessControls,
  required this.workloadsConfigs,
});