Class ClusterVpcConfigArgs.Builder

  • Enclosing class:
    ClusterVpcConfigArgs

    public static final class ClusterVpcConfigArgs.Builder
    extends java.lang.Object
    • Method Detail

      • clusterSecurityGroupId

        public ClusterVpcConfigArgs.Builder clusterSecurityGroupId​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.String> clusterSecurityGroupId)
        Parameters:
        clusterSecurityGroupId - Cluster security group that is created by Amazon EKS for the cluster. Managed node groups use this security group for control-plane-to-data-plane communication.
        Returns:
        builder
      • clusterSecurityGroupId

        public ClusterVpcConfigArgs.Builder clusterSecurityGroupId​(java.lang.String clusterSecurityGroupId)
        Parameters:
        clusterSecurityGroupId - Cluster security group that is created by Amazon EKS for the cluster. Managed node groups use this security group for control-plane-to-data-plane communication.
        Returns:
        builder
      • controlPlaneEgressMode

        public ClusterVpcConfigArgs.Builder controlPlaneEgressMode​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.String> controlPlaneEgressMode)
        Parameters:
        controlPlaneEgressMode - Egress mode for the EKS control plane. Valid values are `AWS_MANAGED` and `CUSTOMER_ROUTED`. Defaults to `AWS_MANAGED`. Changing from `CUSTOMER_ROUTED` back to `AWS_MANAGED` forces a new resource.
        Returns:
        builder
      • controlPlaneEgressMode

        public ClusterVpcConfigArgs.Builder controlPlaneEgressMode​(java.lang.String controlPlaneEgressMode)
        Parameters:
        controlPlaneEgressMode - Egress mode for the EKS control plane. Valid values are `AWS_MANAGED` and `CUSTOMER_ROUTED`. Defaults to `AWS_MANAGED`. Changing from `CUSTOMER_ROUTED` back to `AWS_MANAGED` forces a new resource.
        Returns:
        builder
      • endpointPrivateAccess

        public ClusterVpcConfigArgs.Builder endpointPrivateAccess​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.Boolean> endpointPrivateAccess)
        Parameters:
        endpointPrivateAccess - Whether the Amazon EKS private API server endpoint is enabled. Default is `false`.
        Returns:
        builder
      • endpointPrivateAccess

        public ClusterVpcConfigArgs.Builder endpointPrivateAccess​(java.lang.Boolean endpointPrivateAccess)
        Parameters:
        endpointPrivateAccess - Whether the Amazon EKS private API server endpoint is enabled. Default is `false`.
        Returns:
        builder
      • endpointPublicAccess

        public ClusterVpcConfigArgs.Builder endpointPublicAccess​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.Boolean> endpointPublicAccess)
        Parameters:
        endpointPublicAccess - Whether the Amazon EKS public API server endpoint is enabled. Default is `true`.
        Returns:
        builder
      • endpointPublicAccess

        public ClusterVpcConfigArgs.Builder endpointPublicAccess​(java.lang.Boolean endpointPublicAccess)
        Parameters:
        endpointPublicAccess - Whether the Amazon EKS public API server endpoint is enabled. Default is `true`.
        Returns:
        builder
      • publicAccessCidrs

        public ClusterVpcConfigArgs.Builder publicAccessCidrs​(@Nullable
                                                              com.pulumi.core.Output<java.util.List<java.lang.String>> publicAccessCidrs)
        Parameters:
        publicAccessCidrs - List of CIDR blocks. Indicates which CIDR blocks can access the Amazon EKS public API server endpoint when enabled. EKS defaults this to a list with `0.0.0.0/0`. The provider will only perform drift detection of its value when present in a configuration.
        Returns:
        builder
      • publicAccessCidrs

        public ClusterVpcConfigArgs.Builder publicAccessCidrs​(java.util.List<java.lang.String> publicAccessCidrs)
        Parameters:
        publicAccessCidrs - List of CIDR blocks. Indicates which CIDR blocks can access the Amazon EKS public API server endpoint when enabled. EKS defaults this to a list with `0.0.0.0/0`. The provider will only perform drift detection of its value when present in a configuration.
        Returns:
        builder
      • publicAccessCidrs

        public ClusterVpcConfigArgs.Builder publicAccessCidrs​(java.lang.String... publicAccessCidrs)
        Parameters:
        publicAccessCidrs - List of CIDR blocks. Indicates which CIDR blocks can access the Amazon EKS public API server endpoint when enabled. EKS defaults this to a list with `0.0.0.0/0`. The provider will only perform drift detection of its value when present in a configuration.
        Returns:
        builder
      • securityGroupIds

        public ClusterVpcConfigArgs.Builder securityGroupIds​(@Nullable
                                                             com.pulumi.core.Output<java.util.List<java.lang.String>> securityGroupIds)
        Parameters:
        securityGroupIds - List of security group IDs for the cross-account elastic network interfaces that Amazon EKS creates to use to allow communication between your worker nodes and the Kubernetes control plane.
        Returns:
        builder
      • securityGroupIds

        public ClusterVpcConfigArgs.Builder securityGroupIds​(java.util.List<java.lang.String> securityGroupIds)
        Parameters:
        securityGroupIds - List of security group IDs for the cross-account elastic network interfaces that Amazon EKS creates to use to allow communication between your worker nodes and the Kubernetes control plane.
        Returns:
        builder
      • securityGroupIds

        public ClusterVpcConfigArgs.Builder securityGroupIds​(java.lang.String... securityGroupIds)
        Parameters:
        securityGroupIds - List of security group IDs for the cross-account elastic network interfaces that Amazon EKS creates to use to allow communication between your worker nodes and the Kubernetes control plane.
        Returns:
        builder
      • subnetIds

        public ClusterVpcConfigArgs.Builder subnetIds​(com.pulumi.core.Output<java.util.List<java.lang.String>> subnetIds)
        Parameters:
        subnetIds - List of subnet IDs. Must be in at least two different availability zones. Amazon EKS creates cross-account elastic network interfaces in these subnets to allow communication between your worker nodes and the Kubernetes control plane.
        Returns:
        builder
      • subnetIds

        public ClusterVpcConfigArgs.Builder subnetIds​(java.util.List<java.lang.String> subnetIds)
        Parameters:
        subnetIds - List of subnet IDs. Must be in at least two different availability zones. Amazon EKS creates cross-account elastic network interfaces in these subnets to allow communication between your worker nodes and the Kubernetes control plane.
        Returns:
        builder
      • subnetIds

        public ClusterVpcConfigArgs.Builder subnetIds​(java.lang.String... subnetIds)
        Parameters:
        subnetIds - List of subnet IDs. Must be in at least two different availability zones. Amazon EKS creates cross-account elastic network interfaces in these subnets to allow communication between your worker nodes and the Kubernetes control plane.
        Returns:
        builder
      • vpcId

        public ClusterVpcConfigArgs.Builder vpcId​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> vpcId)
        Parameters:
        vpcId - ID of the VPC associated with your cluster.
        Returns:
        builder
      • vpcId

        public ClusterVpcConfigArgs.Builder vpcId​(java.lang.String vpcId)
        Parameters:
        vpcId - ID of the VPC associated with your cluster.
        Returns:
        builder