Class ContainerClusterConfig.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

      • getName

        public final String getName()
        Description copied from interface: ContainerClusterConfig
        The name of the cluster, unique within the project and location.

        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 ContainerClusterConfig
      • getAllowNetAdmin

        public final Object getAllowNetAdmin()
        Description copied from interface: ContainerClusterConfig
        Enable NET_ADMIN for this cluster.

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

        Specified by:
        getAllowNetAdmin in interface ContainerClusterConfig
      • getClusterIpv4Cidr

        public final String getClusterIpv4Cidr()
        Description copied from interface: ContainerClusterConfig
        The IP address range of the Kubernetes pods in this cluster in CIDR notation (e.g. 10.96.0.0/14). Leave blank to have one automatically chosen or specify a /14 block in 10.0.0.0/8. This field will only work for routes-based clusters, where ip_allocation_policy is not defined.

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

        Specified by:
        getClusterIpv4Cidr in interface ContainerClusterConfig
      • getDatapathProvider

        public final String getDatapathProvider()
        Description copied from interface: ContainerClusterConfig
        The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation.

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

        Specified by:
        getDatapathProvider in interface ContainerClusterConfig
      • getDefaultMaxPodsPerNode

        public final Number getDefaultMaxPodsPerNode()
        Description copied from interface: ContainerClusterConfig
        The default maximum number of pods per node in this cluster.

        This doesn't work on "routes-based" clusters, clusters that don't have IP Aliasing enabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#default_max_pods_per_node ContainerCluster#default_max_pods_per_node}

        Specified by:
        getDefaultMaxPodsPerNode in interface ContainerClusterConfig
      • getDeletionProtection

        public final Object getDeletionProtection()
        Description copied from interface: ContainerClusterConfig
        When the field is set to true or unset in Terraform state, a terraform apply or terraform destroy that would delete the cluster will fail.

        When the field is set to false, deleting the cluster is allowed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#deletion_protection ContainerCluster#deletion_protection}

        Specified by:
        getDeletionProtection in interface ContainerClusterConfig
      • getDescription

        public final String getDescription()
        Description copied from interface: ContainerClusterConfig
        Description of the cluster.

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

        Specified by:
        getDescription in interface ContainerClusterConfig
      • getEnableAutopilot

        public final Object getEnableAutopilot()
        Description copied from interface: ContainerClusterConfig
        Enable Autopilot for this cluster.

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

        Specified by:
        getEnableAutopilot in interface ContainerClusterConfig
      • getEnableCiliumClusterwideNetworkPolicy

        public final Object getEnableCiliumClusterwideNetworkPolicy()
        Description copied from interface: ContainerClusterConfig
        Whether Cilium cluster-wide network policy is enabled on this cluster.

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

        Specified by:
        getEnableCiliumClusterwideNetworkPolicy in interface ContainerClusterConfig
      • getEnableIntranodeVisibility

        public final Object getEnableIntranodeVisibility()
        Description copied from interface: ContainerClusterConfig
        Whether Intra-node visibility is enabled for this cluster.

        This makes same node pod to pod traffic visible for VPC network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#enable_intranode_visibility ContainerCluster#enable_intranode_visibility}

        Specified by:
        getEnableIntranodeVisibility in interface ContainerClusterConfig
      • getEnableKubernetesAlpha

        public final Object getEnableKubernetesAlpha()
        Description copied from interface: ContainerClusterConfig
        Whether to enable Kubernetes Alpha features for this cluster.

        Note that when this option is enabled, the cluster cannot be upgraded and will be automatically deleted after 30 days. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#enable_kubernetes_alpha ContainerCluster#enable_kubernetes_alpha}

        Specified by:
        getEnableKubernetesAlpha in interface ContainerClusterConfig
      • getEnableL4IlbSubsetting

        public final Object getEnableL4IlbSubsetting()
        Description copied from interface: ContainerClusterConfig
        Whether L4ILB Subsetting is enabled for this cluster.

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

        Specified by:
        getEnableL4IlbSubsetting in interface ContainerClusterConfig
      • getEnableLegacyAbac

        public final Object getEnableLegacyAbac()
        Description copied from interface: ContainerClusterConfig
        Whether the ABAC authorizer is enabled for this cluster.

        When enabled, identities in the system, including service accounts, nodes, and controllers, will have statically granted permissions beyond those provided by the RBAC configuration or IAM. Defaults to false. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#enable_legacy_abac ContainerCluster#enable_legacy_abac}

        Specified by:
        getEnableLegacyAbac in interface ContainerClusterConfig
      • getEnableMultiNetworking

        public final Object getEnableMultiNetworking()
        Description copied from interface: ContainerClusterConfig
        Whether multi-networking is enabled for this cluster.

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

        Specified by:
        getEnableMultiNetworking in interface ContainerClusterConfig
      • getEnableShieldedNodes

        public final Object getEnableShieldedNodes()
        Description copied from interface: ContainerClusterConfig
        Enable Shielded Nodes features on all nodes in this cluster. Defaults to true.

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

        Specified by:
        getEnableShieldedNodes in interface ContainerClusterConfig
      • getEnableTpu

        public final Object getEnableTpu()
        Description copied from interface: ContainerClusterConfig
        Whether to enable Cloud TPU resources in this cluster.

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

        Specified by:
        getEnableTpu in interface ContainerClusterConfig
      • getId

        public final String getId()
        Description copied from interface: ContainerClusterConfig
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#id ContainerCluster#id}.

        Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.

        Specified by:
        getId in interface ContainerClusterConfig
      • getInitialNodeCount

        public final Number getInitialNodeCount()
        Description copied from interface: ContainerClusterConfig
        The number of nodes to create in this cluster's default node pool.

        In regional or multi-zonal clusters, this is the number of nodes per zone. Must be set if node_pool is not set. If you're using google_container_node_pool objects with no default node pool, you'll need to set this to a value of at least 1, alongside setting remove_default_node_pool to true. 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 ContainerClusterConfig
      • getLocation

        public final String getLocation()
        Description copied from interface: ContainerClusterConfig
        The location (region or zone) in which the cluster master will be created, as well as the default node location.

        If you specify a zone (such as us-central1-a), the cluster will be a zonal cluster with a single cluster master. If you specify a region (such as us-west1), the cluster will be a regional cluster with multiple masters spread across zones in the region, and with default node locations in those zones as well. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#location ContainerCluster#location}

        Specified by:
        getLocation in interface ContainerClusterConfig
      • getLoggingService

        public final String getLoggingService()
        Description copied from interface: ContainerClusterConfig
        The logging service that the cluster should write logs to.

        Available options include logging.googleapis.com(Legacy Stackdriver), logging.googleapis.com/kubernetes(Stackdriver Kubernetes Engine Logging), and none. Defaults to logging.googleapis.com/kubernetes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#logging_service ContainerCluster#logging_service}

        Specified by:
        getLoggingService in interface ContainerClusterConfig
      • getMinMasterVersion

        public final String getMinMasterVersion()
        Description copied from interface: ContainerClusterConfig
        The minimum version of the master.

        GKE will auto-update the master to new versions, so this does not guarantee the current master version--use the read-only master_version field to obtain that. If unset, the cluster's version will be set by GKE to the version of the most recent official release (which is not necessarily the latest version). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#min_master_version ContainerCluster#min_master_version}

        Specified by:
        getMinMasterVersion in interface ContainerClusterConfig
      • getMonitoringService

        public final String getMonitoringService()
        Description copied from interface: ContainerClusterConfig
        The monitoring service that the cluster should write metrics to.

        Automatically send metrics from pods in the cluster to the Google Cloud Monitoring API. VM metrics will be collected by Google Compute Engine regardless of this setting Available options include monitoring.googleapis.com(Legacy Stackdriver), monitoring.googleapis.com/kubernetes(Stackdriver Kubernetes Engine Monitoring), and none. Defaults to monitoring.googleapis.com/kubernetes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#monitoring_service ContainerCluster#monitoring_service}

        Specified by:
        getMonitoringService in interface ContainerClusterConfig
      • getNetwork

        public final String getNetwork()
        Description copied from interface: ContainerClusterConfig
        The name or self_link of the Google Compute Engine network to which the cluster is connected.

        For Shared VPC, set this to the self link of the shared network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#network ContainerCluster#network}

        Specified by:
        getNetwork in interface ContainerClusterConfig
      • getNetworkingMode

        public final String getNetworkingMode()
        Description copied from interface: ContainerClusterConfig
        Determines whether alias IPs or routes will be used for pod IPs in the cluster.

        Defaults to VPC_NATIVE for new clusters. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#networking_mode ContainerCluster#networking_mode}

        Specified by:
        getNetworkingMode in interface ContainerClusterConfig
      • getNodeLocations

        public final List<String> getNodeLocations()
        Description copied from interface: ContainerClusterConfig
        The list of zones in which the cluster's nodes are 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 this is specified for a zonal cluster, omit the cluster's zone. 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 ContainerClusterConfig
      • getNodePool

        public final Object getNodePool()
        Description copied from interface: ContainerClusterConfig
        node_pool block.

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

        Specified by:
        getNodePool in interface ContainerClusterConfig
      • getNodeVersion

        public final String getNodeVersion()
        Description copied from interface: ContainerClusterConfig
        The Kubernetes version on the nodes.

        Must either be unset or set to the same value as min_master_version on create. Defaults to the default version set by GKE which is not necessarily the latest version. This only affects nodes in the default node pool. 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. To update nodes in other node pools, use the version attribute on the node pool. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#node_version ContainerCluster#node_version}

        Specified by:
        getNodeVersion in interface ContainerClusterConfig
      • getPrivateIpv6GoogleAccess

        public final String getPrivateIpv6GoogleAccess()
        Description copied from interface: ContainerClusterConfig
        The desired state of IPv6 connectivity to Google Services.

        By default, no private IPv6 access to or from Google Services (all access will be via IPv4). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#private_ipv6_google_access ContainerCluster#private_ipv6_google_access}

        Specified by:
        getPrivateIpv6GoogleAccess in interface ContainerClusterConfig
      • getProject

        public final String getProject()
        Description copied from interface: ContainerClusterConfig
        The ID of the project in which the resource belongs.

        If it is not provided, the provider project is used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#project ContainerCluster#project}

        Specified by:
        getProject in interface ContainerClusterConfig
      • getRemoveDefaultNodePool

        public final Object getRemoveDefaultNodePool()
        Description copied from interface: ContainerClusterConfig
        If true, deletes the default node pool upon cluster creation.

        If you're using google_container_node_pool resources with no default node pool, this should be set to true, alongside setting initial_node_count to at least 1. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#remove_default_node_pool ContainerCluster#remove_default_node_pool}

        Specified by:
        getRemoveDefaultNodePool in interface ContainerClusterConfig
      • getResourceLabels

        public final Map<String,​String> getResourceLabels()
        Description copied from interface: ContainerClusterConfig
        The GCE resource labels (a map of key/value pairs) to be applied to the cluster.

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

        Specified by:
        getResourceLabels in interface ContainerClusterConfig
      • getSubnetwork

        public final String getSubnetwork()
        Description copied from interface: ContainerClusterConfig
        The name or self_link of the Google Compute Engine subnetwork in which the cluster's instances are launched.

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

        Specified by:
        getSubnetwork in interface ContainerClusterConfig
      • getConnection

        public final Object getConnection()
        Specified by:
        getConnection in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getCount

        public final Object getCount()
        Specified by:
        getCount in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getDependsOn

        public final List<com.hashicorp.cdktf.ITerraformDependable> getDependsOn()
        Specified by:
        getDependsOn in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getForEach

        public final com.hashicorp.cdktf.ITerraformIterator getForEach()
        Specified by:
        getForEach in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getLifecycle

        public final com.hashicorp.cdktf.TerraformResourceLifecycle getLifecycle()
        Specified by:
        getLifecycle in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getProvider

        public final com.hashicorp.cdktf.TerraformProvider getProvider()
        Specified by:
        getProvider in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getProvisioners

        public final List<Object> getProvisioners()
        Specified by:
        getProvisioners in interface com.hashicorp.cdktf.TerraformMetaArguments
      • $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