Class ContainerAwsClusterNetworking.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • podAddressCidrBlocks

        @Stability(Stable)
        public ContainerAwsClusterNetworking.Builder podAddressCidrBlocks​(List<String> podAddressCidrBlocks)
        Parameters:
        podAddressCidrBlocks - All pods in the cluster are assigned an RFC1918 IPv4 address from these ranges. This parameter is required. Only a single range is supported. This field cannot be changed after creation. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_cluster#pod_address_cidr_blocks ContainerAwsCluster#pod_address_cidr_blocks}
        Returns:
        this
      • serviceAddressCidrBlocks

        @Stability(Stable)
        public ContainerAwsClusterNetworking.Builder serviceAddressCidrBlocks​(List<String> serviceAddressCidrBlocks)
        Parameters:
        serviceAddressCidrBlocks - All services in the cluster are assigned an RFC1918 IPv4 address from these ranges. This parameter is required. Only a single range is supported. This field cannot be changed after creation. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_cluster#service_address_cidr_blocks ContainerAwsCluster#service_address_cidr_blocks}
        Returns:
        this
      • vpcId

        @Stability(Stable)
        public ContainerAwsClusterNetworking.Builder vpcId​(String vpcId)
        Parameters:
        vpcId - The VPC associated with the cluster. This parameter is required. All component clusters (i.e. control plane and node pools) run on a single VPC. This field cannot be changed after creation. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_cluster#vpc_id ContainerAwsCluster#vpc_id}
        Returns:
        this
      • perNodePoolSgRulesDisabled

        @Stability(Stable)
        public ContainerAwsClusterNetworking.Builder perNodePoolSgRulesDisabled​(Boolean perNodePoolSgRulesDisabled)
        Parameters:
        perNodePoolSgRulesDisabled - Disable the per node pool subnet security group rules on the control plane security group. When set to true, you must also provide one or more security groups that ensure node pools are able to send requests to the control plane on TCP/443 and TCP/8132. Failure to do so may result in unavailable node pools. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_cluster#per_node_pool_sg_rules_disabled ContainerAwsCluster#per_node_pool_sg_rules_disabled}
        Returns:
        this
      • perNodePoolSgRulesDisabled

        @Stability(Stable)
        public ContainerAwsClusterNetworking.Builder perNodePoolSgRulesDisabled​(com.hashicorp.cdktf.IResolvable perNodePoolSgRulesDisabled)
        Parameters:
        perNodePoolSgRulesDisabled - Disable the per node pool subnet security group rules on the control plane security group. When set to true, you must also provide one or more security groups that ensure node pools are able to send requests to the control plane on TCP/443 and TCP/8132. Failure to do so may result in unavailable node pools. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_cluster#per_node_pool_sg_rules_disabled ContainerAwsCluster#per_node_pool_sg_rules_disabled}
        Returns:
        this