dataproc library

Dataproc: classic/GKE clusters, classic jobs, autoscaling policies, workflow templates, Metastore, GDC service instances / application environments, and Serverless session templates. Cluster / job / GDC / Interactive session paths are never_apply for apply-smoke. Workflow templates are reusable DAG metadata — create does not start a cluster.

Classes

AppConstant<T>
A value the Stack hands to application code as a static const in the generated AppExports file — known when synth runs, so the app compiles against it.
AppExports
Where synth writes the Dart file application code imports: the Stack's constants, as the static const members of <name>Constants, and a typed reader of its Terraform outputs, <name>Outputs.
AttributeRef<T>
Public for sealed pattern matching, but constructor is private — only TfRef.attribute() may construct instances.
DartDefineOutput
An output whose value is the client build's --dart-define file, registered with Stack.addDartDefineOutput.
Data
Base of every user-instantiable Terraform data block.
DataGoogleDataprocAutoscalingPolicyIamPolicy
Factory wrapper for google_dataproc_autoscaling_policy_iam_policy.
DataGoogleDataprocClusterIamPolicy
Factory wrapper for google_dataproc_cluster_iam_policy.
DataGoogleDataprocJobIamPolicy
Factory wrapper for google_dataproc_job_iam_policy.
DataGoogleDataprocMetastoreDatabaseIamPolicy
Factory wrapper for google_dataproc_metastore_database_iam_policy.
DataGoogleDataprocMetastoreFederationIamPolicy
Factory wrapper for google_dataproc_metastore_federation_iam_policy.
DataGoogleDataprocMetastoreService
Factory wrapper for google_dataproc_metastore_service.
DataGoogleDataprocMetastoreServiceIamPolicy
Factory wrapper for google_dataproc_metastore_service_iam_policy.
DataGoogleDataprocMetastoreTableIamPolicy
Factory wrapper for google_dataproc_metastore_table_iam_policy.
DataprocAutoscalingPolicyBasicAlgorithm
Typed helper for the basic_algorithm block of google_dataproc_autoscaling_policy (derived from provider schema).
DataprocAutoscalingPolicyIamBindingCondition
Typed helper for the condition block of google_dataproc_autoscaling_policy_iam_binding (derived from provider schema).
DataprocAutoscalingPolicyIamMemberCondition
Typed helper for the condition block of google_dataproc_autoscaling_policy_iam_member (derived from provider schema).
DataprocAutoscalingPolicySecondaryWorkerConfig
Typed helper for the secondary_worker_config block of google_dataproc_autoscaling_policy (derived from provider schema).
DataprocAutoscalingPolicyWorkerConfig
Typed helper for the worker_config block of google_dataproc_autoscaling_policy (derived from provider schema).
DataprocAutoscalingPolicyYarnConfig
Typed helper for the basic_algorithm.yarn_config block of google_dataproc_autoscaling_policy (derived from provider schema).
DataprocBatchAuthenticationConfig
Typed helper for the environment_config.execution_config.authentication_config block of google_dataproc_batch (derived from provider schema).
DataprocBatchAutotuningConfig
Typed helper for the runtime_config.autotuning_config block of google_dataproc_batch (derived from provider schema).
DataprocBatchEnvironmentConfig
Typed helper for the environment_config block of google_dataproc_batch (derived from provider schema).
DataprocBatchExecutionConfig
Typed helper for the environment_config.execution_config block of google_dataproc_batch (derived from provider schema).
DataprocBatchNetwork
At most one of network_uri, subnetwork_uri on the environment_config.execution_config block of google_dataproc_batch: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
DataprocBatchNetworkSubnetworkUri
The DataprocBatchNetwork.subnetworkUri choice: sets subnetwork_uri.
DataprocBatchNetworkUri
The DataprocBatchNetwork.networkUri choice: sets network_uri.
DataprocBatchPeripheralsConfig
Typed helper for the environment_config.peripherals_config block of google_dataproc_batch (derived from provider schema).
DataprocBatchPysparkWorkload
pyspark_batch — PySpark driver.
DataprocBatchRuntimeConfig
Typed helper for the runtime_config block of google_dataproc_batch (derived from provider schema).
DataprocBatchSparkHistoryServerConfig
Typed helper for the environment_config.peripherals_config.spark_history_server_config block of google_dataproc_batch (derived from provider schema).
DataprocBatchSparkRWorkload
spark_r_batch — SparkR driver.
DataprocBatchSparkSqlWorkload
spark_sql_batch — Spark SQL script.
DataprocBatchSparkWorkload
spark_batch — JVM Spark. Provide exactly one of mainClass / mainJarFileUri (provider exactly_one_of).
DataprocBatchWorkload
Exactly one Dataproc Serverless batch workload block.
DataprocClusterAccelerators
Typed helper for the cluster_config.master_config.accelerators block of google_dataproc_cluster (derived from provider schema). Shared by every block of this shape in the resource.
DataprocClusterAttachedDiskConfig
Typed helper for the cluster_config.master_config.disk_config.attached_disk_config block of google_dataproc_cluster (derived from provider schema). Shared by every block of this shape in the resource.
DataprocClusterAutoscaling
Typed helper for the virtual_cluster_config.kubernetes_cluster_config.gke_cluster_config.node_pool_target.node_pool_config.autoscaling block of google_dataproc_cluster (derived from provider schema).
DataprocClusterAutoscalingConfig
Typed helper for the cluster_config.autoscaling_config block of google_dataproc_cluster (derived from provider schema).
DataprocClusterAuxiliaryNodeGroups
Typed helper for the cluster_config.auxiliary_node_groups block of google_dataproc_cluster (derived from provider schema).
DataprocClusterAuxiliaryServicesConfig
Typed helper for the virtual_cluster_config.auxiliary_services_config block of google_dataproc_cluster (derived from provider schema).
DataprocClusterAuxiliaryServicesConfigMetastoreConfig
Typed helper for the virtual_cluster_config.auxiliary_services_config.metastore_config block of google_dataproc_cluster (derived from provider schema).
DataprocClusterConfidentialInstanceConfig
Typed helper for the cluster_config.gce_cluster_config.confidential_instance_config block of google_dataproc_cluster (derived from provider schema).
DataprocClusterConfig
Typed helper for the cluster_config block of google_dataproc_cluster (derived from provider schema).
DataprocClusterDataprocMetricConfig
Typed helper for the cluster_config.dataproc_metric_config block of google_dataproc_cluster (derived from provider schema).
DataprocClusterDiskConfig
Typed helper for the cluster_config.master_config.disk_config block of google_dataproc_cluster (derived from provider schema). Shared by every block of this shape in the resource.
DataprocClusterEncryptionConfig
Typed helper for the cluster_config.encryption_config block of google_dataproc_cluster (derived from provider schema).
DataprocClusterEndpointConfig
Typed helper for the cluster_config.endpoint_config block of google_dataproc_cluster (derived from provider schema).
DataprocClusterGceClusterConfig
Typed helper for the cluster_config.gce_cluster_config block of google_dataproc_cluster (derived from provider schema).
DataprocClusterGkeClusterConfig
Typed helper for the virtual_cluster_config.kubernetes_cluster_config.gke_cluster_config block of google_dataproc_cluster (derived from provider schema).
DataprocClusterIamBindingCondition
Typed helper for the condition block of google_dataproc_cluster_iam_binding (derived from provider schema).
DataprocClusterIamMemberCondition
Typed helper for the condition block of google_dataproc_cluster_iam_member (derived from provider schema).
DataprocClusterIdentityConfig
Typed helper for the cluster_config.security_config.identity_config block of google_dataproc_cluster (derived from provider schema).
DataprocClusterInitializationAction
Typed helper for the cluster_config.initialization_action block of google_dataproc_cluster (derived from provider schema).
DataprocClusterInstanceSelectionList
Typed helper for the cluster_config.master_config.instance_flexibility_policy.instance_selection_list block of google_dataproc_cluster (derived from provider schema). Shared by every block of this shape in the resource.
DataprocClusterKerberosConfig
Typed helper for the cluster_config.security_config.kerberos_config block of google_dataproc_cluster (derived from provider schema).
DataprocClusterKubernetesClusterConfig
Typed helper for the virtual_cluster_config.kubernetes_cluster_config block of google_dataproc_cluster (derived from provider schema).
DataprocClusterKubernetesSoftwareConfig
Typed helper for the virtual_cluster_config.kubernetes_cluster_config.kubernetes_software_config block of google_dataproc_cluster (derived from provider schema).
DataprocClusterLifecycleConfig
Typed helper for the cluster_config.lifecycle_config block of google_dataproc_cluster (derived from provider schema).
DataprocClusterMasterConfig
Typed helper for the cluster_config.master_config block of google_dataproc_cluster (derived from provider schema).
DataprocClusterMasterConfigInstanceFlexibilityPolicy
Typed helper for the cluster_config.master_config.instance_flexibility_policy block of google_dataproc_cluster (derived from provider schema). Shared by every block of this shape in the resource.
DataprocClusterMetastoreConfig
Typed helper for the cluster_config.metastore_config block of google_dataproc_cluster (derived from provider schema).
DataprocClusterMetrics
Typed helper for the cluster_config.dataproc_metric_config.metrics block of google_dataproc_cluster (derived from provider schema).
DataprocClusterNodeGroup
Typed helper for the cluster_config.auxiliary_node_groups.node_group block of google_dataproc_cluster (derived from provider schema).
DataprocClusterNodeGroupAffinity
Typed helper for the cluster_config.gce_cluster_config.node_group_affinity block of google_dataproc_cluster (derived from provider schema).
DataprocClusterNodeGroupConfig
Typed helper for the cluster_config.auxiliary_node_groups.node_group.node_group_config block of google_dataproc_cluster (derived from provider schema).
DataprocClusterNodeGroupConfigDiskConfig
Typed helper for the cluster_config.auxiliary_node_groups.node_group.node_group_config.disk_config block of google_dataproc_cluster (derived from provider schema).
DataprocClusterNodePoolConfig
Typed helper for the virtual_cluster_config.kubernetes_cluster_config.gke_cluster_config.node_pool_target.node_pool_config block of google_dataproc_cluster (derived from provider schema).
DataprocClusterNodePoolConfigConfig
Typed helper for the virtual_cluster_config.kubernetes_cluster_config.gke_cluster_config.node_pool_target.node_pool_config.config block of google_dataproc_cluster (derived from provider schema).
DataprocClusterNodePoolTarget
Typed helper for the virtual_cluster_config.kubernetes_cluster_config.gke_cluster_config.node_pool_target block of google_dataproc_cluster (derived from provider schema).
DataprocClusterPreemptibleWorkerConfig
Typed helper for the cluster_config.preemptible_worker_config block of google_dataproc_cluster (derived from provider schema).
DataprocClusterPreemptibleWorkerConfigInstanceFlexibilityPolicy
Typed helper for the cluster_config.preemptible_worker_config.instance_flexibility_policy block of google_dataproc_cluster (derived from provider schema).
DataprocClusterProvisioningModelMix
Typed helper for the cluster_config.preemptible_worker_config.instance_flexibility_policy.provisioning_model_mix block of google_dataproc_cluster (derived from provider schema).
DataprocClusterReservationAffinity
Typed helper for the cluster_config.gce_cluster_config.reservation_affinity block of google_dataproc_cluster (derived from provider schema).
DataprocClusterSecurityConfig
Typed helper for the cluster_config.security_config block of google_dataproc_cluster (derived from provider schema).
DataprocClusterShieldedInstanceConfig
Typed helper for the cluster_config.gce_cluster_config.shielded_instance_config block of google_dataproc_cluster (derived from provider schema).
DataprocClusterSoftwareConfig
Typed helper for the cluster_config.software_config block of google_dataproc_cluster (derived from provider schema).
DataprocClusterSparkHistoryServerConfig
Typed helper for the virtual_cluster_config.auxiliary_services_config.spark_history_server_config block of google_dataproc_cluster (derived from provider schema).
DataprocClusterVirtualClusterConfig
Typed helper for the virtual_cluster_config block of google_dataproc_cluster (derived from provider schema).
DataprocClusterWorkerConfig
Typed helper for the cluster_config.worker_config block of google_dataproc_cluster (derived from provider schema).
DataprocGdcApplicationEnvironmentSparkApplicationEnvironmentConfig
Typed helper for the spark_application_environment_config block of google_dataproc_gdc_application_environment (derived from provider schema).
DataprocGdcServiceInstanceGdceCluster
Typed helper for the gdce_cluster block of google_dataproc_gdc_service_instance (derived from provider schema).
DataprocGdcServiceInstanceSparkServiceInstanceConfig
Typed helper for the spark_service_instance_config block of google_dataproc_gdc_service_instance (derived from provider schema).
DataprocGdcSparkApplicationConfig
Typed helper for the spark_application_config block of google_dataproc_gdc_spark_application (derived from provider schema).
DataprocGdcSparkApplicationPysparkApplicationConfig
Typed helper for the pyspark_application_config block of google_dataproc_gdc_spark_application (derived from provider schema).
DataprocGdcSparkApplicationQueryList
Typed helper for the spark_sql_application_config.query_list block of google_dataproc_gdc_spark_application (derived from provider schema).
DataprocGdcSparkApplicationSparkRApplicationConfig
Typed helper for the spark_r_application_config block of google_dataproc_gdc_spark_application (derived from provider schema).
DataprocGdcSparkApplicationSparkSqlApplicationConfig
Typed helper for the spark_sql_application_config block of google_dataproc_gdc_spark_application (derived from provider schema).
DataprocGdcSparkApplicationWorkload
Exactly one of pyspark_application_config, spark_application_config, spark_sql_application_config, spark_r_application_config on google_dataproc_gdc_spark_application: the provider rejects none and more than one, so each variant sets one of them.
DataprocGdcSparkApplicationWorkloadPysparkApplicationConfig
The DataprocGdcSparkApplicationWorkload.pysparkApplicationConfig choice: sets pyspark_application_config.
DataprocGdcSparkApplicationWorkloadSparkApplicationConfig
The DataprocGdcSparkApplicationWorkload.sparkApplicationConfig choice: sets spark_application_config.
DataprocGdcSparkApplicationWorkloadSparkRApplicationConfig
The DataprocGdcSparkApplicationWorkload.sparkRApplicationConfig choice: sets spark_r_application_config.
DataprocGdcSparkApplicationWorkloadSparkSqlApplicationConfig
The DataprocGdcSparkApplicationWorkload.sparkSqlApplicationConfig choice: sets spark_sql_application_config.
DataprocJobHadoopConfig
Typed helper for the hadoop_config block of google_dataproc_job (derived from provider schema).
DataprocJobHiveConfig
Typed helper for the hive_config block of google_dataproc_job (derived from provider schema).
DataprocJobIamBindingCondition
Typed helper for the condition block of google_dataproc_job_iam_binding (derived from provider schema).
DataprocJobIamMemberCondition
Typed helper for the condition block of google_dataproc_job_iam_member (derived from provider schema).
DataprocJobLoggingConfig
Typed helper for the hadoop_config.logging_config block of google_dataproc_job (derived from provider schema). Shared by every block of this shape in the resource.
DataprocJobPigConfig
Typed helper for the pig_config block of google_dataproc_job (derived from provider schema).
DataprocJobPlacement
Typed helper for the placement block of google_dataproc_job (derived from provider schema).
DataprocJobPrestoConfig
Typed helper for the presto_config block of google_dataproc_job (derived from provider schema).
DataprocJobPysparkConfig
Typed helper for the pyspark_config block of google_dataproc_job (derived from provider schema).
DataprocJobReference
Typed helper for the reference block of google_dataproc_job (derived from provider schema).
DataprocJobScheduling
Typed helper for the scheduling block of google_dataproc_job (derived from provider schema).
DataprocJobSparkConfig
Typed helper for the spark_config block of google_dataproc_job (derived from provider schema).
DataprocJobSparksqlConfig
Typed helper for the sparksql_config block of google_dataproc_job (derived from provider schema).
DataprocMetastoreDatabaseIamBindingCondition
Typed helper for the condition block of google_dataproc_metastore_database_iam_binding (derived from provider schema).
DataprocMetastoreDatabaseIamMemberCondition
Typed helper for the condition block of google_dataproc_metastore_database_iam_member (derived from provider schema).
DataprocMetastoreFederationBackend
One backend_metastores entry on a federation.
DataprocMetastoreFederationIamBindingCondition
Typed helper for the condition block of google_dataproc_metastore_federation_iam_binding (derived from provider schema).
DataprocMetastoreFederationIamMemberCondition
Typed helper for the condition block of google_dataproc_metastore_federation_iam_member (derived from provider schema).
DataprocMetastoreServiceAutoscalingConfig
Typed helper for the scaling_config.autoscaling_config block of google_dataproc_metastore_service (derived from provider schema).
DataprocMetastoreServiceAuxiliaryVersions
Typed helper for the hive_metastore_config.auxiliary_versions block of google_dataproc_metastore_service (derived from provider schema).
DataprocMetastoreServiceCapacity
At most one of tier, scaling_config on google_dataproc_metastore_service: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
DataprocMetastoreServiceCapacityScalingConfig
The DataprocMetastoreServiceCapacity.scalingConfig choice: sets scaling_config.
DataprocMetastoreServiceCapacityTier
The DataprocMetastoreServiceCapacity.tier choice: sets tier.
DataprocMetastoreServiceConsumers
Typed helper for the network_config.consumers block of google_dataproc_metastore_service (derived from provider schema).
DataprocMetastoreServiceDataCatalogConfig
Typed helper for the metadata_integration.data_catalog_config block of google_dataproc_metastore_service (derived from provider schema).
DataprocMetastoreServiceEncryptionConfig
Typed helper for the encryption_config block of google_dataproc_metastore_service (derived from provider schema).
DataprocMetastoreServiceHiveMetastoreConfig
Typed helper for the hive_metastore_config block of google_dataproc_metastore_service (derived from provider schema).
DataprocMetastoreServiceIamBindingCondition
Typed helper for the condition block of google_dataproc_metastore_service_iam_binding (derived from provider schema).
DataprocMetastoreServiceIamMemberCondition
Typed helper for the condition block of google_dataproc_metastore_service_iam_member (derived from provider schema).
DataprocMetastoreServiceKerberosConfig
Typed helper for the hive_metastore_config.kerberos_config block of google_dataproc_metastore_service (derived from provider schema).
DataprocMetastoreServiceKeytab
Typed helper for the hive_metastore_config.kerberos_config.keytab block of google_dataproc_metastore_service (derived from provider schema).
DataprocMetastoreServiceLimitConfig
Typed helper for the scaling_config.autoscaling_config.limit_config block of google_dataproc_metastore_service (derived from provider schema).
DataprocMetastoreServiceMaintenanceWindow
Typed helper for the maintenance_window block of google_dataproc_metastore_service (derived from provider schema).
DataprocMetastoreServiceMetadataIntegration
Typed helper for the metadata_integration block of google_dataproc_metastore_service (derived from provider schema).
DataprocMetastoreServiceNetworkConfig
Typed helper for the network_config block of google_dataproc_metastore_service (derived from provider schema).
DataprocMetastoreServiceScalingConfig
Exactly one of instance_size, scaling_factor, autoscaling_config on the scaling_config block of google_dataproc_metastore_service: the provider rejects none and more than one, so each variant sets one of them.
DataprocMetastoreServiceScalingConfigAutoscalingConfig
The DataprocMetastoreServiceScalingConfig.autoscalingConfig choice: sets autoscaling_config.
DataprocMetastoreServiceScalingConfigInstanceSize
The DataprocMetastoreServiceScalingConfig.instanceSize choice: sets instance_size.
DataprocMetastoreServiceScalingConfigScalingFactor
The DataprocMetastoreServiceScalingConfig.scalingFactor choice: sets scaling_factor.
DataprocMetastoreServiceScheduledBackup
Typed helper for the scheduled_backup block of google_dataproc_metastore_service (derived from provider schema).
DataprocMetastoreServiceTelemetryConfig
Typed helper for the telemetry_config block of google_dataproc_metastore_service (derived from provider schema).
DataprocMetastoreTableIamBindingCondition
Typed helper for the condition block of google_dataproc_metastore_table_iam_binding (derived from provider schema).
DataprocMetastoreTableIamMemberCondition
Typed helper for the condition block of google_dataproc_metastore_table_iam_member (derived from provider schema).
DataprocSessionTemplateAuthenticationConfig
Typed helper for the environment_config.execution_config.authentication_config block of google_dataproc_session_template (derived from provider schema).
DataprocSessionTemplateEnvironmentConfig
Typed helper for the environment_config block of google_dataproc_session_template (derived from provider schema).
DataprocSessionTemplateExecutionConfig
Typed helper for the environment_config.execution_config block of google_dataproc_session_template (derived from provider schema).
DataprocSessionTemplateJupyterSession
Typed helper for the jupyter_session block of google_dataproc_session_template (derived from provider schema).
DataprocSessionTemplatePeripheralsConfig
Typed helper for the environment_config.peripherals_config block of google_dataproc_session_template (derived from provider schema).
DataprocSessionTemplateRuntimeConfig
Typed helper for the runtime_config block of google_dataproc_session_template (derived from provider schema).
DataprocSessionTemplateSparkConnectSession
Typed helper for the spark_connect_session block of google_dataproc_session_template (derived from provider schema).
DataprocSessionTemplateSparkHistoryServerConfig
Typed helper for the environment_config.peripherals_config.spark_history_server_config block of google_dataproc_session_template (derived from provider schema).
DataprocWorkflowTemplateAccelerators
Typed helper for the placement.managed_cluster.config.master_config.accelerators block of google_dataproc_workflow_template (derived from provider schema). Shared by every block of this shape in the resource.
DataprocWorkflowTemplateAttachedDiskConfig
Typed helper for the placement.managed_cluster.config.master_config.disk_config.attached_disk_config block of google_dataproc_workflow_template (derived from provider schema). Shared by every block of this shape in the resource.
DataprocWorkflowTemplateAutoscalingConfig
Typed helper for the placement.managed_cluster.config.autoscaling_config block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplateClusterSelector
Typed helper for the placement.cluster_selector block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplateConfig
Typed helper for the placement.managed_cluster.config block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplateConfigEncryptionConfig
Typed helper for the placement.managed_cluster.config.encryption_config block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplateDiskConfig
Typed helper for the placement.managed_cluster.config.master_config.disk_config block of google_dataproc_workflow_template (derived from provider schema). Shared by every block of this shape in the resource.
DataprocWorkflowTemplateEncryptionConfig
Typed helper for the encryption_config block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplateEndpointConfig
Typed helper for the placement.managed_cluster.config.endpoint_config block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplateGceClusterConfig
Typed helper for the placement.managed_cluster.config.gce_cluster_config block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplateHadoopJob
Typed helper for the jobs.hadoop_job block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplateHiveJob
Typed helper for the jobs.hive_job block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplateInitializationActions
Typed helper for the placement.managed_cluster.config.initialization_actions block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplateInstanceSelectionList
Typed helper for the placement.managed_cluster.config.master_config.instance_flexibility_policy.instance_selection_list block of google_dataproc_workflow_template (derived from provider schema). Shared by every block of this shape in the resource.
DataprocWorkflowTemplateJobs
Typed helper for the jobs block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplateKerberosConfig
Typed helper for the placement.managed_cluster.config.security_config.kerberos_config block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplateLifecycleConfig
Typed helper for the placement.managed_cluster.config.lifecycle_config block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplateLoggingConfig
Typed helper for the jobs.hadoop_job.logging_config block of google_dataproc_workflow_template (derived from provider schema). Shared by every block of this shape in the resource.
DataprocWorkflowTemplateManagedCluster
Typed helper for the placement.managed_cluster block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplateMasterConfig
Typed helper for the placement.managed_cluster.config.master_config block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplateMasterConfigInstanceFlexibilityPolicy
Typed helper for the placement.managed_cluster.config.master_config.instance_flexibility_policy block of google_dataproc_workflow_template (derived from provider schema). Shared by every block of this shape in the resource.
DataprocWorkflowTemplateNodeGroupAffinity
Typed helper for the placement.managed_cluster.config.gce_cluster_config.node_group_affinity block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplateParameters
Typed helper for the parameters block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplatePigJob
Typed helper for the jobs.pig_job block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplatePlacement
Typed helper for the placement block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplatePrestoJob
Typed helper for the jobs.presto_job block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplateProvisioningModelMix
Typed helper for the placement.managed_cluster.config.secondary_worker_config.instance_flexibility_policy.provisioning_model_mix block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplatePysparkJob
Typed helper for the jobs.pyspark_job block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplateQueryList
Typed helper for the jobs.hive_job.query_list block of google_dataproc_workflow_template (derived from provider schema). Shared by every block of this shape in the resource.
DataprocWorkflowTemplateRegex
Typed helper for the parameters.validation.regex block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplateReservationAffinity
Typed helper for the placement.managed_cluster.config.gce_cluster_config.reservation_affinity block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplateScheduling
Typed helper for the jobs.scheduling block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplateSecondaryWorkerConfig
Typed helper for the placement.managed_cluster.config.secondary_worker_config block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplateSecondaryWorkerConfigInstanceFlexibilityPolicy
Typed helper for the placement.managed_cluster.config.secondary_worker_config.instance_flexibility_policy block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplateSecurityConfig
Typed helper for the placement.managed_cluster.config.security_config block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplateShieldedInstanceConfig
Typed helper for the placement.managed_cluster.config.gce_cluster_config.shielded_instance_config block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplateSoftwareConfig
Typed helper for the placement.managed_cluster.config.software_config block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplateSparkJob
Typed helper for the jobs.spark_job block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplateSparkRJob
Typed helper for the jobs.spark_r_job block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplateSparkSqlJob
Typed helper for the jobs.spark_sql_job block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplateValidation
Typed helper for the parameters.validation block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplateValues
Typed helper for the parameters.validation.values block of google_dataproc_workflow_template (derived from provider schema).
DataprocWorkflowTemplateWorkerConfig
Typed helper for the placement.managed_cluster.config.worker_config block of google_dataproc_workflow_template (derived from provider schema).
DataRef<T>
Public for sealed pattern matching, but constructor is private — only TfRef.data() may construct instances.
EnvironmentConstant
The AppConstant.fromEnvironment choice.
GcsBackend
terraform { backend "gcs" { ... } } configuration.
GoogleDataprocAutoscalingPolicy
Factory wrapper for google_dataproc_autoscaling_policy.
GoogleDataprocAutoscalingPolicyIamBinding
Factory wrapper for google_dataproc_autoscaling_policy_iam_binding.
GoogleDataprocAutoscalingPolicyIamMember
Factory wrapper for google_dataproc_autoscaling_policy_iam_member.
GoogleDataprocAutoscalingPolicyIamPolicy
Factory wrapper for google_dataproc_autoscaling_policy_iam_policy.
GoogleDataprocBatch
Factory wrapper for google_dataproc_batch.
GoogleDataprocCluster
Factory wrapper for google_dataproc_cluster.
GoogleDataprocClusterIamBinding
Factory wrapper for google_dataproc_cluster_iam_binding.
GoogleDataprocClusterIamMember
Factory wrapper for google_dataproc_cluster_iam_member.
GoogleDataprocClusterIamPolicy
Factory wrapper for google_dataproc_cluster_iam_policy.
GoogleDataprocGdcApplicationEnvironment
Factory wrapper for google_dataproc_gdc_application_environment.
GoogleDataprocGdcServiceInstance
Factory wrapper for google_dataproc_gdc_service_instance.
GoogleDataprocGdcSparkApplication
Factory wrapper for google_dataproc_gdc_spark_application.
GoogleDataprocJob
Factory wrapper for google_dataproc_job.
GoogleDataprocJobIamBinding
Factory wrapper for google_dataproc_job_iam_binding.
GoogleDataprocJobIamMember
Factory wrapper for google_dataproc_job_iam_member.
GoogleDataprocJobIamPolicy
Factory wrapper for google_dataproc_job_iam_policy.
GoogleDataprocMetastoreDatabaseIamBinding
Factory wrapper for google_dataproc_metastore_database_iam_binding.
GoogleDataprocMetastoreDatabaseIamMember
Factory wrapper for google_dataproc_metastore_database_iam_member.
GoogleDataprocMetastoreDatabaseIamPolicy
Factory wrapper for google_dataproc_metastore_database_iam_policy.
GoogleDataprocMetastoreFederation
Factory wrapper for google_dataproc_metastore_federation.
GoogleDataprocMetastoreFederationIamBinding
Factory wrapper for google_dataproc_metastore_federation_iam_binding.
GoogleDataprocMetastoreFederationIamMember
Factory wrapper for google_dataproc_metastore_federation_iam_member.
GoogleDataprocMetastoreFederationIamPolicy
Factory wrapper for google_dataproc_metastore_federation_iam_policy.
GoogleDataprocMetastoreService
Factory wrapper for google_dataproc_metastore_service.
GoogleDataprocMetastoreServiceIamBinding
Factory wrapper for google_dataproc_metastore_service_iam_binding.
GoogleDataprocMetastoreServiceIamMember
Factory wrapper for google_dataproc_metastore_service_iam_member.
GoogleDataprocMetastoreServiceIamPolicy
Factory wrapper for google_dataproc_metastore_service_iam_policy.
GoogleDataprocMetastoreTableIamBinding
Factory wrapper for google_dataproc_metastore_table_iam_binding.
GoogleDataprocMetastoreTableIamMember
Factory wrapper for google_dataproc_metastore_table_iam_member.
GoogleDataprocMetastoreTableIamPolicy
Factory wrapper for google_dataproc_metastore_table_iam_policy.
GoogleDataprocSessionTemplate
Factory wrapper for google_dataproc_session_template.
GoogleDataprocWorkflowTemplate
Factory wrapper for google_dataproc_workflow_template.
IgnoreAllChanges
IgnoreChanges.all.
IgnoreAttributes
IgnoreChanges.of.
IgnoreChanges
What ignore_changes covers: every attribute, or the listed ones.
InvalidDartDefineOutput
An output of Stack.addDartDefineOutput that cannot carry what it names: an output that is not registered, is sensitive or has no environment value, two outputs read from one variable, or no output at all.
InvalidLifecycle
A lifecycle block Terraform rejects: a data source (or one of its attributes) in replaceTriggeredBy, all inside IgnoreChanges.of, or a condition with an empty error message.
InvalidMoveTarget
A moved block whose to names no resource of the Stack.
InvalidTimeout
A negative timeouts duration.
LifecycleCondition
A precondition or postcondition block: Terraform fails the plan (LifecycleCondition.pre) or the apply (LifecycleCondition.post) with errorMessage when condition is false.
LifecycleOptions
lifecycle { ... } block on a resource.
LocalBackend
terraform { backend "local" { ... } } configuration.
MissingProvider
A block needs a provider configuration the Stack does not register: the provider its type implies (google for google_pubsub_topic), the one its provider meta-argument names, or one a module call passes on.
ModuleCall
A module "<localName>" { ... } call as a Dart value.
NoProviders
The Stack registers no provider, but declares resources or data sources.
ProviderConflict
Two provider registrations Terraform rejects together: two defaults of one name, a repeated alias, an alias that is not an identifier, or configurations of one name with different source / version constraints.
RefConstant<T>
The AppConstant.ref choice.
ReplaceTrigger
What lifecycle.replaceTriggeredBy lists: a resource of the Stack or an attribute getter of one. Resource and TfRef implement it; synth reports a data source or a data-source attribute as an InvalidLifecycle.
Resource
Base of every user-instantiable Terraform resource.
ResourceRef
Public for sealed pattern matching, but constructor is private — only TfRef.resource() may construct instances.
S3Backend
terraform { backend "s3" { ... } } configuration.
Sensitive<T>
What an argument Terraform marks sensitive takes: a variable, an expression or an attribute getter — a value Terraform resolves, never a Dart literal that would be written into main.tf.json.
SensitiveLiteral
A sensitive field is set to a literal, which would write the secret in plain text into main.tf.json.
Stack
User-extended IaC composition root.
StackBackend
Lightweight backend hook. Core ships GcsBackend, S3Backend, and LocalBackend; anything else implements this interface in the caller. The Stack only stores the value and exposes a discriminator for synth's terraform { backend ... } emitter.
StackProvider
Coordination interface between Stack (in this package) and concrete providers (e.g. GoogleProvider in terradart_google). Concrete providers implement every getter using their baked-in constants from Stage 2 codegen.
SynthIssue
One reason a Stack cannot be synthesized.
SynthResult
Bundle returned by StackSynth.synth.
TfAddressed
Anything that exposes a Terraform address, e.g. google_pubsub_topic.orders.
TfArg<T>
A Terraform argument: a Dart-side literal, a reference to another block's attribute (TfRef), a variable or a raw expression.
TfArgExpression<T>
A raw Terraform expression — the tf.json template string, verbatim.
TfArgLiteral<T>
TfArgVariable<T>
TfCollectionType
list(...), set(...) or map(...).
TfMoved
One moved { from = ... to = ... } block: the state object at from now belongs to the resource at to, so a rename does not become a destroy-and-create.
TfObjectType
object({ ... }).
TfOptionalType
optional(<type>[, <default>]).
TfOutput<T>
An output "<name>" { value = ... } block, registered with Stack.addOutput.
TfPrimitiveType
string, number, bool or any.
TfRef<T>
A Terraform-side reference: an attribute of a resource (AttributeRef) or a data source (DataRef), or a whole resource (ResourceRef).
TfTimeouts
timeouts { ... } on a resource or data source: how long Terraform waits for each operation before giving up.
TfTupleType
tuple([...]).
TfType
A Terraform type constraint: string, list(number), object({ name = string }).
TfVariable
One variable "<name>" { ... } declaration.
UndeclaredVariable
A TfArg.variable or var.<name> in an expression names a variable the Stack does not declare.
UnregisteredReference
A block references another block that was never registered on the Stack: built, but not passed to add(...) / addModule(...).
UnresolvableConstant
An AppConstant.ref whose value is not known at synth: the attribute is not set to a literal, is sensitive, does not match the constant's type, or belongs to a block that is not registered.
ValueConstant<T>
The AppConstant.value choice.

Enums

ResourceKind
Whether a Stack entry is a resource block or a data block in Terraform JSON.

Extension Types

DataprocBatchScenarios
scenarios — derived from the provider schema description.
DataprocBatchUserWorkloadAuthenticationType
user_workload_authentication_type — derived from the provider schema description.
DataprocMetastoreFederationBackendType
Backend metastore type for federation backend_metastores.
DataprocMetastoreFederationDeletionPolicy
Terraform deletion_policy for Dataproc Metastore federations.
DataprocMetastoreServiceDatabaseType
Database engine for google_dataproc_metastore_service.database_type.
DataprocMetastoreServiceDayOfWeek
day_of_week — derived from the provider schema description.
DataprocMetastoreServiceDeletionPolicy
Terraform deletion_policy for Dataproc Metastore services.
DataprocMetastoreServiceEndpointProtocol
Endpoint protocol for hive_metastore_config.endpoint_protocol.
DataprocMetastoreServiceInstanceSize
instance_size — derived from the provider schema description.
DataprocMetastoreServiceLogFormat
log_format — derived from the provider schema description.
DataprocMetastoreServiceReleaseChannel
Release channel for google_dataproc_metastore_service.release_channel.
DataprocMetastoreServiceTier
Service tier for google_dataproc_metastore_service.tier.
DataprocSessionTemplateKernel
kernel — derived from the provider schema description.
DataprocSessionTemplateUserWorkloadAuthenticationType
user_workload_authentication_type — derived from the provider schema description.
DataprocWorkflowTemplateConsumeReservationType
consume_reservation_type — derived from the provider schema description.
DataprocWorkflowTemplatePreemptibility
preemptibility — derived from the provider schema description.
DataprocWorkflowTemplatePrivateIpv6GoogleAccess
private_ipv6_google_access — derived from the provider schema description.
OutputEnvironment
The environment Stack.outputEnvironment returns: each variable and its value, in registration order.
RefTo
A reference to a resource of type R, for an argument that names another resource (network, vpc_id, role_arn, ...).

Extensions

RefToList on TfArg<List<RefTo<R>>>
A list-valued reference argument (security_group_ids, subnet_ids): a literal list of RefTos, or one value that is the whole list (TfArg.variable('subnet_ids'), TfArg.expression(...)).
TerraformDurationExt on Duration
Converts a Dart Duration into a Terraform duration string ("604800s").

Constants

terradartManifestVariable → const String
The environment variable the terradart command sets to the file runStack and runEnvironments describe what they wrote in.

Functions

runEnvironments<E extends Enum>(List<String> args, List<E> environments, Stack build(E env), {String dir(E env)?, String? workspace(E env)?, List<String> backendConfig(E env)?, E? defaultEnv}) → Future<void>
The entry point of a project with one Stack per environment. The environments are the members of an enum of the project's own — any names, each carrying its values — so the Stack takes a typed env and derives everything per environment from it, its backend included:
runStack(List<String> args, Stack build(), {String out = 'tf-out'}) → Future<void>
The entry point of a project with one Stack: writes it to out.

Exceptions / Errors

DuplicateModuleError
A ModuleCall registered twice under one name.
DuplicateResourceError
Thrown by Stack.add when an entry with the same (kind, terraformType, localName) triple is registered twice.
SynthException
Thrown by Stack.synth() and Stack.writeTo() when the Stack has one or more SynthIssues. Nothing is written.