Class ContainerClusterNodePool.Jsii$Proxy

    • Constructor Detail

      • Jsii$Proxy

        protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
        Constructor that initializes the object based on values retrieved from the JsiiObject.
        Parameters:
        objRef - Reference to the JSII managed object.
    • Method Detail

      • getInitialNodeCount

        public final Number getInitialNodeCount()
        Description copied from interface: ContainerClusterNodePool
        The initial number of nodes for the pool.

        In regional or multi-zonal clusters, this is the number of nodes per zone. Changing this will force recreation of the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#initial_node_count ContainerCluster#initial_node_count}

        Specified by:
        getInitialNodeCount in interface ContainerClusterNodePool
      • getMaxPodsPerNode

        public final Number getMaxPodsPerNode()
        Description copied from interface: ContainerClusterNodePool
        The maximum number of pods per node in this node pool.

        Note that this does not work on node pools which are "route-based" - that is, node pools belonging to clusters that do not have IP Aliasing enabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#max_pods_per_node ContainerCluster#max_pods_per_node}

        Specified by:
        getMaxPodsPerNode in interface ContainerClusterNodePool
      • getName

        public final String getName()
        Description copied from interface: ContainerClusterNodePool
        The name of the node pool. If left blank, Terraform will auto-generate a unique name.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#name ContainerCluster#name}

        Specified by:
        getName in interface ContainerClusterNodePool
      • getNamePrefix

        public final String getNamePrefix()
        Description copied from interface: ContainerClusterNodePool
        Creates a unique name for the node pool beginning with the specified prefix. Conflicts with name.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#name_prefix ContainerCluster#name_prefix}

        Specified by:
        getNamePrefix in interface ContainerClusterNodePool
      • getNodeCount

        public final Number getNodeCount()
        Description copied from interface: ContainerClusterNodePool
        The number of nodes per instance group.

        This field can be used to update the number of nodes per instance group but should not be used alongside autoscaling. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#node_count ContainerCluster#node_count}

        Specified by:
        getNodeCount in interface ContainerClusterNodePool
      • getNodeLocations

        public final List<String> getNodeLocations()
        Description copied from interface: ContainerClusterNodePool
        The list of zones in which the node pool's nodes should be located.

        Nodes must be in the region of their regional cluster or in the same region as their cluster's zone for zonal clusters. If unspecified, the cluster-level node_locations will be used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#node_locations ContainerCluster#node_locations}

        Specified by:
        getNodeLocations in interface ContainerClusterNodePool
      • getVersion

        public final String getVersion()
        Description copied from interface: ContainerClusterNodePool
        The Kubernetes version for the nodes in this pool.

        Note that if this field and auto_upgrade are both specified, they will fight each other for what the node version should be, so setting both is highly discouraged. While a fuzzy version can be specified, it's recommended that you specify explicit versions as Terraform will see spurious diffs when fuzzy versions are used. See the google_container_engine_versions data source's version_prefix field to approximate fuzzy versions in a Terraform-compatible way. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#version ContainerCluster#version}

        Specified by:
        getVersion in interface ContainerClusterNodePool
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object