EnvironmentConfigNodeConfigArgs

data class EnvironmentConfigNodeConfigArgs(val composerInternalIpv4CidrBlock: Output<String>? = null, val composerNetworkAttachment: Output<String>? = null, val diskSizeGb: Output<Int>? = null, val enableIpMasqAgent: Output<Boolean>? = null, val ipAllocationPolicy: Output<EnvironmentConfigNodeConfigIpAllocationPolicyArgs>? = null, val machineType: Output<String>? = null, val maxPodsPerNode: Output<Int>? = null, val network: Output<String>? = null, val oauthScopes: Output<List<String>>? = null, val serviceAccount: Output<String>? = null, val subnetwork: Output<String>? = null, val tags: Output<List<String>>? = null, val zone: Output<String>? = null) : ConvertibleToJava<EnvironmentConfigNodeConfigArgs>

Constructors

Link copied to clipboard
constructor(composerInternalIpv4CidrBlock: Output<String>? = null, composerNetworkAttachment: Output<String>? = null, diskSizeGb: Output<Int>? = null, enableIpMasqAgent: Output<Boolean>? = null, ipAllocationPolicy: Output<EnvironmentConfigNodeConfigIpAllocationPolicyArgs>? = null, machineType: Output<String>? = null, maxPodsPerNode: Output<Int>? = null, network: Output<String>? = null, oauthScopes: Output<List<String>>? = null, serviceAccount: Output<String>? = null, subnetwork: Output<String>? = null, tags: Output<List<String>>? = null, zone: Output<String>? = null)

Properties

Link copied to clipboard

IPv4 cidr range that will be used by Composer internal components.

Link copied to clipboard
val composerNetworkAttachment: Output<String>? = null

PSC (Private Service Connect) Network entry point. Customers can pre-create the Network Attachment and point Cloud Composer environment to use. It is possible to share network attachment among many environments, provided enough IP addresses are available.

Link copied to clipboard
val diskSizeGb: Output<Int>? = null

The disk size in GB used for node VMs. Minimum size is 20GB. If unspecified, defaults to 100GB. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1..-airflow-..*.

Link copied to clipboard
val enableIpMasqAgent: Output<Boolean>? = null

Deploys 'ip-masq-agent' daemon set in the GKE cluster and defines nonMasqueradeCIDRs equals to pod IP range so IP masquerading is used for all destination addresses, except between pods traffic. See: https://cloud.google.com/kubernetes-engine/docs/how-to/ip-masquerade-agent

Link copied to clipboard

Configuration for controlling how IPs are allocated in the GKE cluster. Cannot be updated.

Link copied to clipboard
val machineType: Output<String>? = null

The Compute Engine machine type used for cluster instances, specified as a name or relative resource name. For example: "projects/{project}/zones/{zone}/machineTypes/{machineType}". Must belong to the enclosing environment's project and region/zone. This field is supported for Cloud Composer environments in versions composer-1..-airflow-..*.

Link copied to clipboard
val maxPodsPerNode: Output<Int>? = null

The maximum pods per node in the GKE cluster allocated during environment creation. Lowering this value reduces IP address consumption by the Cloud Composer Kubernetes cluster. This value can only be set during environment creation, and only if the environment is VPC-Native. The range of possible values is 8-110, and the default is 32. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1..-airflow-..*.

Link copied to clipboard
val network: Output<String>? = null

The Compute Engine machine type used for cluster instances, specified as a name or relative resource name. For example: "projects/{project}/zones/{zone}/machineTypes/{machineType}". Must belong to the enclosing environment's project and region/zone. The network must belong to the environment's project. If unspecified, the "default" network ID in the environment's project is used. If a Custom Subnet Network is provided, subnetwork must also be provided.

Link copied to clipboard
val oauthScopes: Output<List<String>>? = null

The set of Google API scopes to be made available on all node VMs. Cannot be updated. If empty, defaults to "https://www.googleapis.com/auth/cloud-platform". This field is supported for Cloud Composer environments in versions composer-1..-airflow-..*.

Link copied to clipboard
val serviceAccount: Output<String>? = null

The Google Cloud Platform Service Account to be used by the node VMs. If a service account is not specified, the "default" Compute Engine service account is used. Cannot be updated. If given, note that the service account must have roles/composer.worker for any GCP resources created under the Cloud Composer Environment.

Link copied to clipboard
val subnetwork: Output<String>? = null

The Compute Engine subnetwork to be used for machine communications, specified as a self-link, relative resource name (e.g. "projects/{project}/regions/{region}/subnetworks/{subnetwork}"), or by name. If subnetwork is provided, network must also be provided and the subnetwork must belong to the enclosing environment's project and region.

Link copied to clipboard
val tags: Output<List<String>>? = null

The list of instance tags applied to all node VMs. Tags are used to identify valid sources or targets for network firewalls. Each tag within the list must comply with RFC1035. Cannot be updated.

Link copied to clipboard
val zone: Output<String>? = null

The Compute Engine zone in which to deploy the VMs running the Apache Airflow software, specified as the zone name or relative resource name (e.g. "projects/{project}/zones/{zone}"). Must belong to the enclosing environment's project and region. This field is supported for Cloud Composer environments in versions composer-1..-airflow-..*.

Functions

Link copied to clipboard
open override fun toJava(): EnvironmentConfigNodeConfigArgs