EnvironmentConfig class
Constructors
-
EnvironmentConfig({Input<
String?> ? airflowUri, Input<String?> ? dagGcsPrefix, Input<EnvironmentConfigDataRetentionConfig?> ? dataRetentionConfig, Input<EnvironmentConfigDatabaseConfig?> ? databaseConfig, Input<bool?> ? enablePrivateBuildsOnly, Input<bool?> ? enablePrivateEnvironment, Input<EnvironmentConfigEncryptionConfig?> ? encryptionConfig, Input<String?> ? environmentSize, Input<String?> ? gkeCluster, Input<EnvironmentConfigMaintenanceWindow?> ? maintenanceWindow, Input<EnvironmentConfigMasterAuthorizedNetworksConfig?> ? masterAuthorizedNetworksConfig, Input<EnvironmentConfigNodeConfig?> ? nodeConfig, Input<int?> ? nodeCount, Input<EnvironmentConfigPrivateEnvironmentConfig?> ? privateEnvironmentConfig, Input<EnvironmentConfigRecoveryConfig?> ? recoveryConfig, Input<String?> ? resilienceMode, Input<EnvironmentConfigSoftwareConfig?> ? softwareConfig, Input<EnvironmentConfigWebServerConfig?> ? webServerConfig, Input<EnvironmentConfigWebServerNetworkAccessControl?> ? webServerNetworkAccessControl, Input<EnvironmentConfigWorkloadsConfig?> ? workloadsConfig}) -
Creates a new EnvironmentConfig.
airflowUriThe URI of the Apache Airflow Web UI hosted within thisdagGcsPrefixThe Cloud Storage prefix of the DAGs for this environment.dataRetentionConfigThe 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 newerdatabaseConfigThe 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-...enablePrivateBuildsOnlyOptional. 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.enablePrivateEnvironmentOptional. If true, a private Composer environment will be created.encryptionConfigThe encryption options for the Composer environment and its dependencies.environmentSizeThe size of the Cloud Composer environment. This field is supported for Cloud Composer environments in versions composer-2..-airflow-.. and newer.gkeClusterThe Kubernetes Engine cluster used to run this environment.maintenanceWindowThe configuration for Cloud Composer maintenance window.masterAuthorizedNetworksConfigConfiguration 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.nodeConfigThe configuration used for the Kubernetes Engine cluster.nodeCountThe 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-...privateEnvironmentConfigThe configuration used for the Private IP Cloud Composer environment.recoveryConfigThe recovery configuration settings for the Cloud Composer environmentresilienceModeWhether high resilience is enabled or not. This field is supported for Cloud Composer environments in versions composer-2.1.15-airflow-.. and newer.softwareConfigThe configuration settings for software inside the environment.webServerConfigThe configuration settings for the Airflow web server App Engine instance. This field is supported for Cloud Composer environments in versions composer-1..-airflow-...webServerNetworkAccessControlNetwork-level access control policy for the Airflow web server.workloadsConfigThe 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.const -
EnvironmentConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
airflowUri
→ Input<
String?> ? -
The URI of the Apache Airflow Web UI hosted within this
environment.
final
-
dagGcsPrefix
→ Input<
String?> ? -
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 this prefix.
final
-
databaseConfig
→ Input<
EnvironmentConfigDatabaseConfig?> ? -
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-..*.
final
-
dataRetentionConfig
→ Input<
EnvironmentConfigDataRetentionConfig?> ? -
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
final
-
enablePrivateBuildsOnly
→ Input<
bool?> ? -
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.
final
-
enablePrivateEnvironment
→ Input<
bool?> ? -
Optional. If true, a private Composer environment will be created.
final
-
encryptionConfig
→ Input<
EnvironmentConfigEncryptionConfig?> ? -
The encryption options for the Composer environment and its dependencies.
final
-
environmentSize
→ Input<
String?> ? -
The size of the Cloud Composer environment. This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.
final
-
gkeCluster
→ Input<
String?> ? -
The Kubernetes Engine cluster used to run this environment.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
maintenanceWindow
→ Input<
EnvironmentConfigMaintenanceWindow?> ? -
The configuration for Cloud Composer maintenance window.
final
-
masterAuthorizedNetworksConfig
→ Input<
EnvironmentConfigMasterAuthorizedNetworksConfig?> ? -
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.
final
-
nodeConfig
→ Input<
EnvironmentConfigNodeConfig?> ? -
The configuration used for the Kubernetes Engine cluster.
final
-
nodeCount
→ Input<
int?> ? -
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-..*.
final
-
privateEnvironmentConfig
→ Input<
EnvironmentConfigPrivateEnvironmentConfig?> ? -
The configuration used for the Private IP Cloud Composer environment.
final
-
recoveryConfig
→ Input<
EnvironmentConfigRecoveryConfig?> ? -
The recovery configuration settings for the Cloud Composer environment
final
-
resilienceMode
→ Input<
String?> ? -
Whether high resilience is enabled or not. This field is supported for Cloud Composer environments in versions composer-2.1.15-airflow-..* and newer.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
softwareConfig
→ Input<
EnvironmentConfigSoftwareConfig?> ? -
The configuration settings for software inside the environment.
final
-
webServerConfig
→ Input<
EnvironmentConfigWebServerConfig?> ? -
The configuration settings for the Airflow web server App Engine instance. This field is supported for Cloud Composer environments in versions composer-1..-airflow-..*.
final
-
webServerNetworkAccessControl
→ Input<
EnvironmentConfigWebServerNetworkAccessControl?> ? -
Network-level access control policy for the Airflow web server.
final
-
workloadsConfig
→ Input<
EnvironmentConfigWorkloadsConfig?> ? -
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.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited