Interface VpcConfigResponse.Builder

  • Method Details

    • subnetIds

      The subnets associated with your cluster.

      Parameters:
      subnetIds - The subnets associated with your cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subnetIds

      VpcConfigResponse.Builder subnetIds(String... subnetIds)

      The subnets associated with your cluster.

      Parameters:
      subnetIds - The subnets associated with your cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroupIds

      VpcConfigResponse.Builder securityGroupIds(Collection<String> securityGroupIds)

      The security groups associated with the cross-account elastic network interfaces that are used to allow communication between your nodes and the Kubernetes control plane.

      Parameters:
      securityGroupIds - The security groups associated with the cross-account elastic network interfaces that are used to allow communication between your nodes and the Kubernetes control plane.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroupIds

      VpcConfigResponse.Builder securityGroupIds(String... securityGroupIds)

      The security groups associated with the cross-account elastic network interfaces that are used to allow communication between your nodes and the Kubernetes control plane.

      Parameters:
      securityGroupIds - The security groups associated with the cross-account elastic network interfaces that are used to allow communication between your nodes and the Kubernetes control plane.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clusterSecurityGroupId

      VpcConfigResponse.Builder clusterSecurityGroupId(String clusterSecurityGroupId)

      The cluster security group that was created by Amazon EKS for the cluster. Managed node groups use this security group for control-plane-to-data-plane communication.

      Parameters:
      clusterSecurityGroupId - The cluster security group that was created by Amazon EKS for the cluster. Managed node groups use this security group for control-plane-to-data-plane communication.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcId

      The VPC associated with your cluster.

      Parameters:
      vpcId - The VPC associated with your cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpointPublicAccess

      VpcConfigResponse.Builder endpointPublicAccess(Boolean endpointPublicAccess)

      Whether the public API server endpoint is enabled.

      Parameters:
      endpointPublicAccess - Whether the public API server endpoint is enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpointPrivateAccess

      VpcConfigResponse.Builder endpointPrivateAccess(Boolean endpointPrivateAccess)

      This parameter indicates whether the Amazon EKS private API server endpoint is enabled. If the Amazon EKS private API server endpoint is enabled, Kubernetes API requests that originate from within your cluster's VPC use the private VPC endpoint instead of traversing the internet. If this value is disabled and you have nodes or Fargate pods in the cluster, then ensure that publicAccessCidrs includes the necessary CIDR blocks for communication with the nodes or Fargate pods. For more information, see Cluster API server endpoint in the Amazon EKS User Guide .

      Parameters:
      endpointPrivateAccess - This parameter indicates whether the Amazon EKS private API server endpoint is enabled. If the Amazon EKS private API server endpoint is enabled, Kubernetes API requests that originate from within your cluster's VPC use the private VPC endpoint instead of traversing the internet. If this value is disabled and you have nodes or Fargate pods in the cluster, then ensure that publicAccessCidrs includes the necessary CIDR blocks for communication with the nodes or Fargate pods. For more information, see Cluster API server endpoint in the Amazon EKS User Guide .
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • publicAccessCidrs

      VpcConfigResponse.Builder publicAccessCidrs(Collection<String> publicAccessCidrs)

      The CIDR blocks that are allowed access to your cluster's public Kubernetes API server endpoint. Communication to the endpoint from addresses outside of the CIDR blocks that you specify is denied. The default value is 0.0.0.0/0 and additionally ::/0 for dual-stack `IPv6` clusters. If you've disabled private endpoint access, make sure that you specify the necessary CIDR blocks for every node and Fargate Pod in the cluster. For more information, see Cluster API server endpoint in the Amazon EKS User Guide .

      Note that the public endpoints are dual-stack for only IPv6 clusters that are made after October 2024. You can't add IPv6 CIDR blocks to IPv4 clusters or IPv6 clusters that were made before October 2024.

      Parameters:
      publicAccessCidrs - The CIDR blocks that are allowed access to your cluster's public Kubernetes API server endpoint. Communication to the endpoint from addresses outside of the CIDR blocks that you specify is denied. The default value is 0.0.0.0/0 and additionally ::/0 for dual-stack `IPv6` clusters. If you've disabled private endpoint access, make sure that you specify the necessary CIDR blocks for every node and Fargate Pod in the cluster. For more information, see Cluster API server endpoint in the Amazon EKS User Guide .

      Note that the public endpoints are dual-stack for only IPv6 clusters that are made after October 2024. You can't add IPv6 CIDR blocks to IPv4 clusters or IPv6 clusters that were made before October 2024.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • publicAccessCidrs

      VpcConfigResponse.Builder publicAccessCidrs(String... publicAccessCidrs)

      The CIDR blocks that are allowed access to your cluster's public Kubernetes API server endpoint. Communication to the endpoint from addresses outside of the CIDR blocks that you specify is denied. The default value is 0.0.0.0/0 and additionally ::/0 for dual-stack `IPv6` clusters. If you've disabled private endpoint access, make sure that you specify the necessary CIDR blocks for every node and Fargate Pod in the cluster. For more information, see Cluster API server endpoint in the Amazon EKS User Guide .

      Note that the public endpoints are dual-stack for only IPv6 clusters that are made after October 2024. You can't add IPv6 CIDR blocks to IPv4 clusters or IPv6 clusters that were made before October 2024.

      Parameters:
      publicAccessCidrs - The CIDR blocks that are allowed access to your cluster's public Kubernetes API server endpoint. Communication to the endpoint from addresses outside of the CIDR blocks that you specify is denied. The default value is 0.0.0.0/0 and additionally ::/0 for dual-stack `IPv6` clusters. If you've disabled private endpoint access, make sure that you specify the necessary CIDR blocks for every node and Fargate Pod in the cluster. For more information, see Cluster API server endpoint in the Amazon EKS User Guide .

      Note that the public endpoints are dual-stack for only IPv6 clusters that are made after October 2024. You can't add IPv6 CIDR blocks to IPv4 clusters or IPv6 clusters that were made before October 2024.

      Returns:
      Returns a reference to this object so that method calls can be chained together.